Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
19 changes: 18 additions & 1 deletion settings/remarks/microsoft.alertsmanagement/remarks.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,22 @@
"Path": "samples/smartdetectoralertrules/main.tf",
"Description": "A basic example of deploying Monitor Smart Detector Alert Rule."
}
],
"BicepSamples": [
{
"ResourceType": "Microsoft.AlertsManagement/actionRules",
"Path": "samples/actionrules/main.bicep",
"Description": "A basic example of deploying Alert Processing Rule which apply action group."
},
{
"ResourceType": "Microsoft.AlertsManagement/prometheusRuleGroups",
"Path": "samples/prometheusrulegroups/main.bicep",
"Description": "A basic example of deploying Alert Management Prometheus Rule Group."
},
{
"ResourceType": "Microsoft.AlertsManagement/smartDetectorAlertRules",
"Path": "samples/smartdetectoralertrules/main.bicep",
"Description": "A basic example of deploying Monitor Smart Detector Alert Rule."
}
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
param resourceName string = 'acctest0001'

resource actionRule 'Microsoft.AlertsManagement/actionRules@2021-08-08' = {
name: resourceName
location: 'global'
properties: {
actions: [
{
actionType: 'RemoveAllActionGroups'
}
]
description: ''
enabled: true
scopes: [
resourceGroup().id
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
param resourceName string = 'acctest0001'
param location string = 'westeurope'

resource account 'Microsoft.Monitor/accounts@2023-04-03' = {
name: resourceName
location: location
properties: {
publicNetworkAccess: 'Enabled'
}
}

resource prometheusRuleGroup 'Microsoft.AlertsManagement/prometheusRuleGroups@2023-03-01' = {
name: resourceName
location: location
properties: {
clusterName: ''
description: ''
enabled: false
rules: [
{
enabled: false
expression: '''histogram_quantile(0.99, sum(rate(jobs_duration_seconds_bucket{service="billing-processing"}[5m])) by (job_type))
'''
labels: {
team: 'prod'
}
record: 'job_type:billing_jobs_duration_seconds:99p5m'
}
]
scopes: [
account.id
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
param resourceName string = 'acctest0001'
param location string = 'westeurope'

resource actionGroup 'Microsoft.Insights/actionGroups@2023-01-01' = {
name: resourceName
location: 'global'
properties: {
armRoleReceivers: []
automationRunbookReceivers: []
azureAppPushReceivers: []
azureFunctionReceivers: []
emailReceivers: []
enabled: true
eventHubReceivers: []
groupShortName: 'acctestag'
itsmReceivers: []
logicAppReceivers: []
smsReceivers: []
voiceReceivers: []
webhookReceivers: []
}
}

resource component 'Microsoft.Insights/components@2020-02-02' = {
name: resourceName
location: location
kind: 'web'
properties: {
Application_Type: 'web'
DisableIpMasking: false
DisableLocalAuth: false
ForceCustomerStorageForProfiler: false
RetentionInDays: 90
SamplingPercentage: 100
publicNetworkAccessForIngestion: 'Enabled'
publicNetworkAccessForQuery: 'Enabled'
}
}

resource smartDetectorAlertRule 'microsoft.alertsManagement/smartDetectorAlertRules@2019-06-01' = {
name: resourceName
location: 'global'
properties: {
actionGroups: {
customEmailSubject: ''
customWebhookPayload: ''
groupIds: [
actionGroup.id
]
}
description: ''
detector: {
id: 'FailureAnomaliesDetector'
}
frequency: 'PT1M'
scope: [
component.id
]
severity: 'Sev0'
state: 'Enabled'
}
}
9 changes: 8 additions & 1 deletion settings/remarks/microsoft.analysisservices/remarks.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,12 @@
"Path": "samples/servers/main.tf",
"Description": "A basic example of deploying Analysis Services Server."
}
],
"BicepSamples": [
{
"ResourceType": "Microsoft.AnalysisServices/servers",
"Path": "samples/servers/main.bicep",
"Description": "A basic example of deploying Analysis Services Server."
}
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
param resourceName string = 'acctest0001'
param location string = 'westeurope'

resource server 'Microsoft.AnalysisServices/servers@2017-08-01' = {
name: resourceName
location: location
properties: {
asAdministrators: {
members: []
}
ipV4FirewallSettings: {
enablePowerBIService: false
firewallRules: []
}
}
sku: {
name: 'B1'
}
}
159 changes: 158 additions & 1 deletion settings/remarks/microsoft.apimanagement/remarks.json
Original file line number Diff line number Diff line change
Expand Up @@ -166,5 +166,162 @@
"Path": "samples/service/users/main.tf",
"Description": "A basic example of deploying API Management User."
}
],
"BicepSamples": [
{
"ResourceType": "Microsoft.ApiManagement/service",
"Path": "samples/service/main.bicep",
"Description": "A basic example of deploying API Management Service."
},
{
"ResourceType": "Microsoft.ApiManagement/service/apiVersionSets",
"Path": "samples/service/apiversionsets/main.bicep",
"Description": "A basic example of deploying API Version Set within an API Management Service."
},
{
"ResourceType": "Microsoft.ApiManagement/service/apis",
"Path": "samples/service/apis/main.bicep",
"Description": "A basic example of deploying API within an API Management Service."
},
{
"ResourceType": "Microsoft.ApiManagement/service/apis/diagnostics",
"Path": "samples/service/apis/diagnostics/main.bicep",
"Description": "A basic example of deploying API Management Service API Diagnostics Logs."
},
{
"ResourceType": "Microsoft.ApiManagement/service/apis/operations",
"Path": "samples/service/apis/operations/main.bicep",
"Description": "A basic example of deploying API Operation within an API Management Service."
},
{
"ResourceType": "Microsoft.ApiManagement/service/apis/policies",
"Path": "samples/service/apis/policies/main.bicep",
"Description": "A basic example of deploying API Management Service APIs Policies."
},
{
"ResourceType": "Microsoft.ApiManagement/service/apis/schemas",
"Path": "samples/service/apis/schemas/main.bicep",
"Description": "A basic example of deploying API Schema within an API Management Service."
},
{
"ResourceType": "Microsoft.ApiManagement/service/apis/tagDescriptions",
"Path": "samples/service/apis/tagdescriptions/main.bicep",
"Description": "A basic example of deploying API Tag Description within an API Management Service."
},
{
"ResourceType": "Microsoft.ApiManagement/service/apis/tags",
"Path": "samples/service/apis/tags/main.bicep",
"Description": "A basic example of deploying API Management API Tag."
},
{
"ResourceType": "Microsoft.ApiManagement/service/authorizationServers",
"Path": "samples/service/authorizationservers/main.bicep",
"Description": "A basic example of deploying Authorization Server within an API Management Service."
},
{
"ResourceType": "Microsoft.ApiManagement/service/backends",
"Path": "samples/service/backends/main.bicep",
"Description": "A basic example of deploying backend within an API Management Service."
},
{
"ResourceType": "Microsoft.ApiManagement/service/caches",
"Path": "samples/service/caches/main.bicep",
"Description": "A basic example of deploying API Management Redis Cache."
},
{
"ResourceType": "Microsoft.ApiManagement/service/certificates",
"Path": "samples/service/certificates/main.bicep",
"Description": "A basic example of deploying Certificate within an API Management Service."
},
{
"ResourceType": "Microsoft.ApiManagement/service/diagnostics",
"Path": "samples/service/diagnostics/main.bicep",
"Description": "A basic example of deploying API Management Service Diagnostic."
},
{
"ResourceType": "Microsoft.ApiManagement/service/gateways",
"Path": "samples/service/gateways/main.bicep",
"Description": "A basic example of deploying API Management Gateway."
},
{
"ResourceType": "Microsoft.ApiManagement/service/gateways/certificateAuthorities",
"Path": "samples/service/gateways/certificateauthorities/main.bicep",
"Description": "A basic example of deploying API Management Gateway Certificate Authority."
},
{
"ResourceType": "Microsoft.ApiManagement/service/gateways/hostnameConfigurations",
"Path": "samples/service/gateways/hostnameconfigurations/main.bicep",
"Description": "A basic example of deploying API Management Gateway Host Name Configuration."
},
{
"ResourceType": "Microsoft.ApiManagement/service/groups",
"Path": "samples/service/groups/main.bicep",
"Description": "A basic example of deploying API Management Group."
},
{
"ResourceType": "Microsoft.ApiManagement/service/identityProviders",
"Path": "samples/service/identityproviders/main.bicep",
"Description": "A basic example of deploying API Management Identity Provider."
},
{
"ResourceType": "Microsoft.ApiManagement/service/loggers",
"Path": "samples/service/loggers/main.bicep",
"Description": "A basic example of deploying Logger within an API Management Service."
},
{
"ResourceType": "Microsoft.ApiManagement/service/namedValues",
"Path": "samples/service/namedvalues/main.bicep",
"Description": "A basic example of deploying API Management Named Value."
},
{
"ResourceType": "Microsoft.ApiManagement/service/openidConnectProviders",
"Path": "samples/service/openidconnectproviders/main.bicep",
"Description": "A basic example of deploying OpenID Connect Provider within a API Management Service."
},
{
"ResourceType": "Microsoft.ApiManagement/service/policyFragments",
"Path": "samples/service/policyfragments/main.bicep",
"Description": "A basic example of deploying API Management Service Policy Fragments."
},
{
"ResourceType": "Microsoft.ApiManagement/service/portalsettings",
"Path": "samples/service/portalsettings/main.bicep",
"Description": "A basic example of deploying API Management Service Portal Settings."
},
{
"ResourceType": "Microsoft.ApiManagement/service/products",
"Path": "samples/service/products/main.bicep",
"Description": "A basic example of deploying API Management Product."
},
{
"ResourceType": "Microsoft.ApiManagement/service/products/policies",
"Path": "samples/service/products/policies/main.bicep",
"Description": "A basic example of deploying API Management Service Products Policies."
},
{
"ResourceType": "Microsoft.ApiManagement/service/products/tags",
"Path": "samples/service/products/tags/main.bicep",
"Description": "A basic example of deploying API Management Product tag."
},
{
"ResourceType": "Microsoft.ApiManagement/service/schemas",
"Path": "samples/service/schemas/main.bicep",
"Description": "A basic example of deploying Global Schema within an API Management Service."
},
{
"ResourceType": "Microsoft.ApiManagement/service/subscriptions",
"Path": "samples/service/subscriptions/main.bicep",
"Description": "A basic example of deploying Subscription within a API Management Service."
},
{
"ResourceType": "Microsoft.ApiManagement/service/tags",
"Path": "samples/service/tags/main.bicep",
"Description": "A basic example of deploying API Management Tag."
},
{
"ResourceType": "Microsoft.ApiManagement/service/users",
"Path": "samples/service/users/main.bicep",
"Description": "A basic example of deploying API Management User."
}
]
}
}
Loading
Loading