diff --git a/settings/remarks/microsoft.alertsmanagement/prometheusrulegroups/main.bicep b/settings/remarks/microsoft.alertsmanagement/prometheusrulegroups/main.bicep new file mode 100644 index 0000000..b046037 --- /dev/null +++ b/settings/remarks/microsoft.alertsmanagement/prometheusrulegroups/main.bicep @@ -0,0 +1,34 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource account 'Microsoft.Monitor/accounts@2023-04-03' = { + location: location + name: resource_name + properties: { + publicNetworkAccess: 'Enabled' + } +} + +resource prometheusRuleGroup 'Microsoft.AlertsManagement/prometheusRuleGroups@2023-03-01' = { + location: location + name: resource_name + 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))\n' + labels: { + team: 'prod' + } + record: 'job_type:billing_jobs_duration_seconds:99p5m' + } + ] + scopes: [ + account.id + ] + } +} + diff --git a/settings/remarks/microsoft.alertsmanagement/remarks.json b/settings/remarks/microsoft.alertsmanagement/remarks.json index 48c4d32..0bf51e5 100644 --- a/settings/remarks/microsoft.alertsmanagement/remarks.json +++ b/settings/remarks/microsoft.alertsmanagement/remarks.json @@ -7,5 +7,17 @@ ], "Description": "For guidance on deploying monitoring solutions, see [Create monitoring resources by using Bicep](/azure/azure-resource-manager/bicep/scenarios-monitoring)." } + ], + "BicepSamples": [ + { + "ResourceType": "Microsoft.AlertsManagement/prometheusRuleGroups", + "Path": "prometheusrulegroups/main.bicep", + "Description": "Basic sample for Microsoft.AlertsManagement/prometheusRuleGroups@2023-03-01." + }, + { + "ResourceType": "microsoft.alertsManagement/smartDetectorAlertRules", + "Path": "smartdetectoralertrules/main.bicep", + "Description": "Basic sample for microsoft.alertsManagement/smartDetectorAlertRules@2019-06-01." + } ] } \ No newline at end of file diff --git a/settings/remarks/microsoft.alertsmanagement/smartdetectoralertrules/main.bicep b/settings/remarks/microsoft.alertsmanagement/smartdetectoralertrules/main.bicep new file mode 100644 index 0000000..cdde37c --- /dev/null +++ b/settings/remarks/microsoft.alertsmanagement/smartdetectoralertrules/main.bicep @@ -0,0 +1,63 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource actionGroup 'Microsoft.Insights/actionGroups@2023-01-01' = { + location: 'global' + name: resource_name + properties: { + armRoleReceivers: [] + automationRunbookReceivers: [] + azureAppPushReceivers: [] + azureFunctionReceivers: [] + emailReceivers: [] + enabled: true + eventHubReceivers: [] + groupShortName: 'acctestag' + itsmReceivers: [] + logicAppReceivers: [] + smsReceivers: [] + voiceReceivers: [] + webhookReceivers: [] + } +} + +resource component 'Microsoft.Insights/components@2020-02-02' = { + location: location + name: resource_name + 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' = { + location: 'global' + name: resource_name + properties: { + actionGroups: { + customEmailSubject: '' + customWebhookPayload: '' + groupIds: [ + actionGroup.id + ] + } + description: '' + detector: { + id: 'FailureAnomaliesDetector' + } + frequency: 'PT1M' + scope: [ + component.id + ] + severity: 'Sev0' + state: 'Enabled' + } +} + diff --git a/settings/remarks/microsoft.analysisservices/remarks.json b/settings/remarks/microsoft.analysisservices/remarks.json new file mode 100644 index 0000000..8f68211 --- /dev/null +++ b/settings/remarks/microsoft.analysisservices/remarks.json @@ -0,0 +1,10 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.AnalysisServices/servers", + "Path": "servers/main.bicep", + "Description": "Basic sample for Microsoft.AnalysisServices/servers@2017-08-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.analysisservices/servers/main.bicep b/settings/remarks/microsoft.analysisservices/servers/main.bicep new file mode 100644 index 0000000..482a63b --- /dev/null +++ b/settings/remarks/microsoft.analysisservices/servers/main.bicep @@ -0,0 +1,20 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource server 'Microsoft.AnalysisServices/servers@2017-08-01' = { + location: location + name: resource_name + properties: { + asAdministrators: { + members: [] + } + ipV4FirewallSettings: { + enablePowerBIService: false + firewallRules: [] + } + } + sku: { + name: 'B1' + } +} + diff --git a/settings/remarks/microsoft.apimanagement/remarks.json b/settings/remarks/microsoft.apimanagement/remarks.json new file mode 100644 index 0000000..1da32d5 --- /dev/null +++ b/settings/remarks/microsoft.apimanagement/remarks.json @@ -0,0 +1,145 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.ApiManagement/service", + "Path": "service/main.bicep", + "Description": "Basic sample for Microsoft.ApiManagement/service@2021-08-01." + }, + { + "ResourceType": "Microsoft.ApiManagement/service", + "Path": "service/apiversionsets/main.bicep", + "Description": "Basic sample for Microsoft.ApiManagement/service/apiVersionSets@2021-08-01." + }, + { + "ResourceType": "Microsoft.ApiManagement/service", + "Path": "service/apis/main.bicep", + "Description": "Basic sample for Microsoft.ApiManagement/service/apis@2021-08-01." + }, + { + "ResourceType": "Microsoft.ApiManagement/service", + "Path": "service/apis/diagnostics/main.bicep", + "Description": "Basic sample for Microsoft.ApiManagement/service/apis/diagnostics@2021-08-01." + }, + { + "ResourceType": "Microsoft.ApiManagement/service", + "Path": "service/apis/policies/main.bicep", + "Description": "Basic sample for Microsoft.ApiManagement/service/apis/policies@2021-08-01." + }, + { + "ResourceType": "Microsoft.ApiManagement/service", + "Path": "service/apis/schemas/main.bicep", + "Description": "Basic sample for Microsoft.ApiManagement/service/apis/schemas@2021-08-01." + }, + { + "ResourceType": "Microsoft.ApiManagement/service", + "Path": "service/authorizationservers/main.bicep", + "Description": "Basic sample for Microsoft.ApiManagement/service/authorizationServers@2021-08-01." + }, + { + "ResourceType": "Microsoft.ApiManagement/service", + "Path": "service/backends/main.bicep", + "Description": "Basic sample for Microsoft.ApiManagement/service/backends@2021-08-01." + }, + { + "ResourceType": "Microsoft.ApiManagement/service", + "Path": "service/certificates/main.bicep", + "Description": "Basic sample for Microsoft.ApiManagement/service/certificates@2021-08-01." + }, + { + "ResourceType": "Microsoft.ApiManagement/service", + "Path": "service/diagnostics/main.bicep", + "Description": "Basic sample for Microsoft.ApiManagement/service/diagnostics@2021-08-01." + }, + { + "ResourceType": "Microsoft.ApiManagement/service", + "Path": "service/gateways/main.bicep", + "Description": "Basic sample for Microsoft.ApiManagement/service/gateways@2021-08-01." + }, + { + "ResourceType": "Microsoft.ApiManagement/service", + "Path": "service/gateways/certificateauthorities/main.bicep", + "Description": "Basic sample for Microsoft.ApiManagement/service/gateways/certificateAuthorities@2021-08-01." + }, + { + "ResourceType": "Microsoft.ApiManagement/service", + "Path": "service/gateways/hostnameconfigurations/main.bicep", + "Description": "Basic sample for Microsoft.ApiManagement/service/gateways/hostnameConfigurations@2021-08-01." + }, + { + "ResourceType": "Microsoft.ApiManagement/service", + "Path": "service/groups/main.bicep", + "Description": "Basic sample for Microsoft.ApiManagement/service/groups@2021-08-01." + }, + { + "ResourceType": "Microsoft.ApiManagement/service", + "Path": "service/identityproviders/main.bicep", + "Description": "Basic sample for Microsoft.ApiManagement/service/identityProviders@2021-08-01." + }, + { + "ResourceType": "Microsoft.ApiManagement/service", + "Path": "service/loggers/main.bicep", + "Description": "Basic sample for Microsoft.ApiManagement/service/loggers@2021-08-01." + }, + { + "ResourceType": "Microsoft.ApiManagement/service", + "Path": "service/namedvalues/main.bicep", + "Description": "Basic sample for Microsoft.ApiManagement/service/namedValues@2021-08-01." + }, + { + "ResourceType": "Microsoft.ApiManagement/service", + "Path": "service/openidconnectproviders/main.bicep", + "Description": "Basic sample for Microsoft.ApiManagement/service/openidConnectProviders@2021-08-01." + }, + { + "ResourceType": "Microsoft.ApiManagement/service", + "Path": "service/policyfragments/main.bicep", + "Description": "Basic sample for Microsoft.ApiManagement/service/policyFragments@2021-08-01." + }, + { + "ResourceType": "Microsoft.ApiManagement/service", + "Path": "service/portalsettings/main.bicep", + "Description": "Basic sample for Microsoft.ApiManagement/service/portalsettings@2021-08-01." + }, + { + "ResourceType": "Microsoft.ApiManagement/service", + "Path": "service/products/main.bicep", + "Description": "Basic sample for Microsoft.ApiManagement/service/products@2021-08-01." + }, + { + "ResourceType": "Microsoft.ApiManagement/service", + "Path": "service/products/policies/main.bicep", + "Description": "Basic sample for Microsoft.ApiManagement/service/products/policies@2021-08-01." + }, + { + "ResourceType": "Microsoft.ApiManagement/service", + "Path": "service/products/tags/main.bicep", + "Description": "Basic sample for Microsoft.ApiManagement/service/products/tags@2021-08-01." + }, + { + "ResourceType": "Microsoft.ApiManagement/service", + "Path": "service/schemas/main.bicep", + "Description": "Basic sample for Microsoft.ApiManagement/service/schemas@2021-08-01." + }, + { + "ResourceType": "Microsoft.ApiManagement/service", + "Path": "service/subscriptions/main.bicep", + "Description": "Basic sample for Microsoft.ApiManagement/service/subscriptions@2021-08-01." + }, + { + "ResourceType": "Microsoft.ApiManagement/service", + "Path": "service/tags/main.bicep", + "Description": "Basic sample for Microsoft.ApiManagement/service/tags@2021-08-01." + }, + { + "ResourceType": "Microsoft.ApiManagement/service", + "Path": "service/templates/main.bicep", + "Description": "Basic sample for Microsoft.ApiManagement/service/templates@2021-08-01." + }, + { + "ResourceType": "Microsoft.ApiManagement/service", + "Path": "service/users/main.bicep", + "Description": "Basic sample for Microsoft.ApiManagement/service/users@2021-08-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.apimanagement/service/apis/diagnostics/main.bicep b/settings/remarks/microsoft.apimanagement/service/apis/diagnostics/main.bicep new file mode 100644 index 0000000..b7c2b6d --- /dev/null +++ b/settings/remarks/microsoft.apimanagement/service/apis/diagnostics/main.bicep @@ -0,0 +1,78 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource api 'Microsoft.ApiManagement/service/apis@2021-08-01' = { + parent: service + name: '${resource_name};rev=1' + properties: { + apiType: 'http' + apiVersion: '' + format: 'swagger-link-json' + path: 'test' + type: 'http' + value: 'http://conferenceapi.azurewebsites.net/?format=json' + } +} + +resource component 'Microsoft.Insights/components@2020-02-02' = { + location: location + name: resource_name + kind: 'web' + properties: { + Application_Type: 'web' + DisableIpMasking: false + DisableLocalAuth: false + ForceCustomerStorageForProfiler: false + RetentionInDays: 90 + SamplingPercentage: 100 + publicNetworkAccessForIngestion: 'Enabled' + publicNetworkAccessForQuery: 'Enabled' + } +} + +resource diagnostic 'Microsoft.ApiManagement/service/apis/diagnostics@2021-08-01' = { + parent: api + name: 'applicationinsights' + properties: { + loggerId: logger.id + operationNameFormat: 'Name' + } +} + +resource logger 'Microsoft.ApiManagement/service/loggers@2021-08-01' = { + parent: service + name: resource_name + properties: { + credentials: { + instrumentationKey: component.properties.InstrumentationKey + } + description: '' + isBuffered: true + loggerType: 'applicationInsights' + } +} + +resource service 'Microsoft.ApiManagement/service@2021-08-01' = { + location: location + name: resource_name + properties: { + certificates: [] + customProperties: { + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11': 'false' + } + disableGateway: false + publicNetworkAccess: 'Enabled' + publisherEmail: 'pub1@email.com' + publisherName: 'pub1' + virtualNetworkType: 'None' + } + sku: { + capacity: 0 + name: 'Consumption' + } +} + diff --git a/settings/remarks/microsoft.apimanagement/service/apis/main.bicep b/settings/remarks/microsoft.apimanagement/service/apis/main.bicep new file mode 100644 index 0000000..01219d4 --- /dev/null +++ b/settings/remarks/microsoft.apimanagement/service/apis/main.bicep @@ -0,0 +1,48 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource api 'Microsoft.ApiManagement/service/apis@2021-08-01' = { + parent: service + name: '${resource_name};rev=1' + properties: { + apiRevisionDescription: '' + apiType: 'http' + apiVersion: '' + apiVersionDescription: '' + authenticationSettings: {} + description: '' + displayName: 'api1' + path: 'api1' + protocols: [ + 'https' + ] + serviceUrl: '' + subscriptionRequired: true + type: 'http' + } +} + +resource service 'Microsoft.ApiManagement/service@2021-08-01' = { + location: location + name: resource_name + properties: { + certificates: [] + customProperties: { + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11': 'false' + } + disableGateway: false + publicNetworkAccess: 'Enabled' + publisherEmail: 'pub1@email.com' + publisherName: 'pub1' + virtualNetworkType: 'None' + } + sku: { + capacity: 0 + name: 'Consumption' + } +} + diff --git a/settings/remarks/microsoft.apimanagement/service/apis/policies/main.bicep b/settings/remarks/microsoft.apimanagement/service/apis/policies/main.bicep new file mode 100644 index 0000000..e6b4cd6 --- /dev/null +++ b/settings/remarks/microsoft.apimanagement/service/apis/policies/main.bicep @@ -0,0 +1,57 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource api 'Microsoft.ApiManagement/service/apis@2021-08-01' = { + parent: service + name: '${resource_name};rev=1' + properties: { + apiRevisionDescription: '' + apiType: 'http' + apiVersion: '' + apiVersionDescription: '' + authenticationSettings: {} + description: '' + displayName: 'api1' + path: 'api1' + protocols: [ + 'https' + ] + serviceUrl: '' + subscriptionRequired: true + type: 'http' + } +} + +resource policy 'Microsoft.ApiManagement/service/apis/policies@2021-08-01' = { + parent: api + name: 'policy' + properties: { + format: 'xml' + value: '\n \n \n \n \n\n' + } +} + +resource service 'Microsoft.ApiManagement/service@2021-08-01' = { + location: location + name: resource_name + properties: { + certificates: [] + customProperties: { + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11': 'false' + } + disableGateway: false + publicNetworkAccess: 'Enabled' + publisherEmail: 'pub1@email.com' + publisherName: 'pub1' + virtualNetworkType: 'None' + } + sku: { + capacity: 0 + name: 'Consumption' + } +} + diff --git a/settings/remarks/microsoft.apimanagement/service/apis/schemas/main.bicep b/settings/remarks/microsoft.apimanagement/service/apis/schemas/main.bicep new file mode 100644 index 0000000..b91cfa0 --- /dev/null +++ b/settings/remarks/microsoft.apimanagement/service/apis/schemas/main.bicep @@ -0,0 +1,59 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource api 'Microsoft.ApiManagement/service/apis@2021-08-01' = { + parent: service + name: '${resource_name};rev=1' + properties: { + apiRevisionDescription: '' + apiType: 'http' + apiVersion: '' + apiVersionDescription: '' + authenticationSettings: {} + description: '' + displayName: 'api1' + path: 'api1' + protocols: [ + 'https' + ] + serviceUrl: '' + subscriptionRequired: true + type: 'http' + } +} + +resource schema 'Microsoft.ApiManagement/service/apis/schemas@2021-08-01' = { + parent: api + name: resource_name + properties: { + contentType: 'application/vnd.ms-azure-apim.xsd+xml' + document: { + value: '\n\n ' + } + } +} + +resource service 'Microsoft.ApiManagement/service@2021-08-01' = { + location: location + name: resource_name + properties: { + certificates: [] + customProperties: { + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11': 'false' + } + disableGateway: false + publicNetworkAccess: 'Enabled' + publisherEmail: 'pub1@email.com' + publisherName: 'pub1' + virtualNetworkType: 'None' + } + sku: { + capacity: 0 + name: 'Consumption' + } +} + diff --git a/settings/remarks/microsoft.apimanagement/service/apiversionsets/main.bicep b/settings/remarks/microsoft.apimanagement/service/apiversionsets/main.bicep new file mode 100644 index 0000000..4835e08 --- /dev/null +++ b/settings/remarks/microsoft.apimanagement/service/apiversionsets/main.bicep @@ -0,0 +1,37 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource apiVersionSet 'Microsoft.ApiManagement/service/apiVersionSets@2021-08-01' = { + parent: service + name: resource_name + properties: { + description: 'TestDescription1' + displayName: 'TestApiVersionSet1230630032559674766' + versioningScheme: 'Segment' + } +} + +resource service 'Microsoft.ApiManagement/service@2021-08-01' = { + location: location + name: resource_name + properties: { + certificates: [] + customProperties: { + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11': 'false' + } + disableGateway: false + publicNetworkAccess: 'Enabled' + publisherEmail: 'pub1@email.com' + publisherName: 'pub1' + virtualNetworkType: 'None' + } + sku: { + capacity: 0 + name: 'Consumption' + } +} + diff --git a/settings/remarks/microsoft.apimanagement/service/authorizationservers/main.bicep b/settings/remarks/microsoft.apimanagement/service/authorizationservers/main.bicep new file mode 100644 index 0000000..dc9194b --- /dev/null +++ b/settings/remarks/microsoft.apimanagement/service/authorizationservers/main.bicep @@ -0,0 +1,52 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource authorizationServer 'Microsoft.ApiManagement/service/authorizationServers@2021-08-01' = { + parent: service + name: resource_name + properties: { + authorizationEndpoint: 'https://azacceptance.hashicorptest.com/client/authorize' + authorizationMethods: [ + 'GET' + ] + clientAuthenticationMethod: [] + clientId: '42424242-4242-4242-4242-424242424242' + clientRegistrationEndpoint: 'https://azacceptance.hashicorptest.com/client/register' + clientSecret: '' + defaultScope: '' + description: '' + displayName: 'Test Group' + grantTypes: [ + 'implicit' + ] + resourceOwnerPassword: '' + resourceOwnerUsername: '' + supportState: false + tokenBodyParameters: [] + } +} + +resource service 'Microsoft.ApiManagement/service@2021-08-01' = { + location: location + name: resource_name + properties: { + certificates: [] + customProperties: { + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11': 'false' + } + disableGateway: false + publicNetworkAccess: 'Enabled' + publisherEmail: 'pub1@email.com' + publisherName: 'pub1' + virtualNetworkType: 'None' + } + sku: { + capacity: 0 + name: 'Consumption' + } +} + diff --git a/settings/remarks/microsoft.apimanagement/service/backends/main.bicep b/settings/remarks/microsoft.apimanagement/service/backends/main.bicep new file mode 100644 index 0000000..1d1d0d7 --- /dev/null +++ b/settings/remarks/microsoft.apimanagement/service/backends/main.bicep @@ -0,0 +1,36 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource backend 'Microsoft.ApiManagement/service/backends@2021-08-01' = { + parent: service + name: resource_name + properties: { + protocol: 'http' + url: 'https://acctest' + } +} + +resource service 'Microsoft.ApiManagement/service@2021-08-01' = { + location: location + name: resource_name + properties: { + certificates: [] + customProperties: { + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11': 'false' + } + disableGateway: false + publicNetworkAccess: 'Enabled' + publisherEmail: 'pub1@email.com' + publisherName: 'pub1' + virtualNetworkType: 'None' + } + sku: { + capacity: 0 + name: 'Consumption' + } +} + diff --git a/settings/remarks/microsoft.apimanagement/service/certificates/main.bicep b/settings/remarks/microsoft.apimanagement/service/certificates/main.bicep new file mode 100644 index 0000000..60da995 --- /dev/null +++ b/settings/remarks/microsoft.apimanagement/service/certificates/main.bicep @@ -0,0 +1,36 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource certificate 'Microsoft.ApiManagement/service/certificates@2021-08-01' = { + parent: service + name: resource_name + properties: { + data: 'MIIKmQIBAzCCCl8GCSqGSIb3DQEHAaCCClAEggpMMIIKSDCCBP8GCSqGSIb3DQEHBqCCBPAwggTsAgEAMIIE5QYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIp1c0ydxiVG0CAggAgIIEuA5qATScE+dBHsldt+cfd/PjV+FAei7+lyYXm2IN1TZ1mFEce3T6MlGaqXoHMlYlIEVtvxNp2qpbYyGbboCRYTmB1tHbDbwDAg0bO8J8ing2xOvkoKx+sFX7L0I+FcGz5ucJRoDus6K6GdMgWOi+vlEdliBpH7Lgk+8+SXpFf/JadnEY49Dr4XMUBs/fXe6BxB89b9H/5mUg1SQFuxnGQrdvEW7tNFJR7k9BUO/95X8b4mQZdqfXBzgayOKTcB7JShXA9gjyAbxsF2g5EXlmWNJoRVo8xPcybPgarDdfjM4L0eEzvB4mgn6JimCaHxt9Gb3PGhPJ0mFzVbJTPQgiFpjpREwDWVYk7LeKvjyLn70O9pQyCi8tjZGw5XfIHlt7P+EHEdXXYR7z7gbgNQmWFMjYEX2puAKjYyjYsZ3ZxlWWNsrWZA/lNE5BgIBAcNAT2NBGAGbe4floniM8RPpQJ/Tj53nFQxav2sY/toWRSA8z7/bMGmQZEh9Dun61YJc+yb0dzn0K98FlEw1+Uu4fR8l6/e4xvmpdH3tOVak0xFRJLdILlO9VwJ3Ins8CODFHV4J4DnuMyINonctjTl9qy66+pVf6ePX0Io5k+49hU3u19jZy/oN8xxTGDMGVQinZ19yNC5TJ7RJ4fb682Jk+P8dwc+1icbBydZo3a/n1JdglMjPJK4+f0iW/+KIBFD2oZlEt8/Hi+IzyXT2BJHuZJmPa61vxHurA/urGH06ybpcrSEkBC0Lcm07Ie5Ov/UQVcdwF2MM3f3Iv5hrdRogBmB5pe1sYwNGJanCy4dABwpu+qVrtBGZEdBRl4h6IUTTzFDJltVcAmi60blvB8pCufDnD+PdJobAD5FIcsMDl0hiB7AgDbtOWygE1i/b5GnoVsfOGt4iUclikKxCig4m500IgX/XgUBiY1RwkHIXZQ1mXyWBAnaFgPA7BOt70Qbj9wy9S60FvrElVG9NWXuTdGY+ECWkoEzjiGnCEL+T1Cv43b8SlL5GCCftIUHlM/ss8oBzcJmUJsUsv/ZHTcj3GKyHud5cIT4rli542dDkoZj0O6fsvE+yFM7kZaQrTzuPlstfnvi5OeJQ4+aJBeL+rEXvEspLn02i2Rg1afZAll6fk+epPJOxW2pkrVslDMj/0RfLr4dRi5uzBiJb3pILfCDJs9Nqzj2GMWOFudQn5OHbcbx6dtoB1RcdsZHSGTn+MrjoXey2nmIlg372aLR7tCH06Z66U9FagAr51DZAKq2ry0T6gR4sWtzHlS063xFH4JeCHAJouWqEwgxeBu1zSZneDlMaC1ifcB0fOML8658vi1B697wLP0Muc6UW4mqfuN7AMl1fJQ7vO5oTDgWbPd6bSrLk46zmN3vC3VzMqQVa/1BbKgGkTOaVIZJuK0OuN2hyaVLNvm8XQ2O5QWE6aY2l3fm7m4hbT2AXRd/ulquZRhbQa7jIyjTb6SwLZG9wpvRJ5pR/C1V/QitI4GrViMOgEX+LV2TzXZxmkBV45/dDJ9Vh+2LEUKvcbkWjxZEbgltyCOdDHbTA5ydcNCHi/t/L371N6mCcXJH4FC7za1LpNmXeRIZa4lUuW602YH0DCYTnZ95UqMNyXMIIFQQYJKoZIhvcNAQcBoIIFMgSCBS4wggUqMIIFJgYLKoZIhvcNAQwKAQKgggTuMIIE6jAcBgoqhkiG9w0BDAEDMA4ECMwUHG/3/JVkAgIIAASCBMivDxcmzXtuXLPeu468SGYRJk994sSYqjK6fKP4090KXsDgX+IkggKJWqZqyRb0Dq7EusKpMyrSJNtz9Cfl3+S/vsbX6mGz4TY1g4VNvkyJyUjqUjKIDL2SlULRa7ldEvpOciy0Ms/6PBQXOTyVr5Rd1dFUFSbkLAruIWTULK0OfQoFjuQXmDvunRBrqSbHtjID9m1OwdcTfzMGHjsXth3iSWSTTh5+Eg/6H+/9kGC9VEEURqFD3Gx2kWKjqSlZyf/LSOTBcQ6+qRQZT1B1ZnPAVBU9Xn9Z6Tq0EMNfNg9+pv1GlLBUg1Hqo8RAW1nNOBSBHXS0nq062j48luQOotthKOc1rkjQd91Q9qTLFlU12gllQw+ejHVVvEEPHtxJ7HVr/lvM/5mt2oObTJb01JcfVnYrnI3NnNSWRULx/tznhB2yoKqjtrnZAW3zNU9TQQVyLVjt2lIXhE4oXk0I+Cxmvbh+YJF6XLrATGc6yuL02ZInrC59ufkclcnjnTSGnXWr9gzIndZ6wSS0B+6bMpLxamvE4XDhAQCn6MEGGVcY9nMydxaWU3o7Is0J1nd/KZWgfXeOoZx10olSR22+PBKy8Gsge2mMbR2QvhUKNyXLTV3pOnxtjGf88PhseqDpwZ5++DOSFfi0spsDvfXJNO0F0f0JYrMNXbqlxO4uExj146thivXZVlR1n5Bo4eL0OoVIXn1w/MuU0suQvZm+kD8uVuajyBnJsnhsCWx2eTZ2vzHQTKB2EtYeDPioWSomTVVjIdg8A9pTzvvhe8MzFXvRMXFc9+ToN+uLjJqHRSmpZIGJvZQXCKrlCC9KRjP1HIhJhyfuYoEjTkF3IVeXS1tnA5CH5oilOG+guLKXNPWsrCXEpewz6i907ugx/VWTAmEMzYwMCDzCnW2l+mI8P56nWrwI0vDuk1GhIs6nn+Nhc6FPHD1996zyZ7hfmO7h25tto00IoVgI9QlhwtWLz10ZltLG581JvO7jEwT4u/nYxD7aO0Llb3ytNKihalFZMaY20a1dhVBsPwiWUpZcMmPoYySSiukyw350WiV/Z2NAsyeGRTWpdKcBi7gna0NN6fn0QLSdTcPKutASCplNExnI1IkkBFb3TmlF5HrrwmVht+vqxEHbRjDwEnKkvGcUbLWdjUjSWVNNbCbo8KbLAXcBPcjTHxIRw3gkLcS+yL0//uSENgo/LpHBZsO5d6as820lpYmHIjvyxhAMpMNlOPmUIW+cOgcf328wNaHaVWalIwfSGJdqGgC4msvP8vOcGWYgLkdrqJGWjhDs40x7LuFEBWgpgu6E2FfPOPTsqs5QxNKTgCw/eXjK92dZkdqO0Y7oLavU3OaJeWFJpAuZcC84Rwup2K0d4CXvZ0bOtpISSTr3VZeXRl8SkN2bQtgit9BJ2qGAy9blNObk1q8yOaVppercZMgG96DK23ZQ9uLRmliqytE1tXFKNKegwxGorKodoMwpRzClBz37KIYGJvFOYVya11v3gdcfeMcRTPdZG5dbI6US9DNk6fbShBJpc7PvYgMc8Vr+xEfzZXPnY2M8d+uJJomrU5ZQXcjy9jtyE4ToBz5ajh4Hq6Khlv6v5y2C+GrXb5+2KoSkcAYpTxlzAnjk9pYMZkwxJTAjBgkqhkiG9w0BCRUxFgQURdOwIJIHIprOPt5IqfZOf/7JJoQwMTAhMAkGBSsOAwIaBQAEFCaYzKHAOxuYPxNGezkbQ8Tp9cGsBAiTp8/jb7QK5AICCAAK' + password: '' + } +} + +resource service 'Microsoft.ApiManagement/service@2021-08-01' = { + location: location + name: resource_name + properties: { + certificates: [] + customProperties: { + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11': 'false' + } + disableGateway: false + publicNetworkAccess: 'Enabled' + publisherEmail: 'pub1@email.com' + publisherName: 'pub1' + virtualNetworkType: 'None' + } + sku: { + capacity: 0 + name: 'Consumption' + } +} + diff --git a/settings/remarks/microsoft.apimanagement/service/diagnostics/main.bicep b/settings/remarks/microsoft.apimanagement/service/diagnostics/main.bicep new file mode 100644 index 0000000..f445515 --- /dev/null +++ b/settings/remarks/microsoft.apimanagement/service/diagnostics/main.bicep @@ -0,0 +1,65 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource component 'Microsoft.Insights/components@2020-02-02' = { + location: location + name: resource_name + kind: 'web' + properties: { + Application_Type: 'web' + DisableIpMasking: false + DisableLocalAuth: false + ForceCustomerStorageForProfiler: false + RetentionInDays: 90 + SamplingPercentage: 100 + publicNetworkAccessForIngestion: 'Enabled' + publicNetworkAccessForQuery: 'Enabled' + } +} + +resource diagnostic 'Microsoft.ApiManagement/service/diagnostics@2021-08-01' = { + parent: service + name: 'applicationinsights' + properties: { + loggerId: logger.id + operationNameFormat: 'Name' + } +} + +resource logger 'Microsoft.ApiManagement/service/loggers@2021-08-01' = { + parent: service + name: resource_name + properties: { + credentials: { + instrumentationKey: component.properties.InstrumentationKey + } + description: '' + isBuffered: true + loggerType: 'applicationInsights' + } +} + +resource service 'Microsoft.ApiManagement/service@2021-08-01' = { + location: location + name: resource_name + properties: { + certificates: [] + customProperties: { + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11': 'false' + } + disableGateway: false + publicNetworkAccess: 'Enabled' + publisherEmail: 'pub1@email.com' + publisherName: 'pub1' + virtualNetworkType: 'None' + } + sku: { + capacity: 0 + name: 'Consumption' + } +} + diff --git a/settings/remarks/microsoft.apimanagement/service/gateways/certificateauthorities/main.bicep b/settings/remarks/microsoft.apimanagement/service/gateways/certificateauthorities/main.bicep new file mode 100644 index 0000000..4f64c35 --- /dev/null +++ b/settings/remarks/microsoft.apimanagement/service/gateways/certificateauthorities/main.bicep @@ -0,0 +1,70 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource certificate 'Microsoft.ApiManagement/service/certificates@2021-08-01' = { + parent: service + name: resource_name + properties: { + data: 'MIIKmQIBAzCCCl8GCSqGSIb3DQEHAaCCClAEggpMMIIKSDCCBP8GCSqGSIb3DQEHBqCCBPAwggTsAgEAMIIE5QYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIp1c0ydxiVG0CAggAgIIEuA5qATScE+dBHsldt+cfd/PjV+FAei7+lyYXm2IN1TZ1mFEce3T6MlGaqXoHMlYlIEVtvxNp2qpbYyGbboCRYTmB1tHbDbwDAg0bO8J8ing2xOvkoKx+sFX7L0I+FcGz5ucJRoDus6K6GdMgWOi+vlEdliBpH7Lgk+8+SXpFf/JadnEY49Dr4XMUBs/fXe6BxB89b9H/5mUg1SQFuxnGQrdvEW7tNFJR7k9BUO/95X8b4mQZdqfXBzgayOKTcB7JShXA9gjyAbxsF2g5EXlmWNJoRVo8xPcybPgarDdfjM4L0eEzvB4mgn6JimCaHxt9Gb3PGhPJ0mFzVbJTPQgiFpjpREwDWVYk7LeKvjyLn70O9pQyCi8tjZGw5XfIHlt7P+EHEdXXYR7z7gbgNQmWFMjYEX2puAKjYyjYsZ3ZxlWWNsrWZA/lNE5BgIBAcNAT2NBGAGbe4floniM8RPpQJ/Tj53nFQxav2sY/toWRSA8z7/bMGmQZEh9Dun61YJc+yb0dzn0K98FlEw1+Uu4fR8l6/e4xvmpdH3tOVak0xFRJLdILlO9VwJ3Ins8CODFHV4J4DnuMyINonctjTl9qy66+pVf6ePX0Io5k+49hU3u19jZy/oN8xxTGDMGVQinZ19yNC5TJ7RJ4fb682Jk+P8dwc+1icbBydZo3a/n1JdglMjPJK4+f0iW/+KIBFD2oZlEt8/Hi+IzyXT2BJHuZJmPa61vxHurA/urGH06ybpcrSEkBC0Lcm07Ie5Ov/UQVcdwF2MM3f3Iv5hrdRogBmB5pe1sYwNGJanCy4dABwpu+qVrtBGZEdBRl4h6IUTTzFDJltVcAmi60blvB8pCufDnD+PdJobAD5FIcsMDl0hiB7AgDbtOWygE1i/b5GnoVsfOGt4iUclikKxCig4m500IgX/XgUBiY1RwkHIXZQ1mXyWBAnaFgPA7BOt70Qbj9wy9S60FvrElVG9NWXuTdGY+ECWkoEzjiGnCEL+T1Cv43b8SlL5GCCftIUHlM/ss8oBzcJmUJsUsv/ZHTcj3GKyHud5cIT4rli542dDkoZj0O6fsvE+yFM7kZaQrTzuPlstfnvi5OeJQ4+aJBeL+rEXvEspLn02i2Rg1afZAll6fk+epPJOxW2pkrVslDMj/0RfLr4dRi5uzBiJb3pILfCDJs9Nqzj2GMWOFudQn5OHbcbx6dtoB1RcdsZHSGTn+MrjoXey2nmIlg372aLR7tCH06Z66U9FagAr51DZAKq2ry0T6gR4sWtzHlS063xFH4JeCHAJouWqEwgxeBu1zSZneDlMaC1ifcB0fOML8658vi1B697wLP0Muc6UW4mqfuN7AMl1fJQ7vO5oTDgWbPd6bSrLk46zmN3vC3VzMqQVa/1BbKgGkTOaVIZJuK0OuN2hyaVLNvm8XQ2O5QWE6aY2l3fm7m4hbT2AXRd/ulquZRhbQa7jIyjTb6SwLZG9wpvRJ5pR/C1V/QitI4GrViMOgEX+LV2TzXZxmkBV45/dDJ9Vh+2LEUKvcbkWjxZEbgltyCOdDHbTA5ydcNCHi/t/L371N6mCcXJH4FC7za1LpNmXeRIZa4lUuW602YH0DCYTnZ95UqMNyXMIIFQQYJKoZIhvcNAQcBoIIFMgSCBS4wggUqMIIFJgYLKoZIhvcNAQwKAQKgggTuMIIE6jAcBgoqhkiG9w0BDAEDMA4ECMwUHG/3/JVkAgIIAASCBMivDxcmzXtuXLPeu468SGYRJk994sSYqjK6fKP4090KXsDgX+IkggKJWqZqyRb0Dq7EusKpMyrSJNtz9Cfl3+S/vsbX6mGz4TY1g4VNvkyJyUjqUjKIDL2SlULRa7ldEvpOciy0Ms/6PBQXOTyVr5Rd1dFUFSbkLAruIWTULK0OfQoFjuQXmDvunRBrqSbHtjID9m1OwdcTfzMGHjsXth3iSWSTTh5+Eg/6H+/9kGC9VEEURqFD3Gx2kWKjqSlZyf/LSOTBcQ6+qRQZT1B1ZnPAVBU9Xn9Z6Tq0EMNfNg9+pv1GlLBUg1Hqo8RAW1nNOBSBHXS0nq062j48luQOotthKOc1rkjQd91Q9qTLFlU12gllQw+ejHVVvEEPHtxJ7HVr/lvM/5mt2oObTJb01JcfVnYrnI3NnNSWRULx/tznhB2yoKqjtrnZAW3zNU9TQQVyLVjt2lIXhE4oXk0I+Cxmvbh+YJF6XLrATGc6yuL02ZInrC59ufkclcnjnTSGnXWr9gzIndZ6wSS0B+6bMpLxamvE4XDhAQCn6MEGGVcY9nMydxaWU3o7Is0J1nd/KZWgfXeOoZx10olSR22+PBKy8Gsge2mMbR2QvhUKNyXLTV3pOnxtjGf88PhseqDpwZ5++DOSFfi0spsDvfXJNO0F0f0JYrMNXbqlxO4uExj146thivXZVlR1n5Bo4eL0OoVIXn1w/MuU0suQvZm+kD8uVuajyBnJsnhsCWx2eTZ2vzHQTKB2EtYeDPioWSomTVVjIdg8A9pTzvvhe8MzFXvRMXFc9+ToN+uLjJqHRSmpZIGJvZQXCKrlCC9KRjP1HIhJhyfuYoEjTkF3IVeXS1tnA5CH5oilOG+guLKXNPWsrCXEpewz6i907ugx/VWTAmEMzYwMCDzCnW2l+mI8P56nWrwI0vDuk1GhIs6nn+Nhc6FPHD1996zyZ7hfmO7h25tto00IoVgI9QlhwtWLz10ZltLG581JvO7jEwT4u/nYxD7aO0Llb3ytNKihalFZMaY20a1dhVBsPwiWUpZcMmPoYySSiukyw350WiV/Z2NAsyeGRTWpdKcBi7gna0NN6fn0QLSdTcPKutASCplNExnI1IkkBFb3TmlF5HrrwmVht+vqxEHbRjDwEnKkvGcUbLWdjUjSWVNNbCbo8KbLAXcBPcjTHxIRw3gkLcS+yL0//uSENgo/LpHBZsO5d6as820lpYmHIjvyxhAMpMNlOPmUIW+cOgcf328wNaHaVWalIwfSGJdqGgC4msvP8vOcGWYgLkdrqJGWjhDs40x7LuFEBWgpgu6E2FfPOPTsqs5QxNKTgCw/eXjK92dZkdqO0Y7oLavU3OaJeWFJpAuZcC84Rwup2K0d4CXvZ0bOtpISSTr3VZeXRl8SkN2bQtgit9BJ2qGAy9blNObk1q8yOaVppercZMgG96DK23ZQ9uLRmliqytE1tXFKNKegwxGorKodoMwpRzClBz37KIYGJvFOYVya11v3gdcfeMcRTPdZG5dbI6US9DNk6fbShBJpc7PvYgMc8Vr+xEfzZXPnY2M8d+uJJomrU5ZQXcjy9jtyE4ToBz5ajh4Hq6Khlv6v5y2C+GrXb5+2KoSkcAYpTxlzAnjk9pYMZkwxJTAjBgkqhkiG9w0BCRUxFgQURdOwIJIHIprOPt5IqfZOf/7JJoQwMTAhMAkGBSsOAwIaBQAEFCaYzKHAOxuYPxNGezkbQ8Tp9cGsBAiTp8/jb7QK5AICCAAK' + password: '' + } +} + +resource certificateAuthority 'Microsoft.ApiManagement/service/gateways/certificateAuthorities@2021-08-01' = { + parent: gateway + name: certificate.name + properties: { + isTrusted: false + } +} + +resource gateway 'Microsoft.ApiManagement/service/gateways@2021-08-01' = { + parent: service + name: resource_name + properties: { + description: '' + locationData: { + city: '' + countryOrRegion: '' + district: '' + name: 'test' + } + } +} + +resource service 'Microsoft.ApiManagement/service@2021-08-01' = { + location: location + name: resource_name + properties: { + certificates: [] + customProperties: { + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_GCM_SHA256': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_CBC_SHA256': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_GCM_SHA384': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11': 'false' + } + disableGateway: false + publicNetworkAccess: 'Enabled' + publisherEmail: 'pub1@email.com' + publisherName: 'pub1' + virtualNetworkType: 'None' + } + sku: { + capacity: 1 + name: 'Developer' + } +} + diff --git a/settings/remarks/microsoft.apimanagement/service/gateways/hostnameconfigurations/main.bicep b/settings/remarks/microsoft.apimanagement/service/gateways/hostnameconfigurations/main.bicep new file mode 100644 index 0000000..8ba4f1c --- /dev/null +++ b/settings/remarks/microsoft.apimanagement/service/gateways/hostnameconfigurations/main.bicep @@ -0,0 +1,75 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource certificate 'Microsoft.ApiManagement/service/certificates@2021-08-01' = { + parent: service + name: resource_name + properties: { + data: 'MIIKmQIBAzCCCl8GCSqGSIb3DQEHAaCCClAEggpMMIIKSDCCBP8GCSqGSIb3DQEHBqCCBPAwggTsAgEAMIIE5QYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIp1c0ydxiVG0CAggAgIIEuA5qATScE+dBHsldt+cfd/PjV+FAei7+lyYXm2IN1TZ1mFEce3T6MlGaqXoHMlYlIEVtvxNp2qpbYyGbboCRYTmB1tHbDbwDAg0bO8J8ing2xOvkoKx+sFX7L0I+FcGz5ucJRoDus6K6GdMgWOi+vlEdliBpH7Lgk+8+SXpFf/JadnEY49Dr4XMUBs/fXe6BxB89b9H/5mUg1SQFuxnGQrdvEW7tNFJR7k9BUO/95X8b4mQZdqfXBzgayOKTcB7JShXA9gjyAbxsF2g5EXlmWNJoRVo8xPcybPgarDdfjM4L0eEzvB4mgn6JimCaHxt9Gb3PGhPJ0mFzVbJTPQgiFpjpREwDWVYk7LeKvjyLn70O9pQyCi8tjZGw5XfIHlt7P+EHEdXXYR7z7gbgNQmWFMjYEX2puAKjYyjYsZ3ZxlWWNsrWZA/lNE5BgIBAcNAT2NBGAGbe4floniM8RPpQJ/Tj53nFQxav2sY/toWRSA8z7/bMGmQZEh9Dun61YJc+yb0dzn0K98FlEw1+Uu4fR8l6/e4xvmpdH3tOVak0xFRJLdILlO9VwJ3Ins8CODFHV4J4DnuMyINonctjTl9qy66+pVf6ePX0Io5k+49hU3u19jZy/oN8xxTGDMGVQinZ19yNC5TJ7RJ4fb682Jk+P8dwc+1icbBydZo3a/n1JdglMjPJK4+f0iW/+KIBFD2oZlEt8/Hi+IzyXT2BJHuZJmPa61vxHurA/urGH06ybpcrSEkBC0Lcm07Ie5Ov/UQVcdwF2MM3f3Iv5hrdRogBmB5pe1sYwNGJanCy4dABwpu+qVrtBGZEdBRl4h6IUTTzFDJltVcAmi60blvB8pCufDnD+PdJobAD5FIcsMDl0hiB7AgDbtOWygE1i/b5GnoVsfOGt4iUclikKxCig4m500IgX/XgUBiY1RwkHIXZQ1mXyWBAnaFgPA7BOt70Qbj9wy9S60FvrElVG9NWXuTdGY+ECWkoEzjiGnCEL+T1Cv43b8SlL5GCCftIUHlM/ss8oBzcJmUJsUsv/ZHTcj3GKyHud5cIT4rli542dDkoZj0O6fsvE+yFM7kZaQrTzuPlstfnvi5OeJQ4+aJBeL+rEXvEspLn02i2Rg1afZAll6fk+epPJOxW2pkrVslDMj/0RfLr4dRi5uzBiJb3pILfCDJs9Nqzj2GMWOFudQn5OHbcbx6dtoB1RcdsZHSGTn+MrjoXey2nmIlg372aLR7tCH06Z66U9FagAr51DZAKq2ry0T6gR4sWtzHlS063xFH4JeCHAJouWqEwgxeBu1zSZneDlMaC1ifcB0fOML8658vi1B697wLP0Muc6UW4mqfuN7AMl1fJQ7vO5oTDgWbPd6bSrLk46zmN3vC3VzMqQVa/1BbKgGkTOaVIZJuK0OuN2hyaVLNvm8XQ2O5QWE6aY2l3fm7m4hbT2AXRd/ulquZRhbQa7jIyjTb6SwLZG9wpvRJ5pR/C1V/QitI4GrViMOgEX+LV2TzXZxmkBV45/dDJ9Vh+2LEUKvcbkWjxZEbgltyCOdDHbTA5ydcNCHi/t/L371N6mCcXJH4FC7za1LpNmXeRIZa4lUuW602YH0DCYTnZ95UqMNyXMIIFQQYJKoZIhvcNAQcBoIIFMgSCBS4wggUqMIIFJgYLKoZIhvcNAQwKAQKgggTuMIIE6jAcBgoqhkiG9w0BDAEDMA4ECMwUHG/3/JVkAgIIAASCBMivDxcmzXtuXLPeu468SGYRJk994sSYqjK6fKP4090KXsDgX+IkggKJWqZqyRb0Dq7EusKpMyrSJNtz9Cfl3+S/vsbX6mGz4TY1g4VNvkyJyUjqUjKIDL2SlULRa7ldEvpOciy0Ms/6PBQXOTyVr5Rd1dFUFSbkLAruIWTULK0OfQoFjuQXmDvunRBrqSbHtjID9m1OwdcTfzMGHjsXth3iSWSTTh5+Eg/6H+/9kGC9VEEURqFD3Gx2kWKjqSlZyf/LSOTBcQ6+qRQZT1B1ZnPAVBU9Xn9Z6Tq0EMNfNg9+pv1GlLBUg1Hqo8RAW1nNOBSBHXS0nq062j48luQOotthKOc1rkjQd91Q9qTLFlU12gllQw+ejHVVvEEPHtxJ7HVr/lvM/5mt2oObTJb01JcfVnYrnI3NnNSWRULx/tznhB2yoKqjtrnZAW3zNU9TQQVyLVjt2lIXhE4oXk0I+Cxmvbh+YJF6XLrATGc6yuL02ZInrC59ufkclcnjnTSGnXWr9gzIndZ6wSS0B+6bMpLxamvE4XDhAQCn6MEGGVcY9nMydxaWU3o7Is0J1nd/KZWgfXeOoZx10olSR22+PBKy8Gsge2mMbR2QvhUKNyXLTV3pOnxtjGf88PhseqDpwZ5++DOSFfi0spsDvfXJNO0F0f0JYrMNXbqlxO4uExj146thivXZVlR1n5Bo4eL0OoVIXn1w/MuU0suQvZm+kD8uVuajyBnJsnhsCWx2eTZ2vzHQTKB2EtYeDPioWSomTVVjIdg8A9pTzvvhe8MzFXvRMXFc9+ToN+uLjJqHRSmpZIGJvZQXCKrlCC9KRjP1HIhJhyfuYoEjTkF3IVeXS1tnA5CH5oilOG+guLKXNPWsrCXEpewz6i907ugx/VWTAmEMzYwMCDzCnW2l+mI8P56nWrwI0vDuk1GhIs6nn+Nhc6FPHD1996zyZ7hfmO7h25tto00IoVgI9QlhwtWLz10ZltLG581JvO7jEwT4u/nYxD7aO0Llb3ytNKihalFZMaY20a1dhVBsPwiWUpZcMmPoYySSiukyw350WiV/Z2NAsyeGRTWpdKcBi7gna0NN6fn0QLSdTcPKutASCplNExnI1IkkBFb3TmlF5HrrwmVht+vqxEHbRjDwEnKkvGcUbLWdjUjSWVNNbCbo8KbLAXcBPcjTHxIRw3gkLcS+yL0//uSENgo/LpHBZsO5d6as820lpYmHIjvyxhAMpMNlOPmUIW+cOgcf328wNaHaVWalIwfSGJdqGgC4msvP8vOcGWYgLkdrqJGWjhDs40x7LuFEBWgpgu6E2FfPOPTsqs5QxNKTgCw/eXjK92dZkdqO0Y7oLavU3OaJeWFJpAuZcC84Rwup2K0d4CXvZ0bOtpISSTr3VZeXRl8SkN2bQtgit9BJ2qGAy9blNObk1q8yOaVppercZMgG96DK23ZQ9uLRmliqytE1tXFKNKegwxGorKodoMwpRzClBz37KIYGJvFOYVya11v3gdcfeMcRTPdZG5dbI6US9DNk6fbShBJpc7PvYgMc8Vr+xEfzZXPnY2M8d+uJJomrU5ZQXcjy9jtyE4ToBz5ajh4Hq6Khlv6v5y2C+GrXb5+2KoSkcAYpTxlzAnjk9pYMZkwxJTAjBgkqhkiG9w0BCRUxFgQURdOwIJIHIprOPt5IqfZOf/7JJoQwMTAhMAkGBSsOAwIaBQAEFCaYzKHAOxuYPxNGezkbQ8Tp9cGsBAiTp8/jb7QK5AICCAAK' + password: '' + } +} + +resource gateway 'Microsoft.ApiManagement/service/gateways@2021-08-01' = { + parent: service + name: resource_name + properties: { + description: '' + locationData: { + city: '' + countryOrRegion: '' + district: '' + name: 'test' + } + } +} + +resource hostnameConfiguration 'Microsoft.ApiManagement/service/gateways/hostnameConfigurations@2021-08-01' = { + parent: gateway + name: resource_name + properties: { + certificateId: certificate.id + hostname: 'host-name-230630032559671742' + http2Enabled: true + negotiateClientCertificate: false + tls10Enabled: false + tls11Enabled: false + } +} + +resource service 'Microsoft.ApiManagement/service@2021-08-01' = { + location: location + name: resource_name + properties: { + certificates: [] + customProperties: { + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_GCM_SHA256': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_CBC_SHA256': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_GCM_SHA384': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11': 'false' + } + disableGateway: false + publicNetworkAccess: 'Enabled' + publisherEmail: 'pub1@email.com' + publisherName: 'pub1' + virtualNetworkType: 'None' + } + sku: { + capacity: 1 + name: 'Developer' + } +} + diff --git a/settings/remarks/microsoft.apimanagement/service/gateways/main.bicep b/settings/remarks/microsoft.apimanagement/service/gateways/main.bicep new file mode 100644 index 0000000..56f8cde --- /dev/null +++ b/settings/remarks/microsoft.apimanagement/service/gateways/main.bicep @@ -0,0 +1,53 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource gateway 'Microsoft.ApiManagement/service/gateways@2021-08-01' = { + parent: service + name: resource_name + properties: { + description: '' + locationData: { + city: '' + countryOrRegion: '' + district: '' + name: 'test' + } + } +} + +resource service 'Microsoft.ApiManagement/service@2021-08-01' = { + location: location + name: resource_name + properties: { + certificates: [] + customProperties: { + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_GCM_SHA256': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_CBC_SHA256': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_GCM_SHA384': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11': 'false' + } + disableGateway: false + publicNetworkAccess: 'Enabled' + publisherEmail: 'pub1@email.com' + publisherName: 'pub1' + virtualNetworkType: 'None' + } + sku: { + capacity: 1 + name: 'Developer' + } +} + diff --git a/settings/remarks/microsoft.apimanagement/service/groups/main.bicep b/settings/remarks/microsoft.apimanagement/service/groups/main.bicep new file mode 100644 index 0000000..7111d71 --- /dev/null +++ b/settings/remarks/microsoft.apimanagement/service/groups/main.bicep @@ -0,0 +1,50 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource group 'Microsoft.ApiManagement/service/groups@2021-08-01' = { + parent: service + name: resource_name + properties: { + description: '' + displayName: 'Test Group' + externalId: '' + type: 'custom' + } +} + +resource service 'Microsoft.ApiManagement/service@2021-08-01' = { + location: location + name: resource_name + properties: { + certificates: [] + customProperties: { + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_GCM_SHA256': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_CBC_SHA256': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_GCM_SHA384': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11': 'false' + } + disableGateway: false + publicNetworkAccess: 'Enabled' + publisherEmail: 'pub1@email.com' + publisherName: 'pub1' + virtualNetworkType: 'None' + } + sku: { + capacity: 1 + name: 'Developer' + } +} + diff --git a/settings/remarks/microsoft.apimanagement/service/identityproviders/main.bicep b/settings/remarks/microsoft.apimanagement/service/identityproviders/main.bicep new file mode 100644 index 0000000..e4bafe5 --- /dev/null +++ b/settings/remarks/microsoft.apimanagement/service/identityproviders/main.bicep @@ -0,0 +1,49 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource identityProvider 'Microsoft.ApiManagement/service/identityProviders@2021-08-01' = { + parent: service + name: 'twitter' + properties: { + clientId: '00000000000000000000000000000000' + clientSecret: '00000000000000000000000000000000' + type: 'twitter' + } +} + +resource service 'Microsoft.ApiManagement/service@2021-08-01' = { + location: location + name: resource_name + properties: { + certificates: [] + customProperties: { + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_GCM_SHA256': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_CBC_SHA256': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_GCM_SHA384': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11': 'false' + } + disableGateway: false + publicNetworkAccess: 'Enabled' + publisherEmail: 'pub1@email.com' + publisherName: 'pub1' + virtualNetworkType: 'None' + } + sku: { + capacity: 1 + name: 'Developer' + } +} + diff --git a/settings/remarks/microsoft.apimanagement/service/loggers/main.bicep b/settings/remarks/microsoft.apimanagement/service/loggers/main.bicep new file mode 100644 index 0000000..7dbaf4e --- /dev/null +++ b/settings/remarks/microsoft.apimanagement/service/loggers/main.bicep @@ -0,0 +1,56 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource component 'Microsoft.Insights/components@2020-02-02' = { + location: location + name: resource_name + kind: 'web' + properties: { + Application_Type: 'web' + DisableIpMasking: false + DisableLocalAuth: false + ForceCustomerStorageForProfiler: false + RetentionInDays: 90 + SamplingPercentage: 100 + publicNetworkAccessForIngestion: 'Enabled' + publicNetworkAccessForQuery: 'Enabled' + } +} + +resource logger 'Microsoft.ApiManagement/service/loggers@2021-08-01' = { + parent: service + name: resource_name + properties: { + credentials: { + instrumentationKey: component.properties.InstrumentationKey + } + description: '' + isBuffered: true + loggerType: 'applicationInsights' + } +} + +resource service 'Microsoft.ApiManagement/service@2021-08-01' = { + location: location + name: resource_name + properties: { + certificates: [] + customProperties: { + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11': 'false' + } + disableGateway: false + publicNetworkAccess: 'Enabled' + publisherEmail: 'pub1@email.com' + publisherName: 'pub1' + virtualNetworkType: 'None' + } + sku: { + capacity: 0 + name: 'Consumption' + } +} + diff --git a/settings/remarks/microsoft.apimanagement/service/main.bicep b/settings/remarks/microsoft.apimanagement/service/main.bicep new file mode 100644 index 0000000..ba545d1 --- /dev/null +++ b/settings/remarks/microsoft.apimanagement/service/main.bicep @@ -0,0 +1,39 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource service 'Microsoft.ApiManagement/service@2021-08-01' = { + location: location + name: resource_name + properties: { + certificates: [] + customProperties: { + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_GCM_SHA256': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_CBC_SHA256': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_GCM_SHA384': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11': 'false' + } + disableGateway: false + publicNetworkAccess: 'Enabled' + publisherEmail: 'pub1@email.com' + publisherName: 'pub1' + virtualNetworkType: 'None' + } + sku: { + capacity: 1 + name: 'Developer' + } +} + diff --git a/settings/remarks/microsoft.apimanagement/service/namedvalues/main.bicep b/settings/remarks/microsoft.apimanagement/service/namedvalues/main.bicep new file mode 100644 index 0000000..f5872f3 --- /dev/null +++ b/settings/remarks/microsoft.apimanagement/service/namedvalues/main.bicep @@ -0,0 +1,41 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource namedValue 'Microsoft.ApiManagement/service/namedValues@2021-08-01' = { + parent: service + name: resource_name + properties: { + displayName: 'TestProperty230630032559683679' + secret: false + tags: [ + 'tag1' + 'tag2' + ] + value: 'Test Value' + } +} + +resource service 'Microsoft.ApiManagement/service@2021-08-01' = { + location: location + name: resource_name + properties: { + certificates: [] + customProperties: { + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11': 'false' + } + disableGateway: false + publicNetworkAccess: 'Enabled' + publisherEmail: 'pub1@email.com' + publisherName: 'pub1' + virtualNetworkType: 'None' + } + sku: { + capacity: 0 + name: 'Consumption' + } +} + diff --git a/settings/remarks/microsoft.apimanagement/service/openidconnectproviders/main.bicep b/settings/remarks/microsoft.apimanagement/service/openidconnectproviders/main.bicep new file mode 100644 index 0000000..0694329 --- /dev/null +++ b/settings/remarks/microsoft.apimanagement/service/openidconnectproviders/main.bicep @@ -0,0 +1,39 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource openidConnectProvider 'Microsoft.ApiManagement/service/openidConnectProviders@2021-08-01' = { + parent: service + name: resource_name + properties: { + clientId: '00001111-2222-3333-230630032559684401' + clientSecret: '230630032559684401-cwdavsxbacsaxZX-230630032559684401' + description: '' + displayName: 'Initial Name' + metadataEndpoint: 'https://azacceptance.hashicorptest.com/example/foo' + } +} + +resource service 'Microsoft.ApiManagement/service@2021-08-01' = { + location: location + name: resource_name + properties: { + certificates: [] + customProperties: { + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11': 'false' + } + disableGateway: false + publicNetworkAccess: 'Enabled' + publisherEmail: 'pub1@email.com' + publisherName: 'pub1' + virtualNetworkType: 'None' + } + sku: { + capacity: 0 + name: 'Consumption' + } +} + diff --git a/settings/remarks/microsoft.apimanagement/service/policyfragments/main.bicep b/settings/remarks/microsoft.apimanagement/service/policyfragments/main.bicep new file mode 100644 index 0000000..644aa40 --- /dev/null +++ b/settings/remarks/microsoft.apimanagement/service/policyfragments/main.bicep @@ -0,0 +1,49 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource policyFragment 'Microsoft.ApiManagement/service/policyFragments@2021-12-01-preview' = { + parent: service + name: 'error-handler' + properties: { + description: 'Fragment for Error Handling' + format: 'xml' + value: ' \n \n \n \n' + } +} + +resource service 'Microsoft.ApiManagement/service@2021-08-01' = { + location: location + name: resource_name + properties: { + certificates: [] + customProperties: { + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_GCM_SHA256': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_CBC_SHA256': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_GCM_SHA384': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11': 'false' + } + disableGateway: false + publicNetworkAccess: 'Enabled' + publisherEmail: 'pub1@email.com' + publisherName: 'pub1' + virtualNetworkType: 'None' + } + sku: { + capacity: 1 + name: 'Developer' + } +} + diff --git a/settings/remarks/microsoft.apimanagement/service/portalsettings/main.bicep b/settings/remarks/microsoft.apimanagement/service/portalsettings/main.bicep new file mode 100644 index 0000000..ba545d1 --- /dev/null +++ b/settings/remarks/microsoft.apimanagement/service/portalsettings/main.bicep @@ -0,0 +1,39 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource service 'Microsoft.ApiManagement/service@2021-08-01' = { + location: location + name: resource_name + properties: { + certificates: [] + customProperties: { + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_GCM_SHA256': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_CBC_SHA256': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_GCM_SHA384': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11': 'false' + } + disableGateway: false + publicNetworkAccess: 'Enabled' + publisherEmail: 'pub1@email.com' + publisherName: 'pub1' + virtualNetworkType: 'None' + } + sku: { + capacity: 1 + name: 'Developer' + } +} + diff --git a/settings/remarks/microsoft.apimanagement/service/products/main.bicep b/settings/remarks/microsoft.apimanagement/service/products/main.bicep new file mode 100644 index 0000000..6c02ee4 --- /dev/null +++ b/settings/remarks/microsoft.apimanagement/service/products/main.bicep @@ -0,0 +1,39 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource product 'Microsoft.ApiManagement/service/products@2021-08-01' = { + parent: service + name: resource_name + properties: { + description: '' + displayName: 'Test Product' + state: 'notPublished' + subscriptionRequired: false + terms: '' + } +} + +resource service 'Microsoft.ApiManagement/service@2021-08-01' = { + location: location + name: resource_name + properties: { + certificates: [] + customProperties: { + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11': 'false' + } + disableGateway: false + publicNetworkAccess: 'Enabled' + publisherEmail: 'pub1@email.com' + publisherName: 'pub1' + virtualNetworkType: 'None' + } + sku: { + capacity: 0 + name: 'Consumption' + } +} + diff --git a/settings/remarks/microsoft.apimanagement/service/products/policies/main.bicep b/settings/remarks/microsoft.apimanagement/service/products/policies/main.bicep new file mode 100644 index 0000000..a828816 --- /dev/null +++ b/settings/remarks/microsoft.apimanagement/service/products/policies/main.bicep @@ -0,0 +1,48 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource policy2 'Microsoft.ApiManagement/service/products/policies@2021-08-01' = { + parent: product + name: 'policy' + properties: { + format: 'rawxml-link' + value: 'https://gist.githubusercontent.com/riordanp/ca22f8113afae0eb38cc12d718fd048d/raw/d6ac89a2f35a6881a7729f8cb4883179dc88eea1/example.xml' + } +} + +resource product 'Microsoft.ApiManagement/service/products@2021-08-01' = { + parent: service + name: resource_name + properties: { + description: '' + displayName: 'Test Product' + state: 'notPublished' + subscriptionRequired: false + terms: '' + } +} + +resource service 'Microsoft.ApiManagement/service@2021-08-01' = { + location: location + name: resource_name + properties: { + certificates: [] + customProperties: { + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11': 'false' + } + disableGateway: false + publicNetworkAccess: 'Enabled' + publisherEmail: 'pub1@email.com' + publisherName: 'pub1' + virtualNetworkType: 'None' + } + sku: { + capacity: 0 + name: 'Consumption' + } +} + diff --git a/settings/remarks/microsoft.apimanagement/service/products/tags/main.bicep b/settings/remarks/microsoft.apimanagement/service/products/tags/main.bicep new file mode 100644 index 0000000..5c32e41 --- /dev/null +++ b/settings/remarks/microsoft.apimanagement/service/products/tags/main.bicep @@ -0,0 +1,52 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource product 'Microsoft.ApiManagement/service/products@2021-08-01' = { + parent: service + name: resource_name + properties: { + description: '' + displayName: 'Test Product' + state: 'notPublished' + subscriptionRequired: false + terms: '' + } +} + +resource service 'Microsoft.ApiManagement/service@2021-08-01' = { + location: location + name: resource_name + properties: { + certificates: [] + customProperties: { + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11': 'false' + } + disableGateway: false + publicNetworkAccess: 'Enabled' + publisherEmail: 'pub1@email.com' + publisherName: 'pub1' + virtualNetworkType: 'None' + } + sku: { + capacity: 0 + name: 'Consumption' + } +} + +resource service_tag 'Microsoft.ApiManagement/service/tags@2021-08-01' = { + parent: service + name: resource_name + properties: { + displayName: resource_name + } +} + +resource tag 'Microsoft.ApiManagement/service/products/tags@2021-08-01' = { + parent: product + name: service_tag.name +} + diff --git a/settings/remarks/microsoft.apimanagement/service/schemas/main.bicep b/settings/remarks/microsoft.apimanagement/service/schemas/main.bicep new file mode 100644 index 0000000..103e9c9 --- /dev/null +++ b/settings/remarks/microsoft.apimanagement/service/schemas/main.bicep @@ -0,0 +1,37 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource schema 'Microsoft.ApiManagement/service/schemas@2021-08-01' = { + parent: service + name: resource_name + properties: { + description: '' + schemaType: 'xml' + value: ' \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n' + } +} + +resource service 'Microsoft.ApiManagement/service@2021-08-01' = { + location: location + name: resource_name + properties: { + certificates: [] + customProperties: { + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11': 'false' + } + disableGateway: false + publicNetworkAccess: 'Enabled' + publisherEmail: 'pub1@email.com' + publisherName: 'pub1' + virtualNetworkType: 'None' + } + sku: { + capacity: 0 + name: 'Consumption' + } +} + diff --git a/settings/remarks/microsoft.apimanagement/service/subscriptions/main.bicep b/settings/remarks/microsoft.apimanagement/service/subscriptions/main.bicep new file mode 100644 index 0000000..f3cd689 --- /dev/null +++ b/settings/remarks/microsoft.apimanagement/service/subscriptions/main.bicep @@ -0,0 +1,73 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource product 'Microsoft.ApiManagement/service/products@2021-08-01' = { + parent: service + name: resource_name + properties: { + description: '' + displayName: 'Test Product' + state: 'published' + subscriptionRequired: true + terms: '' + } +} + +resource service 'Microsoft.ApiManagement/service@2021-08-01' = { + location: location + name: resource_name + properties: { + certificates: [] + customProperties: { + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_GCM_SHA256': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_CBC_SHA256': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_GCM_SHA384': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11': 'false' + } + disableGateway: false + publicNetworkAccess: 'Enabled' + publisherEmail: 'pub1@email.com' + publisherName: 'pub1' + virtualNetworkType: 'None' + } + sku: { + capacity: 1 + name: 'Developer' + } +} + +resource subscription 'Microsoft.ApiManagement/service/subscriptions@2021-08-01' = { + parent: service + name: '0f393927-8f2d-499d-906f-c03943328d31' + properties: { + allowTracing: true + displayName: 'Butter Parser API Enterprise Edition' + ownerId: user.id + scope: product.id + state: 'submitted' + } +} + +resource user 'Microsoft.ApiManagement/service/users@2021-08-01' = { + parent: service + name: resource_name + properties: { + email: 'azure-acctest230630032559695401@example.com' + firstName: 'Acceptance' + lastName: 'Test' + } +} + diff --git a/settings/remarks/microsoft.apimanagement/service/tags/main.bicep b/settings/remarks/microsoft.apimanagement/service/tags/main.bicep new file mode 100644 index 0000000..f678bb5 --- /dev/null +++ b/settings/remarks/microsoft.apimanagement/service/tags/main.bicep @@ -0,0 +1,35 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource service 'Microsoft.ApiManagement/service@2021-08-01' = { + location: location + name: resource_name + properties: { + certificates: [] + customProperties: { + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11': 'false' + } + disableGateway: false + publicNetworkAccess: 'Enabled' + publisherEmail: 'pub1@email.com' + publisherName: 'pub1' + virtualNetworkType: 'None' + } + sku: { + capacity: 0 + name: 'Consumption' + } +} + +resource tag 'Microsoft.ApiManagement/service/tags@2021-08-01' = { + parent: service + name: resource_name + properties: { + displayName: resource_name + } +} + diff --git a/settings/remarks/microsoft.apimanagement/service/templates/main.bicep b/settings/remarks/microsoft.apimanagement/service/templates/main.bicep new file mode 100644 index 0000000..ba545d1 --- /dev/null +++ b/settings/remarks/microsoft.apimanagement/service/templates/main.bicep @@ -0,0 +1,39 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource service 'Microsoft.ApiManagement/service@2021-08-01' = { + location: location + name: resource_name + properties: { + certificates: [] + customProperties: { + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_GCM_SHA256': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_CBC_SHA256': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_GCM_SHA384': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11': 'false' + } + disableGateway: false + publicNetworkAccess: 'Enabled' + publisherEmail: 'pub1@email.com' + publisherName: 'pub1' + virtualNetworkType: 'None' + } + sku: { + capacity: 1 + name: 'Developer' + } +} + diff --git a/settings/remarks/microsoft.apimanagement/service/users/main.bicep b/settings/remarks/microsoft.apimanagement/service/users/main.bicep new file mode 100644 index 0000000..c502461 --- /dev/null +++ b/settings/remarks/microsoft.apimanagement/service/users/main.bicep @@ -0,0 +1,49 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource service 'Microsoft.ApiManagement/service@2021-08-01' = { + location: location + name: resource_name + properties: { + certificates: [] + customProperties: { + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_GCM_SHA256': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_CBC_SHA': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_CBC_SHA256': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_256_GCM_SHA384': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Ssl30': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10': 'false' + 'Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11': 'false' + } + disableGateway: false + publicNetworkAccess: 'Enabled' + publisherEmail: 'pub1@email.com' + publisherName: 'pub1' + virtualNetworkType: 'None' + } + sku: { + capacity: 1 + name: 'Developer' + } +} + +resource user 'Microsoft.ApiManagement/service/users@2021-08-01' = { + parent: service + name: resource_name + properties: { + email: 'azure-acctest230630032559695401@example.com' + firstName: 'Acceptance' + lastName: 'Test' + } +} + diff --git a/settings/remarks/microsoft.appconfiguration/configurationstores/main.bicep b/settings/remarks/microsoft.appconfiguration/configurationstores/main.bicep new file mode 100644 index 0000000..6f25c24 --- /dev/null +++ b/settings/remarks/microsoft.appconfiguration/configurationstores/main.bicep @@ -0,0 +1,15 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource configurationStore 'Microsoft.AppConfiguration/configurationStores@2023-03-01' = { + location: location + name: resource_name + properties: { + disableLocalAuth: false + enablePurgeProtection: false + } + sku: { + name: 'standard' + } +} + diff --git a/settings/remarks/microsoft.appconfiguration/remarks.json b/settings/remarks/microsoft.appconfiguration/remarks.json new file mode 100644 index 0000000..b2be350 --- /dev/null +++ b/settings/remarks/microsoft.appconfiguration/remarks.json @@ -0,0 +1,10 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.AppConfiguration/configurationStores", + "Path": "configurationstores/main.bicep", + "Description": "Basic sample for Microsoft.AppConfiguration/configurationStores@2023-03-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.appplatform/remarks.json b/settings/remarks/microsoft.appplatform/remarks.json new file mode 100644 index 0000000..4e95629 --- /dev/null +++ b/settings/remarks/microsoft.appplatform/remarks.json @@ -0,0 +1,95 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.AppPlatform/Spring", + "Path": "spring/main.bicep", + "Description": "Basic sample for Microsoft.AppPlatform/Spring@2023-05-01-preview." + }, + { + "ResourceType": "Microsoft.AppPlatform/Spring", + "Path": "spring/devtoolportals/main.bicep", + "Description": "Basic sample for Microsoft.AppPlatform/Spring/DevToolPortals@2023-05-01-preview." + }, + { + "ResourceType": "Microsoft.AppPlatform/Spring", + "Path": "spring/apiportals/main.bicep", + "Description": "Basic sample for Microsoft.AppPlatform/Spring/apiPortals@2023-05-01-preview." + }, + { + "ResourceType": "Microsoft.AppPlatform/Spring", + "Path": "spring/apiportals/domains/main.bicep", + "Description": "Basic sample for Microsoft.AppPlatform/Spring/apiPortals/domains@2023-05-01-preview." + }, + { + "ResourceType": "Microsoft.AppPlatform/Spring", + "Path": "spring/applicationaccelerators/main.bicep", + "Description": "Basic sample for Microsoft.AppPlatform/Spring/applicationAccelerators@2023-05-01-preview." + }, + { + "ResourceType": "Microsoft.AppPlatform/Spring", + "Path": "spring/applicationaccelerators/customizedaccelerators/main.bicep", + "Description": "Basic sample for Microsoft.AppPlatform/Spring/applicationAccelerators/customizedAccelerators@2023-05-01-preview." + }, + { + "ResourceType": "Microsoft.AppPlatform/Spring", + "Path": "spring/applicationliveviews/main.bicep", + "Description": "Basic sample for Microsoft.AppPlatform/Spring/applicationLiveViews@2023-05-01-preview." + }, + { + "ResourceType": "Microsoft.AppPlatform/Spring", + "Path": "spring/apps/main.bicep", + "Description": "Basic sample for Microsoft.AppPlatform/Spring/apps@2023-05-01-preview." + }, + { + "ResourceType": "Microsoft.AppPlatform/Spring", + "Path": "spring/apps/deployments/main.bicep", + "Description": "Basic sample for Microsoft.AppPlatform/Spring/apps/deployments@2023-05-01-preview." + }, + { + "ResourceType": "Microsoft.AppPlatform/Spring", + "Path": "spring/buildservices/main.bicep", + "Description": "Basic sample for Microsoft.AppPlatform/Spring/buildServices@2023-05-01-preview." + }, + { + "ResourceType": "Microsoft.AppPlatform/Spring", + "Path": "spring/buildservices/builders/main.bicep", + "Description": "Basic sample for Microsoft.AppPlatform/Spring/buildServices/builders@2023-05-01-preview." + }, + { + "ResourceType": "Microsoft.AppPlatform/Spring", + "Path": "spring/buildservices/builders/buildpackbindings/main.bicep", + "Description": "Basic sample for Microsoft.AppPlatform/Spring/buildServices/builders/buildpackBindings@2023-05-01-preview." + }, + { + "ResourceType": "Microsoft.AppPlatform/Spring", + "Path": "spring/configservers/main.bicep", + "Description": "Basic sample for Microsoft.AppPlatform/Spring/configServers@2023-05-01-preview." + }, + { + "ResourceType": "Microsoft.AppPlatform/Spring", + "Path": "spring/configurationservices/main.bicep", + "Description": "Basic sample for Microsoft.AppPlatform/Spring/configurationServices@2023-05-01-preview." + }, + { + "ResourceType": "Microsoft.AppPlatform/Spring", + "Path": "spring/gateways/main.bicep", + "Description": "Basic sample for Microsoft.AppPlatform/Spring/gateways@2023-05-01-preview." + }, + { + "ResourceType": "Microsoft.AppPlatform/Spring", + "Path": "spring/gateways/domains/main.bicep", + "Description": "Basic sample for Microsoft.AppPlatform/Spring/gateways/domains@2023-05-01-preview." + }, + { + "ResourceType": "Microsoft.AppPlatform/Spring", + "Path": "spring/gateways/routeconfigs/main.bicep", + "Description": "Basic sample for Microsoft.AppPlatform/Spring/gateways/routeConfigs@2023-05-01-preview." + }, + { + "ResourceType": "Microsoft.AppPlatform/Spring", + "Path": "spring/monitoringsettings/main.bicep", + "Description": "Basic sample for Microsoft.AppPlatform/Spring/monitoringSettings@2023-05-01-preview." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.appplatform/spring/apiportals/domains/main.bicep b/settings/remarks/microsoft.appplatform/spring/apiportals/domains/main.bicep new file mode 100644 index 0000000..97f07b8 --- /dev/null +++ b/settings/remarks/microsoft.appplatform/spring/apiportals/domains/main.bicep @@ -0,0 +1,37 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource Spring 'Microsoft.AppPlatform/Spring@2023-05-01-preview' = { + location: location + name: resource_name + properties: { + zoneRedundant: false + } + sku: { + name: 'E0' + } +} + +resource apiPortal 'Microsoft.AppPlatform/Spring/apiPortals@2023-05-01-preview' = { + parent: Spring + name: 'default' + properties: { + gatewayIds: [] + httpsOnly: false + public: false + } + sku: { + capacity: 1 + name: 'E0' + tier: 'Enterprise' + } +} + +resource domain 'Microsoft.AppPlatform/Spring/apiPortals/domains@2023-05-01-preview' = { + parent: apiPortal + name: '${resource_name}.azuremicroservices.io' + properties: { + thumbprint: '' + } +} + diff --git a/settings/remarks/microsoft.appplatform/spring/apiportals/main.bicep b/settings/remarks/microsoft.appplatform/spring/apiportals/main.bicep new file mode 100644 index 0000000..39dc5e5 --- /dev/null +++ b/settings/remarks/microsoft.appplatform/spring/apiportals/main.bicep @@ -0,0 +1,29 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource Spring 'Microsoft.AppPlatform/Spring@2023-05-01-preview' = { + location: location + name: resource_name + properties: { + zoneRedundant: false + } + sku: { + name: 'E0' + } +} + +resource apiPortal 'Microsoft.AppPlatform/Spring/apiPortals@2023-05-01-preview' = { + parent: Spring + name: 'default' + properties: { + gatewayIds: [] + httpsOnly: false + public: false + } + sku: { + capacity: 1 + name: 'E0' + tier: 'Enterprise' + } +} + diff --git a/settings/remarks/microsoft.appplatform/spring/applicationaccelerators/customizedaccelerators/main.bicep b/settings/remarks/microsoft.appplatform/spring/applicationaccelerators/customizedaccelerators/main.bicep new file mode 100644 index 0000000..19003c7 --- /dev/null +++ b/settings/remarks/microsoft.appplatform/spring/applicationaccelerators/customizedaccelerators/main.bicep @@ -0,0 +1,38 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource Spring 'Microsoft.AppPlatform/Spring@2023-05-01-preview' = { + location: location + name: resource_name + properties: { + zoneRedundant: false + } + sku: { + name: 'E0' + } +} + +resource applicationAccelerator 'Microsoft.AppPlatform/Spring/applicationAccelerators@2023-05-01-preview' = { + parent: Spring + name: 'default' +} + +resource customizedAccelerator 'Microsoft.AppPlatform/Spring/applicationAccelerators/customizedAccelerators@2023-05-01-preview' = { + parent: applicationAccelerator + name: resource_name + properties: { + description: '' + displayName: '' + gitRepository: { + authSetting: { + authType: 'Public' + } + branch: 'master' + commit: '' + gitTag: '' + url: 'https://github.com/Azure-Samples/piggymetrics' + } + iconUrl: '' + } +} + diff --git a/settings/remarks/microsoft.appplatform/spring/applicationaccelerators/main.bicep b/settings/remarks/microsoft.appplatform/spring/applicationaccelerators/main.bicep new file mode 100644 index 0000000..b64cf45 --- /dev/null +++ b/settings/remarks/microsoft.appplatform/spring/applicationaccelerators/main.bicep @@ -0,0 +1,19 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource Spring 'Microsoft.AppPlatform/Spring@2023-05-01-preview' = { + location: location + name: resource_name + properties: { + zoneRedundant: false + } + sku: { + name: 'E0' + } +} + +resource applicationAccelerator 'Microsoft.AppPlatform/Spring/applicationAccelerators@2023-05-01-preview' = { + parent: Spring + name: 'default' +} + diff --git a/settings/remarks/microsoft.appplatform/spring/applicationliveviews/main.bicep b/settings/remarks/microsoft.appplatform/spring/applicationliveviews/main.bicep new file mode 100644 index 0000000..96abff6 --- /dev/null +++ b/settings/remarks/microsoft.appplatform/spring/applicationliveviews/main.bicep @@ -0,0 +1,19 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource Spring 'Microsoft.AppPlatform/Spring@2023-05-01-preview' = { + location: location + name: resource_name + properties: { + zoneRedundant: false + } + sku: { + name: 'E0' + } +} + +resource applicationLiveView 'Microsoft.AppPlatform/Spring/applicationLiveViews@2023-05-01-preview' = { + parent: Spring + name: 'default' +} + diff --git a/settings/remarks/microsoft.appplatform/spring/apps/deployments/main.bicep b/settings/remarks/microsoft.appplatform/spring/apps/deployments/main.bicep new file mode 100644 index 0000000..40bfaaa --- /dev/null +++ b/settings/remarks/microsoft.appplatform/spring/apps/deployments/main.bicep @@ -0,0 +1,50 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource Spring 'Microsoft.AppPlatform/Spring@2023-05-01-preview' = { + location: location + name: resource_name + properties: { + zoneRedundant: false + } + sku: { + name: 'E0' + } +} + +resource app 'Microsoft.AppPlatform/Spring/apps@2023-05-01-preview' = { + parent: Spring + location: location + name: resource_name + properties: { + customPersistentDisks: [] + enableEndToEndTLS: false + public: false + } +} + +resource deployment 'Microsoft.AppPlatform/Spring/apps/deployments@2023-05-01-preview' = { + parent: app + name: resource_name + properties: { + deploymentSettings: { + environmentVariables: {} + } + source: { + customContainer: { + args: [] + command: [] + containerImage: 'springio/gs-spring-boot-docker' + languageFramework: '' + server: 'docker.io' + } + type: 'Container' + } + } + sku: { + capacity: 1 + name: 'E0' + tier: 'Enterprise' + } +} + diff --git a/settings/remarks/microsoft.appplatform/spring/apps/main.bicep b/settings/remarks/microsoft.appplatform/spring/apps/main.bicep new file mode 100644 index 0000000..d4e2629 --- /dev/null +++ b/settings/remarks/microsoft.appplatform/spring/apps/main.bicep @@ -0,0 +1,25 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource Spring 'Microsoft.AppPlatform/Spring@2023-05-01-preview' = { + location: location + name: resource_name + properties: { + zoneRedundant: false + } + sku: { + name: 'E0' + } +} + +resource app 'Microsoft.AppPlatform/Spring/apps@2023-05-01-preview' = { + parent: Spring + location: location + name: resource_name + properties: { + customPersistentDisks: [] + enableEndToEndTLS: false + public: false + } +} + diff --git a/settings/remarks/microsoft.appplatform/spring/buildservices/builders/buildpackbindings/main.bicep b/settings/remarks/microsoft.appplatform/spring/buildservices/builders/buildpackbindings/main.bicep new file mode 100644 index 0000000..cd43680 --- /dev/null +++ b/settings/remarks/microsoft.appplatform/spring/buildservices/builders/buildpackbindings/main.bicep @@ -0,0 +1,42 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource Spring 'Microsoft.AppPlatform/Spring@2023-05-01-preview' = { + location: location + name: resource_name + properties: { + zoneRedundant: false + } + sku: { + name: 'E0' + } +} + +resource builder 'Microsoft.AppPlatform/Spring/buildServices/builders@2023-05-01-preview' = { + name: resource_name + properties: { + buildpackGroups: [ + { + buildpacks: [ + { + id: 'tanzu-buildpacks/java-azure' + } + ] + name: 'mix' + } + ] + stack: { + id: 'io.buildpacks.stacks.bionic' + version: 'base' + } + } +} + +resource buildpackBinding 'Microsoft.AppPlatform/Spring/buildServices/builders/buildpackBindings@2023-05-01-preview' = { + parent: builder + name: resource_name + properties: { + bindingType: 'ApplicationInsights' + } +} + diff --git a/settings/remarks/microsoft.appplatform/spring/buildservices/builders/main.bicep b/settings/remarks/microsoft.appplatform/spring/buildservices/builders/main.bicep new file mode 100644 index 0000000..6b474d8 --- /dev/null +++ b/settings/remarks/microsoft.appplatform/spring/buildservices/builders/main.bicep @@ -0,0 +1,34 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource Spring 'Microsoft.AppPlatform/Spring@2023-05-01-preview' = { + location: location + name: resource_name + properties: { + zoneRedundant: false + } + sku: { + name: 'E0' + } +} + +resource builder 'Microsoft.AppPlatform/Spring/buildServices/builders@2023-05-01-preview' = { + name: resource_name + properties: { + buildpackGroups: [ + { + buildpacks: [ + { + id: 'tanzu-buildpacks/java-azure' + } + ] + name: 'mix' + } + ] + stack: { + id: 'io.buildpacks.stacks.bionic' + version: 'base' + } + } +} + diff --git a/settings/remarks/microsoft.appplatform/spring/buildservices/main.bicep b/settings/remarks/microsoft.appplatform/spring/buildservices/main.bicep new file mode 100644 index 0000000..8ede8f3 --- /dev/null +++ b/settings/remarks/microsoft.appplatform/spring/buildservices/main.bicep @@ -0,0 +1,14 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource Spring 'Microsoft.AppPlatform/Spring@2023-05-01-preview' = { + location: location + name: resource_name + properties: { + zoneRedundant: false + } + sku: { + name: 'E0' + } +} + diff --git a/settings/remarks/microsoft.appplatform/spring/configservers/main.bicep b/settings/remarks/microsoft.appplatform/spring/configservers/main.bicep new file mode 100644 index 0000000..fff9960 --- /dev/null +++ b/settings/remarks/microsoft.appplatform/spring/configservers/main.bicep @@ -0,0 +1,14 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource Spring 'Microsoft.AppPlatform/Spring@2023-05-01-preview' = { + location: location + name: resource_name + properties: { + zoneRedundant: false + } + sku: { + name: 'S0' + } +} + diff --git a/settings/remarks/microsoft.appplatform/spring/configurationservices/main.bicep b/settings/remarks/microsoft.appplatform/spring/configurationservices/main.bicep new file mode 100644 index 0000000..88babd5 --- /dev/null +++ b/settings/remarks/microsoft.appplatform/spring/configurationservices/main.bicep @@ -0,0 +1,24 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource Spring 'Microsoft.AppPlatform/Spring@2023-05-01-preview' = { + location: location + name: resource_name + properties: { + zoneRedundant: false + } + sku: { + name: 'E0' + } +} + +resource configurationService 'Microsoft.AppPlatform/Spring/configurationServices@2023-05-01-preview' = { + parent: Spring + name: 'default' + properties: { + settings: { + gitProperty: {} + } + } +} + diff --git a/settings/remarks/microsoft.appplatform/spring/devtoolportals/main.bicep b/settings/remarks/microsoft.appplatform/spring/devtoolportals/main.bicep new file mode 100644 index 0000000..20ef9ea --- /dev/null +++ b/settings/remarks/microsoft.appplatform/spring/devtoolportals/main.bicep @@ -0,0 +1,30 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource DevToolPortal 'Microsoft.AppPlatform/Spring/DevToolPortals@2023-05-01-preview' = { + parent: Spring + name: 'default' + properties: { + features: { + applicationAccelerator: { + state: 'Disabled' + } + applicationLiveView: { + state: 'Disabled' + } + } + public: false + } +} + +resource Spring 'Microsoft.AppPlatform/Spring@2023-05-01-preview' = { + location: location + name: resource_name + properties: { + zoneRedundant: false + } + sku: { + name: 'E0' + } +} + diff --git a/settings/remarks/microsoft.appplatform/spring/gateways/domains/main.bicep b/settings/remarks/microsoft.appplatform/spring/gateways/domains/main.bicep new file mode 100644 index 0000000..e28c6c7 --- /dev/null +++ b/settings/remarks/microsoft.appplatform/spring/gateways/domains/main.bicep @@ -0,0 +1,36 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource Spring 'Microsoft.AppPlatform/Spring@2023-05-01-preview' = { + location: location + name: resource_name + properties: { + zoneRedundant: false + } + sku: { + name: 'E0' + } +} + +resource domain 'Microsoft.AppPlatform/Spring/gateways/domains@2023-05-01-preview' = { + parent: gateway + name: '${resource_name}.azuremicroservices.io' + properties: { + thumbprint: '' + } +} + +resource gateway 'Microsoft.AppPlatform/Spring/gateways@2023-05-01-preview' = { + parent: Spring + name: 'default' + properties: { + httpsOnly: false + public: false + } + sku: { + capacity: 1 + name: 'E0' + tier: 'Enterprise' + } +} + diff --git a/settings/remarks/microsoft.appplatform/spring/gateways/main.bicep b/settings/remarks/microsoft.appplatform/spring/gateways/main.bicep new file mode 100644 index 0000000..f278feb --- /dev/null +++ b/settings/remarks/microsoft.appplatform/spring/gateways/main.bicep @@ -0,0 +1,28 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource Spring 'Microsoft.AppPlatform/Spring@2023-05-01-preview' = { + location: location + name: resource_name + properties: { + zoneRedundant: false + } + sku: { + name: 'E0' + } +} + +resource gateway 'Microsoft.AppPlatform/Spring/gateways@2023-05-01-preview' = { + parent: Spring + name: 'default' + properties: { + httpsOnly: false + public: false + } + sku: { + capacity: 1 + name: 'E0' + tier: 'Enterprise' + } +} + diff --git a/settings/remarks/microsoft.appplatform/spring/gateways/routeconfigs/main.bicep b/settings/remarks/microsoft.appplatform/spring/gateways/routeconfigs/main.bicep new file mode 100644 index 0000000..435017d --- /dev/null +++ b/settings/remarks/microsoft.appplatform/spring/gateways/routeconfigs/main.bicep @@ -0,0 +1,50 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource Spring 'Microsoft.AppPlatform/Spring@2023-05-01-preview' = { + location: location + name: resource_name + properties: { + zoneRedundant: false + } + sku: { + name: 'E0' + } +} + +resource app 'Microsoft.AppPlatform/Spring/apps@2023-05-01-preview' = { + parent: Spring + location: location + name: resource_name + properties: { + customPersistentDisks: [] + enableEndToEndTLS: false + public: false + } +} + +resource gateway 'Microsoft.AppPlatform/Spring/gateways@2023-05-01-preview' = { + parent: Spring + name: 'default' + properties: { + httpsOnly: false + public: false + } + sku: { + capacity: 1 + name: 'E0' + tier: 'Enterprise' + } +} + +resource routeConfig 'Microsoft.AppPlatform/Spring/gateways/routeConfigs@2023-05-01-preview' = { + parent: gateway + name: resource_name + properties: { + appResourceId: app.id + protocol: 'HTTP' + routes: [] + ssoEnabled: false + } +} + diff --git a/settings/remarks/microsoft.appplatform/spring/main.bicep b/settings/remarks/microsoft.appplatform/spring/main.bicep new file mode 100644 index 0000000..fff9960 --- /dev/null +++ b/settings/remarks/microsoft.appplatform/spring/main.bicep @@ -0,0 +1,14 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource Spring 'Microsoft.AppPlatform/Spring@2023-05-01-preview' = { + location: location + name: resource_name + properties: { + zoneRedundant: false + } + sku: { + name: 'S0' + } +} + diff --git a/settings/remarks/microsoft.appplatform/spring/monitoringsettings/main.bicep b/settings/remarks/microsoft.appplatform/spring/monitoringsettings/main.bicep new file mode 100644 index 0000000..fff9960 --- /dev/null +++ b/settings/remarks/microsoft.appplatform/spring/monitoringsettings/main.bicep @@ -0,0 +1,14 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource Spring 'Microsoft.AppPlatform/Spring@2023-05-01-preview' = { + location: location + name: resource_name + properties: { + zoneRedundant: false + } + sku: { + name: 'S0' + } +} + diff --git a/settings/remarks/microsoft.automanage/configurationprofiles/main.bicep b/settings/remarks/microsoft.automanage/configurationprofiles/main.bicep new file mode 100644 index 0000000..ecc5170 --- /dev/null +++ b/settings/remarks/microsoft.automanage/configurationprofiles/main.bicep @@ -0,0 +1,11 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource configurationProfile 'Microsoft.Automanage/configurationProfiles@2022-05-04' = { + location: location + name: resource_name + properties: { + configuration: {} + } +} + diff --git a/settings/remarks/microsoft.automanage/remarks.json b/settings/remarks/microsoft.automanage/remarks.json new file mode 100644 index 0000000..b898392 --- /dev/null +++ b/settings/remarks/microsoft.automanage/remarks.json @@ -0,0 +1,10 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.Automanage/configurationProfiles", + "Path": "configurationprofiles/main.bicep", + "Description": "Basic sample for Microsoft.Automanage/configurationProfiles@2022-05-04." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.automation/automationaccounts/certificates/main.bicep b/settings/remarks/microsoft.automation/automationaccounts/certificates/main.bicep new file mode 100644 index 0000000..e7ca4d4 --- /dev/null +++ b/settings/remarks/microsoft.automation/automationaccounts/certificates/main.bicep @@ -0,0 +1,27 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource automationAccount 'Microsoft.Automation/automationAccounts@2021-06-22' = { + location: location + name: resource_name + properties: { + encryption: { + keySource: 'Microsoft.Automation' + } + publicNetworkAccess: true + sku: { + name: 'Basic' + } + } +} + +resource certificate 'Microsoft.Automation/automationAccounts/certificates@2020-01-13-preview' = { + parent: automationAccount + name: resource_name + properties: { + base64Value: 'MIIJXQIBAzCCCSMGCSqGSIb3DQEHAaCCCRQEggkQMIIJDDCCA0cGCSqGSIb3DQEHBqCCAzgwggM0AgEAMIIDLQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIgZpS0MR7AtwCAggAgIIDABD/o+pR2WXdr9RKUXVH3+L5/iNcSEAf5IFtBs2DftFE4wF+y32TUsp67M0LY4YfGLs3UEyv6qL2Mf1/nHRL87CaKWza9Dzz1H+TWIffA2fj/AsqLr+6QDJ4Ur9cvmvqdL2xL0hfmWt3RwCn7F0JLBfwLeColacsLkEqwqStGkFvjQ8r2CJ+E0xZ8GRzOdT8TOz0cGNzDl3dkSeRGYqDQ5/5NlGE6n3MJTqhullbff61hM6NBEZyB9xhNNs6zkT5j6Askx40YFpEStdFJ1TQSRMLDoCEpb6lqYY+HQ07ezoxYKvK/XMq43eN15sZz320ktkEkUF5ICyAry+ud1Cd6ReSV6ai4JvOaZGNwLVuFxinAq8TXqpBlqLOQSJCA6dItWo1O4snfPKTqblj8LxRYecLR8Pl9R55iVf2rh6p70b89UviTWrdlnUxhz3Ilb2CDC1dFIZCy8/qVA7pT0NwfNrhCIqv+qUrIRdhMAJkifa61EIQPUKJaWJutpnBHg82T1FKKpuIqgQvHnsctrQegW1KdF1WJKa/p8knRbKKeID4TQxM/c5+GdP+wAfsNjEedoZ4Z9Ud69ZMGYHrv21CgdafSzfhSecuz89kDzG8XNVXjIjhRA3aRkxMXK+xPD2ikmy0kZjBchpTbzy7zfC8SHfKypUkYTSqbQKakgqSQY9Ydd0XxGS+GovQ4TgCDr1qHCP8KYhtYbuW8PPDUblhLOxJzP3AzDbmMuZfFrRzUrq24F8FgOVvFiGrvLVgOXzMOX+mah+cli5fw3XqnBeu72yYhhXi/jxCHZ4C8I2T0okcCu016f4a0T9+dx///F7HsEjIkGI/Vrpiqiwclu1BXdiUwGpWBDvMHjTa0nD/2mqMZzSD6KclmeuQEzGLcgbVUzcg2VYGMfw8PHlDJNCJVZKf6TaK39+M+tW1BRB4/vSjBeZ2rSHDHzIykUGWmowPnb8mb50CaRa3k1iqhGmzcIaGbsDupPc+lTXB+VuaDQT+WAquINnhKQqIsgopDvmh1zCCBb0GCSqGSIb3DQEHAaCCBa4EggWqMIIFpjCCBaIGCyqGSIb3DQEMCgECoIIE7jCCBOowHAYKKoZIhvcNAQwBAzAOBAicxAYjkBRUlAICCAAEggTI6TAZVzV4qOBs34TeAIembvZyAxzknzIMB1jdKWQJgRXbeICY9v4ch68ilhKJGkzexOwqaEcOuB7rG8GKw4f+DIimLTSpHdKXpqVlUbhapQxnKvOvrcX3jJrfBmXu7cqaEXwol5b6Sx4zKbryAyNqACHxD2XOeUFG0man/aoVrJVfyLgv4i+K/I3hNwtaX4NY4Yegmlm05MH+pInHmt2lNKLKJhwgMiImarmoixFymSvt/4bqBfZMzXf4iWzacK+MjHVLZL6B7AeY026AGEOmlH/yEQCpee/LXzkpG3iAABQlVPuioYTv7svTiEi9IQa3qg2xjLQKAC8rsaUabNZ4rRJgmU2BNrzhgkNpKCjtLqpXMUB+hGi8njlLVciIxjElG3xpu829sNCm/hnXUyTiGvamNbQ0LfsFBttXX0OtnYeWoaBQMUsPsnc7HqsPVo2TD29PMs6Pgh2k6H6L7HSUWv5TN7kRFujDGCG79AKjSHTlF6htrioo3ZZRxUMOAWB4KBrLxLrR3Fs1B5etvvUd+nG2GY4sKZf2ezwblfjCqNYX2CmbH8xT+2L0WRBfp+QsOEZP8VnBpO1uSLhqogIr4fs10sWq9CZ8fnE4NRGgb1Di++8OSeXxSiIJox4zsME8HjePUKTajO2l/q22D29CCMh6aPW2cWQSDBbHE80UMrb2ewa/lKohviqm1Z/BaHRyqAf4J5szrroQe0KrFGk/7ju3s4xZ3qagg+vhgQin8csHrolq1mW2RiTSzNgPyTP54axZqAXO75LxcYoexsxZi1anvubc8L49kuD6Sra8SU9Op0GYSLQwtVug0IqYaQbZFiN8CW5cxG6T1F6CBSM91xBBld3Cq8xwTltOBG1u1jXgMHWTeXCBzBPADC8zmJ8Xth4ZBRdOj8krUQI07feTz+xFhVRs4FHgimJBzv9HtqvDaZFUajQyBLRucTqC5pj4bVcZCKPAwTr4dpgb0C4OvYJD92YDI5h1lUgdC1oRERf9gv0j+gfOJwnDNPq8WwmdvHbYdoATPqIqLcfFig5bElX1BRQGnP6CmfUzU/yiN48saHoYw0Xsg/C6pBvI9daxz/8qpsAjacJw/SkUveqLxkSvrRyiDm6mnTb0L/tl/wk0KwOT5SkR7viD7GvG5ChSr9nhfIjcOXEuorNEe8bEgrwrQqinCz9Q3UGZI0ZdsvI+2eK9YRgyp4p2Z4skXlPZP2p9MbTJDLdIAwFsvtwCBfM/SQc93YkkIvT6JQvAs9krhnWbMg5jpgQR7gRZvUyLkscxq1Q0hFmWQ9eeyACgOmC8iC6tjANLaAM9gu6i8PnTWIgy5DKzxyCi8ql0JgCtT+oMVz9bA8HY9sxB5v+qSssQB2j110URUTw77XFHfmas8vR7fajhuOTgBN5ohyidHSC3LlKv6l5r1NbI+66nYDabJn/DEk2VpkJ2+0HhmiW6mTqGSTf2P1prHzGXKnQpxodr5s5Z/X94Nwc3jyhZcDkOOEDpw0DvrwBjjhaTRnMvA7x1Re8aBQC9+5cXnG45x6AGMI1kB/wwE9PLZM7EiyTh2mj2cqZQ84H9uG2MhSBMMKC8fDxB/rezV+2HF4gBHOYbLw6YBZKXVvL1sb07yMOhirBcs1eOMYGgMCMGCSqGSIb3DQEJFTEWBBSuuXuBpo6JiIUJcpFqi4ts2POYEzB5BgkrBgEEAYI3EQExbB5qAE0AaQBjAHIAbwBzAG8AZgB0ACAARQBuAGgAYQBuAGMAZQBkACAAUgBTAEEAIABhAG4AZAAgAEEARQBTACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcjAxMCEwCQYFKw4DAhoFAAQUbe4FrGhxVExQjYdlCaXBHX2nbG4ECAHH8i4dQCJDAgIIAA==' + description: '' + isExportable: false + } +} + diff --git a/settings/remarks/microsoft.automation/automationaccounts/configurations/main.bicep b/settings/remarks/microsoft.automation/automationaccounts/configurations/main.bicep new file mode 100644 index 0000000..3815648 --- /dev/null +++ b/settings/remarks/microsoft.automation/automationaccounts/configurations/main.bicep @@ -0,0 +1,34 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource automationAccount 'Microsoft.Automation/automationAccounts@2021-06-22' = { + location: location + name: resource_name + properties: { + encryption: { + keySource: 'Microsoft.Automation' + } + publicNetworkAccess: true + sku: { + name: 'Basic' + } + } +} + +resource configuration 'Microsoft.Automation/automationAccounts/configurations@2022-08-08' = { + parent: automationAccount + location: location + name: resource_name + properties: { + description: 'test' + logVerbose: false + source: { + type: 'embeddedContent' + value: 'configuration acctest {}' + } + } + tags: { + ENV: 'prod' + } +} + diff --git a/settings/remarks/microsoft.automation/automationaccounts/connectiontypes/main.bicep b/settings/remarks/microsoft.automation/automationaccounts/connectiontypes/main.bicep new file mode 100644 index 0000000..ab86823 --- /dev/null +++ b/settings/remarks/microsoft.automation/automationaccounts/connectiontypes/main.bicep @@ -0,0 +1,32 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource automationAccount 'Microsoft.Automation/automationAccounts@2021-06-22' = { + location: location + name: resource_name + properties: { + encryption: { + keySource: 'Microsoft.Automation' + } + publicNetworkAccess: true + sku: { + name: 'Basic' + } + } +} + +resource connectionType 'Microsoft.Automation/automationAccounts/connectionTypes@2020-01-13-preview' = { + parent: automationAccount + name: resource_name + properties: { + fieldDefinitions: { + my_def: { + isEncrypted: false + isOptional: false + type: 'string' + } + } + isGlobal: false + } +} + diff --git a/settings/remarks/microsoft.automation/automationaccounts/credentials/main.bicep b/settings/remarks/microsoft.automation/automationaccounts/credentials/main.bicep new file mode 100644 index 0000000..0f2dc4d --- /dev/null +++ b/settings/remarks/microsoft.automation/automationaccounts/credentials/main.bicep @@ -0,0 +1,27 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource automationAccount 'Microsoft.Automation/automationAccounts@2021-06-22' = { + location: location + name: resource_name + properties: { + encryption: { + keySource: 'Microsoft.Automation' + } + publicNetworkAccess: true + sku: { + name: 'Basic' + } + } +} + +resource credential 'Microsoft.Automation/automationAccounts/credentials@2020-01-13-preview' = { + parent: automationAccount + name: resource_name + properties: { + description: '' + password: 'test_pwd' + userName: 'test_user' + } +} + diff --git a/settings/remarks/microsoft.automation/automationaccounts/hybridrunbookworkergroups/hybridrunbookworkers/main.bicep b/settings/remarks/microsoft.automation/automationaccounts/hybridrunbookworkergroups/hybridrunbookworkers/main.bicep new file mode 100644 index 0000000..a170924 --- /dev/null +++ b/settings/remarks/microsoft.automation/automationaccounts/hybridrunbookworkergroups/hybridrunbookworkers/main.bicep @@ -0,0 +1,162 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource automationAccount 'Microsoft.Automation/automationAccounts@2021-06-22' = { + location: location + name: resource_name + properties: { + encryption: { + keySource: 'Microsoft.Automation' + } + publicNetworkAccess: true + sku: { + name: 'Basic' + } + } +} + +resource credential 'Microsoft.Automation/automationAccounts/credentials@2020-01-13-preview' = { + parent: automationAccount + name: resource_name + properties: { + description: '' + password: 'test_pwd' + userName: 'test_user' + } +} + +resource hybridRunbookWorker 'Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups/hybridRunbookWorkers@2021-06-22' = { + parent: hybridRunbookWorkerGroup + name: 'c7714056-5ba8-4bbe-920e-2993171164eb' + properties: { + vmResourceId: virtualMachine.id + } +} + +resource hybridRunbookWorkerGroup 'Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups@2021-06-22' = { + parent: automationAccount + name: resource_name + credential: { + name: credential.name + } +} + +resource networkInterface 'Microsoft.Network/networkInterfaces@2022-07-01' = { + location: location + name: resource_name + properties: { + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: [ + { + name: 'testconfiguration1' + properties: { + primary: true + privateIPAddressVersion: 'IPv4' + privateIPAllocationMethod: 'Dynamic' + subnet: { + id: subnet.id + } + } + } + ] + } +} + +resource subnet 'Microsoft.Network/virtualNetworks/subnets@2022-07-01' = { + parent: virtualNetwork + name: 'internal' + properties: { + addressPrefix: '10.0.2.0/24' + delegations: [] + privateEndpointNetworkPolicies: 'Enabled' + privateLinkServiceNetworkPolicies: 'Enabled' + serviceEndpointPolicies: [] + serviceEndpoints: [] + } +} + +resource virtualMachine 'Microsoft.Compute/virtualMachines@2023-03-01' = { + location: location + name: resource_name + properties: { + additionalCapabilities: {} + applicationProfile: { + galleryApplications: [] + } + diagnosticsProfile: { + bootDiagnostics: { + enabled: false + storageUri: '' + } + } + extensionsTimeBudget: 'PT1H30M' + hardwareProfile: { + vmSize: 'Standard_D2s_v3' + } + networkProfile: { + networkInterfaces: [ + { + id: networkInterface.id + properties: { + primary: true + } + } + ] + } + osProfile: { + adminPassword: 'P@$$w0rd1234!' + adminUsername: 'adminuser' + allowExtensionOperations: true + computerName: resource_name + linuxConfiguration: { + disablePasswordAuthentication: false + patchSettings: { + assessmentMode: 'ImageDefault' + patchMode: 'ImageDefault' + } + provisionVMAgent: true + ssh: { + publicKeys: [] + } + } + secrets: [] + } + priority: 'Regular' + storageProfile: { + dataDisks: [] + imageReference: { + offer: 'UbuntuServer' + publisher: 'Canonical' + sku: '16.04-LTS' + version: 'latest' + } + osDisk: { + caching: 'ReadWrite' + createOption: 'FromImage' + managedDisk: { + storageAccountType: 'Standard_LRS' + } + osType: 'Linux' + writeAcceleratorEnabled: false + } + } + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.0.0.0/16' + ] + } + dhcpOptions: { + dnsServers: [] + } + subnets: [] + } +} + diff --git a/settings/remarks/microsoft.automation/automationaccounts/hybridrunbookworkergroups/main.bicep b/settings/remarks/microsoft.automation/automationaccounts/hybridrunbookworkergroups/main.bicep new file mode 100644 index 0000000..f8f4ec2 --- /dev/null +++ b/settings/remarks/microsoft.automation/automationaccounts/hybridrunbookworkergroups/main.bicep @@ -0,0 +1,35 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource automationAccount 'Microsoft.Automation/automationAccounts@2021-06-22' = { + location: location + name: resource_name + properties: { + encryption: { + keySource: 'Microsoft.Automation' + } + publicNetworkAccess: true + sku: { + name: 'Basic' + } + } +} + +resource credential 'Microsoft.Automation/automationAccounts/credentials@2020-01-13-preview' = { + parent: automationAccount + name: resource_name + properties: { + description: '' + password: 'test_pwd' + userName: 'test_user' + } +} + +resource hybridRunbookWorkerGroup 'Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups@2021-06-22' = { + parent: automationAccount + name: resource_name + credential: { + name: credential.name + } +} + diff --git a/settings/remarks/microsoft.automation/automationaccounts/jobschedules/main.bicep b/settings/remarks/microsoft.automation/automationaccounts/jobschedules/main.bicep new file mode 100644 index 0000000..4340798 --- /dev/null +++ b/settings/remarks/microsoft.automation/automationaccounts/jobschedules/main.bicep @@ -0,0 +1,55 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource automationAccount 'Microsoft.Automation/automationAccounts@2021-06-22' = { + location: location + name: resource_name + properties: { + encryption: { + keySource: 'Microsoft.Automation' + } + publicNetworkAccess: true + sku: { + name: 'Basic' + } + } +} + +resource jobSchedule 'Microsoft.Automation/automationAccounts/jobSchedules@2020-01-13-preview' = { + parent: automationAccount + name: '194a324f-9e3d-43ee-1234-c968b797edd5' + properties: { + runbook: { + name: runbook.name + } + schedule: { + name: schedule.name + } + } +} + +resource runbook 'Microsoft.Automation/automationAccounts/runbooks@2019-06-01' = { + parent: automationAccount + location: location + name: 'Get-AzureVMTutorial' + properties: { + description: 'This is a test runbook for terraform acceptance test' + draft: {} + logActivityTrace: 0 + logProgress: true + logVerbose: true + runbookType: 'PowerShell' + } +} + +resource schedule 'Microsoft.Automation/automationAccounts/schedules@2020-01-13-preview' = { + parent: automationAccount + name: resource_name + properties: { + description: '' + frequency: 'OneTime' + startTime: '2024-07-05T08:51:00+00:00' + timeZone: 'Etc/UTC' + } +} + diff --git a/settings/remarks/microsoft.automation/automationaccounts/main.bicep b/settings/remarks/microsoft.automation/automationaccounts/main.bicep new file mode 100644 index 0000000..bc21f85 --- /dev/null +++ b/settings/remarks/microsoft.automation/automationaccounts/main.bicep @@ -0,0 +1,17 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource automationAccount 'Microsoft.Automation/automationAccounts@2021-06-22' = { + location: location + name: resource_name + properties: { + encryption: { + keySource: 'Microsoft.Automation' + } + publicNetworkAccess: true + sku: { + name: 'Basic' + } + } +} + diff --git a/settings/remarks/microsoft.automation/automationaccounts/modules/main.bicep b/settings/remarks/microsoft.automation/automationaccounts/modules/main.bicep new file mode 100644 index 0000000..9c7346f --- /dev/null +++ b/settings/remarks/microsoft.automation/automationaccounts/modules/main.bicep @@ -0,0 +1,27 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource automationAccount 'Microsoft.Automation/automationAccounts@2021-06-22' = { + location: location + name: resource_name + properties: { + encryption: { + keySource: 'Microsoft.Automation' + } + publicNetworkAccess: true + sku: { + name: 'Basic' + } + } +} + +resource module 'Microsoft.Automation/automationAccounts/modules@2020-01-13-preview' = { + parent: automationAccount + name: 'xActiveDirectory' + properties: { + contentLink: { + uri: 'https://devopsgallerystorage.blob.core.windows.net/packages/xactivedirectory.2.19.0.nupkg' + } + } +} + diff --git a/settings/remarks/microsoft.automation/automationaccounts/powershell72modules/main.bicep b/settings/remarks/microsoft.automation/automationaccounts/powershell72modules/main.bicep new file mode 100644 index 0000000..608c9e1 --- /dev/null +++ b/settings/remarks/microsoft.automation/automationaccounts/powershell72modules/main.bicep @@ -0,0 +1,27 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource automationAccount 'Microsoft.Automation/automationAccounts@2021-06-22' = { + location: location + name: resource_name + properties: { + encryption: { + keySource: 'Microsoft.Automation' + } + publicNetworkAccess: true + sku: { + name: 'Basic' + } + } +} + +resource powerShell72Module 'Microsoft.Automation/automationAccounts/powerShell72Modules@2020-01-13-preview' = { + parent: automationAccount + name: 'xActiveDirectory' + properties: { + contentLink: { + uri: 'https://devopsgallerystorage.blob.core.windows.net/packages/xactivedirectory.2.19.0.nupkg' + } + } +} + diff --git a/settings/remarks/microsoft.automation/automationaccounts/runbooks/draft/main.bicep b/settings/remarks/microsoft.automation/automationaccounts/runbooks/draft/main.bicep new file mode 100644 index 0000000..d22f035 --- /dev/null +++ b/settings/remarks/microsoft.automation/automationaccounts/runbooks/draft/main.bicep @@ -0,0 +1,31 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource automationAccount 'Microsoft.Automation/automationAccounts@2021-06-22' = { + location: location + name: resource_name + properties: { + encryption: { + keySource: 'Microsoft.Automation' + } + publicNetworkAccess: true + sku: { + name: 'Basic' + } + } +} + +resource runbook 'Microsoft.Automation/automationAccounts/runbooks@2019-06-01' = { + parent: automationAccount + location: location + name: 'Get-AzureVMTutorial' + properties: { + description: 'This is a test runbook for terraform acceptance test' + draft: {} + logActivityTrace: 0 + logProgress: true + logVerbose: true + runbookType: 'PowerShell' + } +} + diff --git a/settings/remarks/microsoft.automation/automationaccounts/runbooks/main.bicep b/settings/remarks/microsoft.automation/automationaccounts/runbooks/main.bicep new file mode 100644 index 0000000..d22f035 --- /dev/null +++ b/settings/remarks/microsoft.automation/automationaccounts/runbooks/main.bicep @@ -0,0 +1,31 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource automationAccount 'Microsoft.Automation/automationAccounts@2021-06-22' = { + location: location + name: resource_name + properties: { + encryption: { + keySource: 'Microsoft.Automation' + } + publicNetworkAccess: true + sku: { + name: 'Basic' + } + } +} + +resource runbook 'Microsoft.Automation/automationAccounts/runbooks@2019-06-01' = { + parent: automationAccount + location: location + name: 'Get-AzureVMTutorial' + properties: { + description: 'This is a test runbook for terraform acceptance test' + draft: {} + logActivityTrace: 0 + logProgress: true + logVerbose: true + runbookType: 'PowerShell' + } +} + diff --git a/settings/remarks/microsoft.automation/automationaccounts/schedules/main.bicep b/settings/remarks/microsoft.automation/automationaccounts/schedules/main.bicep new file mode 100644 index 0000000..f24404d --- /dev/null +++ b/settings/remarks/microsoft.automation/automationaccounts/schedules/main.bicep @@ -0,0 +1,28 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource automationAccount 'Microsoft.Automation/automationAccounts@2021-06-22' = { + location: location + name: resource_name + properties: { + encryption: { + keySource: 'Microsoft.Automation' + } + publicNetworkAccess: true + sku: { + name: 'Basic' + } + } +} + +resource schedule 'Microsoft.Automation/automationAccounts/schedules@2020-01-13-preview' = { + parent: automationAccount + name: resource_name + properties: { + description: '' + frequency: 'OneTime' + startTime: '2024-07-05T08:51:00+00:00' + timeZone: 'Etc/UTC' + } +} + diff --git a/settings/remarks/microsoft.automation/automationaccounts/variables/main.bicep b/settings/remarks/microsoft.automation/automationaccounts/variables/main.bicep new file mode 100644 index 0000000..049d37a --- /dev/null +++ b/settings/remarks/microsoft.automation/automationaccounts/variables/main.bicep @@ -0,0 +1,27 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource automationAccount 'Microsoft.Automation/automationAccounts@2021-06-22' = { + location: location + name: resource_name + properties: { + encryption: { + keySource: 'Microsoft.Automation' + } + publicNetworkAccess: true + sku: { + name: 'Basic' + } + } +} + +resource variable 'Microsoft.Automation/automationAccounts/variables@2020-01-13-preview' = { + parent: automationAccount + name: resource_name + properties: { + description: '' + isEncrypted: false + value: '"Hello, Terraform Basic Test."' + } +} + diff --git a/settings/remarks/microsoft.automation/automationaccounts/webhooks/main.bicep b/settings/remarks/microsoft.automation/automationaccounts/webhooks/main.bicep new file mode 100644 index 0000000..9002f5a --- /dev/null +++ b/settings/remarks/microsoft.automation/automationaccounts/webhooks/main.bicep @@ -0,0 +1,45 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource automationAccount 'Microsoft.Automation/automationAccounts@2021-06-22' = { + location: location + name: resource_name + properties: { + encryption: { + keySource: 'Microsoft.Automation' + } + publicNetworkAccess: true + sku: { + name: 'Basic' + } + } +} + +resource runbook 'Microsoft.Automation/automationAccounts/runbooks@2019-06-01' = { + parent: automationAccount + location: location + name: 'Get-AzureVMTutorial' + properties: { + description: 'This is a test runbook for terraform acceptance test' + draft: {} + logActivityTrace: 0 + logProgress: true + logVerbose: true + runbookType: 'PowerShell' + } +} + +resource webHook 'Microsoft.Automation/automationAccounts/webHooks@2015-10-31' = { + parent: automationAccount + name: 'TestRunbook_webhook' + properties: { + expiryTime: '2025-06-30T04:27:24Z' + isEnabled: true + parameters: {} + runOn: '' + runbook: { + name: runbook.name + } + } +} + diff --git a/settings/remarks/microsoft.automation/remarks.json b/settings/remarks/microsoft.automation/remarks.json new file mode 100644 index 0000000..bbecd7a --- /dev/null +++ b/settings/remarks/microsoft.automation/remarks.json @@ -0,0 +1,80 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.Automation/automationAccounts", + "Path": "automationaccounts/main.bicep", + "Description": "Basic sample for Microsoft.Automation/automationAccounts@2021-06-22." + }, + { + "ResourceType": "Microsoft.Automation/automationAccounts", + "Path": "automationaccounts/certificates/main.bicep", + "Description": "Basic sample for Microsoft.Automation/automationAccounts/certificates@2020-01-13-preview." + }, + { + "ResourceType": "Microsoft.Automation/automationAccounts", + "Path": "automationaccounts/configurations/main.bicep", + "Description": "Basic sample for Microsoft.Automation/automationAccounts/configurations@2022-08-08." + }, + { + "ResourceType": "Microsoft.Automation/automationAccounts", + "Path": "automationaccounts/connectiontypes/main.bicep", + "Description": "Basic sample for Microsoft.Automation/automationAccounts/connectionTypes@2020-01-13-preview." + }, + { + "ResourceType": "Microsoft.Automation/automationAccounts", + "Path": "automationaccounts/credentials/main.bicep", + "Description": "Basic sample for Microsoft.Automation/automationAccounts/credentials@2020-01-13-preview." + }, + { + "ResourceType": "Microsoft.Automation/automationAccounts", + "Path": "automationaccounts/hybridrunbookworkergroups/main.bicep", + "Description": "Basic sample for Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups@2021-06-22." + }, + { + "ResourceType": "Microsoft.Automation/automationAccounts", + "Path": "automationaccounts/hybridrunbookworkergroups/hybridrunbookworkers/main.bicep", + "Description": "Basic sample for Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups/hybridRunbookWorkers@2021-06-22." + }, + { + "ResourceType": "Microsoft.Automation/automationAccounts", + "Path": "automationaccounts/jobschedules/main.bicep", + "Description": "Basic sample for Microsoft.Automation/automationAccounts/jobSchedules@2020-01-13-preview." + }, + { + "ResourceType": "Microsoft.Automation/automationAccounts", + "Path": "automationaccounts/modules/main.bicep", + "Description": "Basic sample for Microsoft.Automation/automationAccounts/modules@2020-01-13-preview." + }, + { + "ResourceType": "Microsoft.Automation/automationAccounts", + "Path": "automationaccounts/powershell72modules/main.bicep", + "Description": "Basic sample for Microsoft.Automation/automationAccounts/powershell72Modules@2020-01-13-preview." + }, + { + "ResourceType": "Microsoft.Automation/automationAccounts", + "Path": "automationaccounts/runbooks/main.bicep", + "Description": "Basic sample for Microsoft.Automation/automationAccounts/runbooks@2019-06-01." + }, + { + "ResourceType": "Microsoft.Automation/automationAccounts", + "Path": "automationaccounts/runbooks/draft/main.bicep", + "Description": "Basic sample for Microsoft.Automation/automationAccounts/runbooks/draft@2018-06-30." + }, + { + "ResourceType": "Microsoft.Automation/automationAccounts", + "Path": "automationaccounts/schedules/main.bicep", + "Description": "Basic sample for Microsoft.Automation/automationAccounts/schedules@2020-01-13-preview." + }, + { + "ResourceType": "Microsoft.Automation/automationAccounts", + "Path": "automationaccounts/variables/main.bicep", + "Description": "Basic sample for Microsoft.Automation/automationAccounts/variables@2020-01-13-preview." + }, + { + "ResourceType": "Microsoft.Automation/automationAccounts", + "Path": "automationaccounts/webhooks/main.bicep", + "Description": "Basic sample for Microsoft.Automation/automationAccounts/webHooks@2015-10-31." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.avs/privateclouds/authorizations/main.bicep b/settings/remarks/microsoft.avs/privateclouds/authorizations/main.bicep new file mode 100644 index 0000000..1e15c5b --- /dev/null +++ b/settings/remarks/microsoft.avs/privateclouds/authorizations/main.bicep @@ -0,0 +1,23 @@ +param location string = 'centralus' +param resource_name string = 'acctest0001' + +resource authorization 'Microsoft.AVS/privateClouds/authorizations@2022-05-01' = { + parent: privateCloud + name: resource_name +} + +resource privateCloud 'Microsoft.AVS/privateClouds@2022-05-01' = { + location: location + name: resource_name + properties: { + internet: 'Disabled' + managementCluster: { + clusterSize: 3 + } + networkBlock: '192.168.48.0/22' + } + sku: { + name: 'av36' + } +} + diff --git a/settings/remarks/microsoft.avs/privateclouds/main.bicep b/settings/remarks/microsoft.avs/privateclouds/main.bicep new file mode 100644 index 0000000..a85962c --- /dev/null +++ b/settings/remarks/microsoft.avs/privateclouds/main.bicep @@ -0,0 +1,18 @@ +param location string = 'centralus' +param resource_name string = 'acctest0001' + +resource privateCloud 'Microsoft.AVS/privateClouds@2022-05-01' = { + location: location + name: resource_name + properties: { + internet: 'Disabled' + managementCluster: { + clusterSize: 3 + } + networkBlock: '192.168.48.0/22' + } + sku: { + name: 'av36' + } +} + diff --git a/settings/remarks/microsoft.avs/remarks.json b/settings/remarks/microsoft.avs/remarks.json new file mode 100644 index 0000000..17653cb --- /dev/null +++ b/settings/remarks/microsoft.avs/remarks.json @@ -0,0 +1,15 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.AVS/privateClouds", + "Path": "privateclouds/main.bicep", + "Description": "Basic sample for Microsoft.AVS/privateClouds@2022-05-01." + }, + { + "ResourceType": "Microsoft.AVS/privateClouds", + "Path": "privateclouds/authorizations/main.bicep", + "Description": "Basic sample for Microsoft.AVS/privateClouds/authorizations@2022-05-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.azureactivedirectory/b2cdirectories/main.bicep b/settings/remarks/microsoft.azureactivedirectory/b2cdirectories/main.bicep new file mode 100644 index 0000000..cdbc9fc --- /dev/null +++ b/settings/remarks/microsoft.azureactivedirectory/b2cdirectories/main.bicep @@ -0,0 +1,3 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0003' + diff --git a/settings/remarks/microsoft.azureactivedirectory/remarks.json b/settings/remarks/microsoft.azureactivedirectory/remarks.json index cc3c481..e762c94 100644 --- a/settings/remarks/microsoft.azureactivedirectory/remarks.json +++ b/settings/remarks/microsoft.azureactivedirectory/remarks.json @@ -7,5 +7,12 @@ ], "Description": "You can create a B2C tenant with an ARM template or Bicep file, but you can't update an existing B2C tenant. Also, you can't redeploy a template with the same tenant name. If you need to update a B2C tenant, use [B2C Tenants - Update](/rest/api/activedirectory/b2c-tenants/update)." } + ], + "BicepSamples": [ + { + "ResourceType": "Microsoft.AzureActiveDirectory/b2cDirectories", + "Path": "b2cdirectories/main.bicep", + "Description": "Basic sample for Microsoft.AzureActiveDirectory/b2cDirectories@2021-04-01-preview." + } ] } \ No newline at end of file diff --git a/settings/remarks/microsoft.batch/batchaccounts/applications/main.bicep b/settings/remarks/microsoft.batch/batchaccounts/applications/main.bicep new file mode 100644 index 0000000..d2ee79c --- /dev/null +++ b/settings/remarks/microsoft.batch/batchaccounts/applications/main.bicep @@ -0,0 +1,65 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource application 'Microsoft.Batch/batchAccounts/applications@2022-10-01' = { + parent: batchAccount + name: resource_name + properties: { + allowUpdates: true + defaultVersion: '' + displayName: '' + } +} + +resource batchAccount 'Microsoft.Batch/batchAccounts@2022-10-01' = { + location: location + name: resource_name + properties: { + autoStorage: { + authenticationMode: 'StorageKeys' + storageAccountId: storageAccount.id + } + encryption: { + keySource: 'Microsoft.Batch' + } + poolAllocationMode: 'BatchService' + publicNetworkAccess: 'Enabled' + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: { + accessTier: 'Hot' + allowBlobPublicAccess: true + allowCrossTenantReplication: true + allowSharedKeyAccess: true + defaultToOAuthAuthentication: false + encryption: { + keySource: 'Microsoft.Storage' + services: { + queue: { + keyType: 'Service' + } + table: { + keyType: 'Service' + } + } + } + isHnsEnabled: false + isNfsV3Enabled: false + isSftpEnabled: false + minimumTlsVersion: 'TLS1_2' + networkAcls: { + defaultAction: 'Allow' + } + publicNetworkAccess: 'Enabled' + supportsHttpsTrafficOnly: true + } + sku: { + name: 'Standard_LRS' + } +} + diff --git a/settings/remarks/microsoft.batch/batchaccounts/certificates/main.bicep b/settings/remarks/microsoft.batch/batchaccounts/certificates/main.bicep new file mode 100644 index 0000000..02e7309 --- /dev/null +++ b/settings/remarks/microsoft.batch/batchaccounts/certificates/main.bicep @@ -0,0 +1,26 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource batchAccount 'Microsoft.Batch/batchAccounts@2022-10-01' = { + location: location + name: resource_name + properties: { + encryption: { + keySource: 'Microsoft.Batch' + } + poolAllocationMode: 'BatchService' + publicNetworkAccess: 'Enabled' + } +} + +resource certificate 'Microsoft.Batch/batchAccounts/certificates@2022-10-01' = { + parent: batchAccount + name: 'SHA1-312d31a79fa0cef49c00f769afc2b73e9f4edf34' + properties: { + data: 'LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tDQpNSUlEYnpDQ0FsZWdBd0lCQWdJSkFJempSRDM2c0liYk1BMEdDU3FHU0liM0RRRUJDd1VBTUUweEN6QUpCZ05WDQpCQVlUQWxWVE1STXdFUVlEVlFRSURBcFRiMjFsTFZOMFlYUmxNUkl3RUFZRFZRUUtEQWwwWlhKeVlXWnZjbTB4DQpGVEFUQmdOVkJBTU1ESFJsY25KaFptOXliUzVwYnpBZ0Z3MHhOekEwTWpFeU1EQTFNamRhR0E4eU1URTNNRE15DQpPREl3TURVeU4xb3dUVEVMTUFrR0ExVUVCaE1DVlZNeEV6QVJCZ05WQkFnTUNsTnZiV1V0VTNSaGRHVXhFakFRDQpCZ05WQkFvTUNYUmxjbkpoWm05eWJURVZNQk1HQTFVRUF3d01kR1Z5Y21GbWIzSnRMbWx2TUlJQklqQU5CZ2txDQpoa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTNMOUw1c3pUNCtGTHlrVEZOeXlQankvazNCUVRZQWZSDQpRelAyZGhuc3VVS20zY2RQQzBOeVord0VYSVVHaG9ETzJZRzZFWUNoT2w4ZnNEcURPamxvU1VHS3FZdysrbmxwDQpISXVVZ0p4OEl4eEcyWGtBTENqRlU3RW1GK3c3a243NmQwZXpwRUlZeG5MUCtLRzJEVm9ybm9FdDFhTGh2MU1MDQptcGdFWlpQaERiTVNMaFNZV2VUVlJNYXlYTHdxdGZnbkR1bVFTQis4ZC8xSnVKcXJTSTRwRDEySm96VlRoemI2DQpoc2pmYjZSTVg0ZXBQbXJHbjBQYlRQRUVBNmF3bXN4QkNYQjBzMTNuTlF0L08waExNMmFnd3ZBeW96aWxRVitzDQo2MTZDa2drNkRKb1VrcVpoRHk3dlBZTUlSU3I5OGZCd3M2emtyVjZ0VExqbUQ4eEF2b2JlUFFJREFRQUJvMUF3DQpUakFkQmdOVkhRNEVGZ1FVWElxTzQyMXpNTW1iY1JSWDl3Y3RaRkNRdVBJd0h3WURWUjBqQkJnd0ZvQVVYSXFPDQo0MjF6TU1tYmNSUlg5d2N0WkZDUXVQSXdEQVlEVlIwVEJBVXdBd0VCL3pBTkJna3Foa2lHOXcwQkFRc0ZBQU9DDQpBUUVBcjgyTmVUM0JZSk9LTGxVTDZPbTVMalVGNjZld2NKakc5bHRkdnlRd1ZuZU1jcTd0NVVBUHhnQ2h6cU5SDQpWazRkYThQemtYcGpCSnlXZXpIdXBkSk5YM1hxZVVrMmtTeHFRNi9nbWhxdmZJM3k3ZGpyd29PNmp2TUVZMjZXDQpxdGtUTk9SV0RQM1RISkpWaW1DM3pWK0tNVTVVQlZyRXpoT1ZoSFNVNzA5bEJQNzVvMEJCbjN4R3NQcVNxOWs4DQpJb3RJRmZ5QWM2YStYUDMrWk1wdmg3d3FBVW1sN3ZXYTV3bGNYRXhDeDM5aDFiYWxmRFNMR05DNHN3V1BDcDlBDQpNblFSMHArdk1heTloTlAxRWgrOVFZVWFpMTRkNUtTM2NGVitLeEUxY0pSNUhEL2lMbHRubk9FYnBNc0IwZVZPDQpaV2tGdkU3WTVsVzBvVlNBZmluNVR3VEpNUT09DQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0t' + format: 'Cer' + thumbprint: '312d31a79fa0cef49c00f769afc2b73e9f4edf34' + thumbprintAlgorithm: 'sha1' + } +} + diff --git a/settings/remarks/microsoft.batch/batchaccounts/main.bicep b/settings/remarks/microsoft.batch/batchaccounts/main.bicep new file mode 100644 index 0000000..ed0195f --- /dev/null +++ b/settings/remarks/microsoft.batch/batchaccounts/main.bicep @@ -0,0 +1,15 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource batchAccount 'Microsoft.Batch/batchAccounts@2022-10-01' = { + location: location + name: resource_name + properties: { + encryption: { + keySource: 'Microsoft.Batch' + } + poolAllocationMode: 'BatchService' + publicNetworkAccess: 'Enabled' + } +} + diff --git a/settings/remarks/microsoft.batch/batchaccounts/pools/main.bicep b/settings/remarks/microsoft.batch/batchaccounts/pools/main.bicep new file mode 100644 index 0000000..e2285da --- /dev/null +++ b/settings/remarks/microsoft.batch/batchaccounts/pools/main.bicep @@ -0,0 +1,52 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource batchAccount 'Microsoft.Batch/batchAccounts@2022-10-01' = { + location: location + name: resource_name + properties: { + encryption: { + keySource: 'Microsoft.Batch' + } + poolAllocationMode: 'BatchService' + publicNetworkAccess: 'Enabled' + } +} + +resource pool 'Microsoft.Batch/batchAccounts/pools@2022-10-01' = { + parent: batchAccount + name: resource_name + properties: { + certificates: null + deploymentConfiguration: { + virtualMachineConfiguration: { + imageReference: { + offer: 'UbuntuServer' + publisher: 'Canonical' + sku: '18.04-lts' + version: 'latest' + } + nodeAgentSkuId: 'batch.node.ubuntu 18.04' + osDisk: { + ephemeralOSDiskSettings: { + placement: '' + } + } + } + } + displayName: '' + interNodeCommunication: 'Enabled' + metadata: [] + scaleSettings: { + fixedScale: { + nodeDeallocationOption: '' + resizeTimeout: 'PT15M' + targetDedicatedNodes: 1 + targetLowPriorityNodes: 0 + } + } + taskSlotsPerNode: 1 + vmSize: 'STANDARD_A1' + } +} + diff --git a/settings/remarks/microsoft.batch/remarks.json b/settings/remarks/microsoft.batch/remarks.json new file mode 100644 index 0000000..79f9ac8 --- /dev/null +++ b/settings/remarks/microsoft.batch/remarks.json @@ -0,0 +1,25 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.Batch/batchAccounts", + "Path": "batchaccounts/main.bicep", + "Description": "Basic sample for Microsoft.Batch/batchAccounts@2022-10-01." + }, + { + "ResourceType": "Microsoft.Batch/batchAccounts", + "Path": "batchaccounts/applications/main.bicep", + "Description": "Basic sample for Microsoft.Batch/batchAccounts/applications@2022-10-01." + }, + { + "ResourceType": "Microsoft.Batch/batchAccounts", + "Path": "batchaccounts/certificates/main.bicep", + "Description": "Basic sample for Microsoft.Batch/batchAccounts/certificates@2022-10-01." + }, + { + "ResourceType": "Microsoft.Batch/batchAccounts", + "Path": "batchaccounts/pools/main.bicep", + "Description": "Basic sample for Microsoft.Batch/batchAccounts/pools@2022-10-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.cache/redis/main.bicep b/settings/remarks/microsoft.cache/redis/main.bicep new file mode 100644 index 0000000..1205a12 --- /dev/null +++ b/settings/remarks/microsoft.cache/redis/main.bicep @@ -0,0 +1,17 @@ +param location string = 'eastus' +param resource_name string = 'acctest0001' + +resource redis 'Microsoft.Cache/redis@2023-04-01' = { + location: location + name: resource_name + properties: { + enableNonSslPort: true + minimumTlsVersion: '1.2' + sku: { + capacity: 2 + family: 'C' + name: 'Standard' + } + } +} + diff --git a/settings/remarks/microsoft.cache/redisenterprise/main.bicep b/settings/remarks/microsoft.cache/redisenterprise/main.bicep new file mode 100644 index 0000000..e7bded4 --- /dev/null +++ b/settings/remarks/microsoft.cache/redisenterprise/main.bicep @@ -0,0 +1,15 @@ +param location string = 'eastus' +param resource_name string = 'acctest0001' + +resource redisEnterprise 'Microsoft.Cache/redisEnterprise@2022-01-01' = { + location: location + name: resource_name + properties: { + minimumTlsVersion: '1.2' + } + sku: { + capacity: 2 + name: 'Enterprise_E100' + } +} + diff --git a/settings/remarks/microsoft.cache/remarks.json b/settings/remarks/microsoft.cache/remarks.json new file mode 100644 index 0000000..e2223ed --- /dev/null +++ b/settings/remarks/microsoft.cache/remarks.json @@ -0,0 +1,15 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.Cache/redis", + "Path": "redis/main.bicep", + "Description": "Basic sample for Microsoft.Cache/redis@2023-04-01." + }, + { + "ResourceType": "Microsoft.Cache/redisEnterprise", + "Path": "redisenterprise/main.bicep", + "Description": "Basic sample for Microsoft.Cache/redisEnterprise@2022-01-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.cdn/profiles/afdendpoints/main.bicep b/settings/remarks/microsoft.cdn/profiles/afdendpoints/main.bicep new file mode 100644 index 0000000..e0dc4bb --- /dev/null +++ b/settings/remarks/microsoft.cdn/profiles/afdendpoints/main.bicep @@ -0,0 +1,23 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource afdEndpoint 'Microsoft.Cdn/profiles/afdEndpoints@2021-06-01' = { + parent: profile + location: 'global' + name: resource_name + properties: { + enabledState: 'Enabled' + } +} + +resource profile 'Microsoft.Cdn/profiles@2021-06-01' = { + location: 'global' + name: resource_name + properties: { + originResponseTimeoutSeconds: 120 + } + sku: { + name: 'Standard_AzureFrontDoor' + } +} + diff --git a/settings/remarks/microsoft.cdn/profiles/afdendpoints/routes/main.bicep b/settings/remarks/microsoft.cdn/profiles/afdendpoints/routes/main.bicep new file mode 100644 index 0000000..17d9649 --- /dev/null +++ b/settings/remarks/microsoft.cdn/profiles/afdendpoints/routes/main.bicep @@ -0,0 +1,73 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource afdEndpoint 'Microsoft.Cdn/profiles/afdEndpoints@2021-06-01' = { + parent: profile + location: 'global' + name: resource_name + properties: { + enabledState: 'Enabled' + } +} + +resource origin 'Microsoft.Cdn/profiles/originGroups/origins@2021-06-01' = { + parent: originGroup + name: resource_name + properties: { + enabledState: 'Enabled' + enforceCertificateNameCheck: false + hostName: 'contoso.com' + httpPort: 80 + httpsPort: 443 + originHostHeader: 'www.contoso.com' + priority: 1 + weight: 1 + } +} + +resource originGroup 'Microsoft.Cdn/profiles/originGroups@2021-06-01' = { + parent: profile + name: resource_name + properties: { + loadBalancingSettings: { + additionalLatencyInMilliseconds: 0 + sampleSize: 16 + successfulSamplesRequired: 3 + } + sessionAffinityState: 'Enabled' + trafficRestorationTimeToHealedOrNewEndpointsInMinutes: 10 + } +} + +resource profile 'Microsoft.Cdn/profiles@2021-06-01' = { + location: 'global' + name: resource_name + properties: { + originResponseTimeoutSeconds: 120 + } + sku: { + name: 'Standard_AzureFrontDoor' + } +} + +resource route 'Microsoft.Cdn/profiles/afdEndpoints/routes@2021-06-01' = { + parent: afdEndpoint + name: resource_name + properties: { + enabledState: 'Enabled' + forwardingProtocol: 'MatchRequest' + httpsRedirect: 'Enabled' + linkToDefaultDomain: 'Enabled' + originGroup: { + id: originGroup.id + } + patternsToMatch: [ + '/*' + ] + supportedProtocols: [ + 'Https' + 'Http' + ] + } +} + diff --git a/settings/remarks/microsoft.cdn/profiles/customdomains/main.bicep b/settings/remarks/microsoft.cdn/profiles/customdomains/main.bicep new file mode 100644 index 0000000..534627c --- /dev/null +++ b/settings/remarks/microsoft.cdn/profiles/customdomains/main.bicep @@ -0,0 +1,34 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource customDomain 'Microsoft.Cdn/profiles/customDomains@2021-06-01' = { + parent: profile + name: resource_name + properties: { + azureDnsZone: { + id: dnsZone.id + } + hostName: 'fabrikam.${resource_name}.com' + tlsSettings: { + certificateType: 'ManagedCertificate' + minimumTlsVersion: 'TLS12' + } + } +} + +resource dnsZone 'Microsoft.Network/dnsZones@2018-05-01' = { + location: 'global' + name: '${resource_name}.com' +} + +resource profile 'Microsoft.Cdn/profiles@2021-06-01' = { + location: 'global' + name: resource_name + properties: { + originResponseTimeoutSeconds: 120 + } + sku: { + name: 'Premium_AzureFrontDoor' + } +} + diff --git a/settings/remarks/microsoft.cdn/profiles/endpoints/main.bicep b/settings/remarks/microsoft.cdn/profiles/endpoints/main.bicep new file mode 100644 index 0000000..29cd05a --- /dev/null +++ b/settings/remarks/microsoft.cdn/profiles/endpoints/main.bicep @@ -0,0 +1,32 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource endpoint 'Microsoft.Cdn/profiles/endpoints@2020-09-01' = { + parent: profile + location: location + name: resource_name + properties: { + isHttpAllowed: true + isHttpsAllowed: true + origins: [ + { + name: 'acceptanceTestCdnOrigin1' + properties: { + hostName: 'www.contoso.com' + httpPort: 80 + httpsPort: 443 + } + } + ] + queryStringCachingBehavior: 'IgnoreQueryString' + } +} + +resource profile 'Microsoft.Cdn/profiles@2020-09-01' = { + location: location + name: resource_name + sku: { + name: 'Standard_Verizon' + } +} + diff --git a/settings/remarks/microsoft.cdn/profiles/main.bicep b/settings/remarks/microsoft.cdn/profiles/main.bicep new file mode 100644 index 0000000..3e3e309 --- /dev/null +++ b/settings/remarks/microsoft.cdn/profiles/main.bicep @@ -0,0 +1,14 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource profile 'Microsoft.Cdn/profiles@2021-06-01' = { + location: 'global' + name: resource_name + properties: { + originResponseTimeoutSeconds: 120 + } + sku: { + name: 'Premium_AzureFrontDoor' + } +} + diff --git a/settings/remarks/microsoft.cdn/profiles/origingroups/main.bicep b/settings/remarks/microsoft.cdn/profiles/origingroups/main.bicep new file mode 100644 index 0000000..61dd646 --- /dev/null +++ b/settings/remarks/microsoft.cdn/profiles/origingroups/main.bicep @@ -0,0 +1,28 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource originGroup 'Microsoft.Cdn/profiles/originGroups@2021-06-01' = { + parent: profile + name: resource_name + properties: { + loadBalancingSettings: { + additionalLatencyInMilliseconds: 0 + sampleSize: 16 + successfulSamplesRequired: 3 + } + sessionAffinityState: 'Enabled' + trafficRestorationTimeToHealedOrNewEndpointsInMinutes: 10 + } +} + +resource profile 'Microsoft.Cdn/profiles@2021-06-01' = { + location: 'global' + name: resource_name + properties: { + originResponseTimeoutSeconds: 120 + } + sku: { + name: 'Standard_AzureFrontDoor' + } +} + diff --git a/settings/remarks/microsoft.cdn/profiles/origingroups/origins/main.bicep b/settings/remarks/microsoft.cdn/profiles/origingroups/origins/main.bicep new file mode 100644 index 0000000..1a02533 --- /dev/null +++ b/settings/remarks/microsoft.cdn/profiles/origingroups/origins/main.bicep @@ -0,0 +1,43 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource origin 'Microsoft.Cdn/profiles/originGroups/origins@2021-06-01' = { + parent: originGroup + name: resource_name + properties: { + enabledState: 'Enabled' + enforceCertificateNameCheck: false + hostName: 'contoso.com' + httpPort: 80 + httpsPort: 443 + originHostHeader: 'www.contoso.com' + priority: 1 + weight: 1 + } +} + +resource originGroup 'Microsoft.Cdn/profiles/originGroups@2021-06-01' = { + parent: profile + name: resource_name + properties: { + loadBalancingSettings: { + additionalLatencyInMilliseconds: 0 + sampleSize: 16 + successfulSamplesRequired: 3 + } + sessionAffinityState: 'Enabled' + trafficRestorationTimeToHealedOrNewEndpointsInMinutes: 10 + } +} + +resource profile 'Microsoft.Cdn/profiles@2021-06-01' = { + location: 'global' + name: resource_name + properties: { + originResponseTimeoutSeconds: 120 + } + sku: { + name: 'Standard_AzureFrontDoor' + } +} + diff --git a/settings/remarks/microsoft.cdn/profiles/rulesets/main.bicep b/settings/remarks/microsoft.cdn/profiles/rulesets/main.bicep new file mode 100644 index 0000000..4e5663e --- /dev/null +++ b/settings/remarks/microsoft.cdn/profiles/rulesets/main.bicep @@ -0,0 +1,19 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource profile 'Microsoft.Cdn/profiles@2021-06-01' = { + location: 'global' + name: resource_name + properties: { + originResponseTimeoutSeconds: 120 + } + sku: { + name: 'Standard_AzureFrontDoor' + } +} + +resource ruleSet 'Microsoft.Cdn/profiles/ruleSets@2021-06-01' = { + parent: profile + name: resource_name +} + diff --git a/settings/remarks/microsoft.cdn/profiles/securitypolicies/main.bicep b/settings/remarks/microsoft.cdn/profiles/securitypolicies/main.bicep new file mode 100644 index 0000000..a1b7f36 --- /dev/null +++ b/settings/remarks/microsoft.cdn/profiles/securitypolicies/main.bicep @@ -0,0 +1,126 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource FrontDoorWebApplicationFirewallPolicy 'Microsoft.Network/FrontDoorWebApplicationFirewallPolicies@2020-11-01' = { + location: 'global' + name: resource_name + properties: { + customRules: { + rules: [ + { + action: 'Block' + enabledState: 'Enabled' + matchConditions: [ + { + matchValue: [ + '192.168.1.0/24' + '10.0.0.0/24' + ] + matchVariable: 'RemoteAddr' + negateCondition: false + operator: 'IPMatch' + } + ] + name: 'Rule1' + priority: 1 + rateLimitDurationInMinutes: 1 + rateLimitThreshold: 10 + ruleType: 'MatchRule' + } + ] + } + managedRules: { + managedRuleSets: [ + { + ruleGroupOverrides: [ + { + ruleGroupName: 'PHP' + rules: [ + { + action: 'Block' + enabledState: 'Disabled' + ruleId: '933111' + } + ] + } + ] + ruleSetAction: 'Block' + ruleSetType: 'DefaultRuleSet' + ruleSetVersion: 'preview-0.1' + } + { + ruleSetAction: 'Block' + ruleSetType: 'BotProtection' + ruleSetVersion: 'preview-0.1' + } + ] + } + policySettings: { + customBlockResponseBody: 'PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==' + customBlockResponseStatusCode: 403 + enabledState: 'Enabled' + mode: 'Prevention' + redirectUrl: 'https://www.fabrikam.com' + } + } + sku: { + name: 'Premium_AzureFrontDoor' + } +} + +resource customDomain 'Microsoft.Cdn/profiles/customDomains@2021-06-01' = { + parent: profile + name: resource_name + properties: { + azureDnsZone: { + id: dnsZone.id + } + hostName: 'fabrikam.${resource_name}.com' + tlsSettings: { + certificateType: 'ManagedCertificate' + minimumTlsVersion: 'TLS12' + } + } +} + +resource dnsZone 'Microsoft.Network/dnsZones@2018-05-01' = { + location: 'global' + name: '${resource_name}.com' +} + +resource profile 'Microsoft.Cdn/profiles@2021-06-01' = { + location: 'global' + name: resource_name + properties: { + originResponseTimeoutSeconds: 120 + } + sku: { + name: 'Premium_AzureFrontDoor' + } +} + +resource securityPolicy 'Microsoft.Cdn/profiles/securityPolicies@2021-06-01' = { + parent: profile + name: resource_name + properties: { + parameters: { + associations: [ + { + domains: [ + { + id: customDomain.id + } + ] + patternsToMatch: [ + '/*' + ] + } + ] + type: 'WebApplicationFirewall' + wafPolicy: { + id: FrontDoorWebApplicationFirewallPolicy.id + } + } + } +} + diff --git a/settings/remarks/microsoft.cdn/remarks.json b/settings/remarks/microsoft.cdn/remarks.json new file mode 100644 index 0000000..333f258 --- /dev/null +++ b/settings/remarks/microsoft.cdn/remarks.json @@ -0,0 +1,55 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.Cdn/profiles", + "Path": "profiles/main.bicep", + "Description": "Basic sample for Microsoft.Cdn/profiles@2020-09-01." + }, + { + "ResourceType": "Microsoft.Cdn/profiles", + "Path": "profiles/main.bicep", + "Description": "Basic sample for Microsoft.Cdn/profiles@2021-06-01." + }, + { + "ResourceType": "Microsoft.Cdn/profiles", + "Path": "profiles/afdendpoints/main.bicep", + "Description": "Basic sample for Microsoft.Cdn/profiles/afdEndpoints@2021-06-01." + }, + { + "ResourceType": "Microsoft.Cdn/profiles", + "Path": "profiles/afdendpoints/routes/main.bicep", + "Description": "Basic sample for Microsoft.Cdn/profiles/afdEndpoints/routes@2021-06-01." + }, + { + "ResourceType": "Microsoft.Cdn/profiles", + "Path": "profiles/customdomains/main.bicep", + "Description": "Basic sample for Microsoft.Cdn/profiles/customDomains@2021-06-01." + }, + { + "ResourceType": "Microsoft.Cdn/profiles", + "Path": "profiles/endpoints/main.bicep", + "Description": "Basic sample for Microsoft.Cdn/profiles/endpoints@2020-09-01." + }, + { + "ResourceType": "Microsoft.Cdn/profiles", + "Path": "profiles/origingroups/main.bicep", + "Description": "Basic sample for Microsoft.Cdn/profiles/originGroups@2021-06-01." + }, + { + "ResourceType": "Microsoft.Cdn/profiles", + "Path": "profiles/origingroups/origins/main.bicep", + "Description": "Basic sample for Microsoft.Cdn/profiles/originGroups/origins@2021-06-01." + }, + { + "ResourceType": "Microsoft.Cdn/profiles", + "Path": "profiles/rulesets/main.bicep", + "Description": "Basic sample for Microsoft.Cdn/profiles/ruleSets@2021-06-01." + }, + { + "ResourceType": "Microsoft.Cdn/profiles", + "Path": "profiles/securitypolicies/main.bicep", + "Description": "Basic sample for Microsoft.Cdn/profiles/securityPolicies@2021-06-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.certificateregistration/certificateorders/main.bicep b/settings/remarks/microsoft.certificateregistration/certificateorders/main.bicep new file mode 100644 index 0000000..3ab66ba --- /dev/null +++ b/settings/remarks/microsoft.certificateregistration/certificateorders/main.bicep @@ -0,0 +1,15 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource certificateOrder 'Microsoft.CertificateRegistration/certificateOrders@2021-02-01' = { + location: 'global' + name: resource_name + properties: { + autoRenew: true + distinguishedName: 'CN=example.com' + keySize: 2048 + productType: 'StandardDomainValidatedSsl' + validityInYears: 1 + } +} + diff --git a/settings/remarks/microsoft.certificateregistration/remarks.json b/settings/remarks/microsoft.certificateregistration/remarks.json new file mode 100644 index 0000000..e8d62ec --- /dev/null +++ b/settings/remarks/microsoft.certificateregistration/remarks.json @@ -0,0 +1,10 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.CertificateRegistration/certificateOrders", + "Path": "certificateorders/main.bicep", + "Description": "Basic sample for Microsoft.CertificateRegistration/certificateOrders@2021-02-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.cognitiveservices/accounts/deployments/main.bicep b/settings/remarks/microsoft.cognitiveservices/accounts/deployments/main.bicep new file mode 100644 index 0000000..313d597 --- /dev/null +++ b/settings/remarks/microsoft.cognitiveservices/accounts/deployments/main.bicep @@ -0,0 +1,33 @@ +param location string = 'eastus' +param resource_name string = 'acctest0003' + +resource account 'Microsoft.CognitiveServices/accounts@2022-10-01' = { + location: location + name: resource_name + identity: { + type: 'None' + userAssignedIdentities: null + } + kind: 'OpenAI' + properties: { + disableLocalAuth: false + dynamicThrottlingEnabled: false + publicNetworkAccess: 'Enabled' + restrictOutboundNetworkAccess: false + } + sku: { + name: 'S0' + } +} + +resource deployment 'Microsoft.CognitiveServices/accounts/deployments@2023-05-01' = { + parent: account + name: 'testdep' + properties: { + model: { + format: 'OpenAI' + name: 'text-embedding-ada-002' + } + } +} + diff --git a/settings/remarks/microsoft.cognitiveservices/accounts/main.bicep b/settings/remarks/microsoft.cognitiveservices/accounts/main.bicep new file mode 100644 index 0000000..6a04f3b --- /dev/null +++ b/settings/remarks/microsoft.cognitiveservices/accounts/main.bicep @@ -0,0 +1,35 @@ +param location string = 'westus2' +param resource_name string = 'acctest0001' + +resource account 'Microsoft.CognitiveServices/accounts@2022-10-01' = { + identity: [ + { + identity_ids: [ + userAssignedIdentity.id + ] + type: 'SystemAssigned, UserAssigned' + } + ] + location: location + name: resource_name + kind: 'SpeechServices' + properties: { + allowedFqdnList: [] + apiProperties: {} + customSubDomainName: 'acctest-cogacc-230630032807723157' + disableLocalAuth: false + dynamicThrottlingEnabled: false + publicNetworkAccess: 'Enabled' + restrictOutboundNetworkAccess: false + } + sku: { + name: 'S0' + tier: 'Standard' + } +} + +resource userAssignedIdentity 'Microsoft.ManagedIdentity/userAssignedIdentities@2023-01-31' = { + location: location + name: resource_name +} + diff --git a/settings/remarks/microsoft.cognitiveservices/accounts/raipolicies/main.bicep b/settings/remarks/microsoft.cognitiveservices/accounts/raipolicies/main.bicep new file mode 100644 index 0000000..38edf06 --- /dev/null +++ b/settings/remarks/microsoft.cognitiveservices/accounts/raipolicies/main.bicep @@ -0,0 +1,35 @@ +param location string = 'eastus' +param resource_name string = 'acctest0003' + +resource account 'Microsoft.CognitiveServices/accounts@2022-10-01' = { + location: location + name: resource_name + kind: 'OpenAI' + properties: { + disableLocalAuth: false + dynamicThrottlingEnabled: false + publicNetworkAccess: 'Enabled' + restrictOutboundNetworkAccess: false + } + sku: { + name: 'S0' + } +} + +resource raiPolicy 'Microsoft.CognitiveServices/accounts/raiPolicies@2024-10-01' = { + parent: account + name: 'NoModerationPolicy' + properties: { + basePolicyName: 'Microsoft.Default' + contentFilters: [ + { + blocking: true + enabled: true + name: 'Hate' + severityThreshold: 'High' + source: 'Prompt' + } + ] + } +} + diff --git a/settings/remarks/microsoft.cognitiveservices/remarks.json b/settings/remarks/microsoft.cognitiveservices/remarks.json new file mode 100644 index 0000000..26b40a5 --- /dev/null +++ b/settings/remarks/microsoft.cognitiveservices/remarks.json @@ -0,0 +1,20 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.CognitiveServices/accounts", + "Path": "accounts/main.bicep", + "Description": "Basic sample for Microsoft.CognitiveServices/accounts@2022-10-01." + }, + { + "ResourceType": "Microsoft.CognitiveServices/accounts", + "Path": "accounts/deployments/main.bicep", + "Description": "Basic sample for Microsoft.CognitiveServices/accounts/deployments@2022-10-01." + }, + { + "ResourceType": "Microsoft.CognitiveServices/accounts", + "Path": "accounts/raipolicies/main.bicep", + "Description": "Basic sample for Microsoft.CognitiveServices/accounts/raiPolicies@2024-10-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.communication/communicationservices/main.bicep b/settings/remarks/microsoft.communication/communicationservices/main.bicep new file mode 100644 index 0000000..2db818b --- /dev/null +++ b/settings/remarks/microsoft.communication/communicationservices/main.bicep @@ -0,0 +1,11 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource communicationService 'Microsoft.Communication/communicationServices@2023-03-31' = { + location: 'global' + name: resource_name + properties: { + dataLocation: 'United States' + } +} + diff --git a/settings/remarks/microsoft.communication/emailservices/domains/main.bicep b/settings/remarks/microsoft.communication/emailservices/domains/main.bicep new file mode 100644 index 0000000..2c14530 --- /dev/null +++ b/settings/remarks/microsoft.communication/emailservices/domains/main.bicep @@ -0,0 +1,24 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource domain 'Microsoft.Communication/emailServices/domains@2023-04-01-preview' = { + parent: emailService + location: 'global' + name: 'example.com' + tags: { + env: 'Test' + } + properties: { + domainManagement: 'CustomerManaged' + userEngagementTracking: 'Disabled' + } +} + +resource emailService 'Microsoft.Communication/emailServices@2023-04-01-preview' = { + location: 'global' + name: resource_name + properties: { + dataLocation: 'United States' + } +} + diff --git a/settings/remarks/microsoft.communication/emailservices/domains/senderusernames/main.bicep b/settings/remarks/microsoft.communication/emailservices/domains/senderusernames/main.bicep new file mode 100644 index 0000000..29d4c3c --- /dev/null +++ b/settings/remarks/microsoft.communication/emailservices/domains/senderusernames/main.bicep @@ -0,0 +1,33 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource domain 'Microsoft.Communication/emailServices/domains@2023-04-01-preview' = { + parent: emailService + location: 'global' + name: 'example.com' + tags: { + env: 'Test' + } + properties: { + domainManagement: 'CustomerManaged' + userEngagementTracking: 'Disabled' + } +} + +resource emailService 'Microsoft.Communication/emailServices@2023-04-01-preview' = { + location: 'global' + name: resource_name + properties: { + dataLocation: 'United States' + } +} + +resource senderUsername 'Microsoft.Communication/emailServices/domains/senderUsernames@2023-04-01-preview' = { + parent: domain + name: 'TestSenderUserName' + properties: { + displayName: 'TestDisplayName' + username: 'TestSenderUserName' + } +} + diff --git a/settings/remarks/microsoft.communication/emailservices/main.bicep b/settings/remarks/microsoft.communication/emailservices/main.bicep new file mode 100644 index 0000000..876afa1 --- /dev/null +++ b/settings/remarks/microsoft.communication/emailservices/main.bicep @@ -0,0 +1,11 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource emailService 'Microsoft.Communication/emailServices@2023-03-31' = { + location: 'global' + name: resource_name + properties: { + dataLocation: 'United States' + } +} + diff --git a/settings/remarks/microsoft.communication/remarks.json b/settings/remarks/microsoft.communication/remarks.json new file mode 100644 index 0000000..90e943d --- /dev/null +++ b/settings/remarks/microsoft.communication/remarks.json @@ -0,0 +1,25 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.Communication/communicationServices", + "Path": "communicationservices/main.bicep", + "Description": "Basic sample for Microsoft.Communication/communicationServices@2023-03-31." + }, + { + "ResourceType": "Microsoft.Communication/emailServices", + "Path": "emailservices/main.bicep", + "Description": "Basic sample for Microsoft.Communication/emailServices@2023-03-31." + }, + { + "ResourceType": "Microsoft.Communication/emailServices", + "Path": "emailservices/domains/main.bicep", + "Description": "Basic sample for Microsoft.Communication/emailServices/domains@2023-04-01-preview." + }, + { + "ResourceType": "Microsoft.Communication/emailServices", + "Path": "emailservices/domains/senderusernames/main.bicep", + "Description": "Basic sample for Microsoft.Communication/emailServices/domains/senderUsernames@2023-04-01-preview." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.compute/availabilitysets/main.bicep b/settings/remarks/microsoft.compute/availabilitysets/main.bicep new file mode 100644 index 0000000..e9bfa35 --- /dev/null +++ b/settings/remarks/microsoft.compute/availabilitysets/main.bicep @@ -0,0 +1,15 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource availabilitySet 'Microsoft.Compute/availabilitySets@2021-11-01' = { + location: location + name: resource_name + properties: { + platformFaultDomainCount: 3 + platformUpdateDomainCount: 5 + } + sku: { + name: 'Aligned' + } +} + diff --git a/settings/remarks/microsoft.compute/capacityreservationgroups/main.bicep b/settings/remarks/microsoft.compute/capacityreservationgroups/main.bicep new file mode 100644 index 0000000..f81d632 --- /dev/null +++ b/settings/remarks/microsoft.compute/capacityreservationgroups/main.bicep @@ -0,0 +1,8 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource capacityReservationGroup 'Microsoft.Compute/capacityReservationGroups@2022-03-01' = { + location: location + name: resource_name +} + diff --git a/settings/remarks/microsoft.compute/diskaccesses/main.bicep b/settings/remarks/microsoft.compute/diskaccesses/main.bicep new file mode 100644 index 0000000..085a5fd --- /dev/null +++ b/settings/remarks/microsoft.compute/diskaccesses/main.bicep @@ -0,0 +1,12 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource diskAccess 'Microsoft.Compute/diskAccesses@2022-03-02' = { + location: location + name: resource_name + tags: { + 'cost-center': 'ops' + environment: 'acctest' + } +} + diff --git a/settings/remarks/microsoft.compute/disks/main.bicep b/settings/remarks/microsoft.compute/disks/main.bicep new file mode 100644 index 0000000..3beb30e --- /dev/null +++ b/settings/remarks/microsoft.compute/disks/main.bicep @@ -0,0 +1,23 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource disk 'Microsoft.Compute/disks@2022-03-02' = { + location: location + name: resource_name + properties: { + creationData: { + createOption: 'Empty' + } + diskSizeGB: 10 + encryption: { + type: 'EncryptionAtRestWithPlatformKey' + } + networkAccessPolicy: 'AllowAll' + osType: '' + publicNetworkAccess: 'Enabled' + } + sku: { + name: 'Standard_LRS' + } +} + diff --git a/settings/remarks/microsoft.compute/galleries/applications/main.bicep b/settings/remarks/microsoft.compute/galleries/applications/main.bicep new file mode 100644 index 0000000..2be4281 --- /dev/null +++ b/settings/remarks/microsoft.compute/galleries/applications/main.bicep @@ -0,0 +1,20 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource application 'Microsoft.Compute/galleries/applications@2022-03-03' = { + parent: gallery + location: location + name: resource_name + properties: { + supportedOSType: 'Linux' + } +} + +resource gallery 'Microsoft.Compute/galleries@2022-03-03' = { + location: location + name: resource_name + properties: { + description: '' + } +} + diff --git a/settings/remarks/microsoft.compute/galleries/images/main.bicep b/settings/remarks/microsoft.compute/galleries/images/main.bicep new file mode 100644 index 0000000..9966f91 --- /dev/null +++ b/settings/remarks/microsoft.compute/galleries/images/main.bicep @@ -0,0 +1,39 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource gallery 'Microsoft.Compute/galleries@2022-03-03' = { + location: location + name: resource_name + properties: { + description: '' + } +} + +resource image 'Microsoft.Compute/galleries/images@2022-03-03' = { + parent: gallery + location: location + name: resource_name + properties: { + architecture: 'x64' + description: '' + disallowed: { + diskTypes: [] + } + features: null + hyperVGeneration: 'V1' + identifier: { + offer: 'AccTesOffer230630032848825313' + publisher: 'AccTesPublisher230630032848825313' + sku: 'AccTesSku230630032848825313' + } + osState: 'Generalized' + osType: 'Linux' + privacyStatementUri: '' + recommended: { + memory: {} + vCPUs: {} + } + releaseNoteUri: '' + } +} + diff --git a/settings/remarks/microsoft.compute/galleries/main.bicep b/settings/remarks/microsoft.compute/galleries/main.bicep new file mode 100644 index 0000000..b105c76 --- /dev/null +++ b/settings/remarks/microsoft.compute/galleries/main.bicep @@ -0,0 +1,11 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource gallery 'Microsoft.Compute/galleries@2022-03-03' = { + location: location + name: resource_name + properties: { + description: '' + } +} + diff --git a/settings/remarks/microsoft.compute/hostgroups/hosts/main.bicep b/settings/remarks/microsoft.compute/hostgroups/hosts/main.bicep new file mode 100644 index 0000000..2c3b1ca --- /dev/null +++ b/settings/remarks/microsoft.compute/hostgroups/hosts/main.bicep @@ -0,0 +1,25 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource host 'Microsoft.Compute/hostGroups/hosts@2021-11-01' = { + parent: hostGroup + location: location + name: resource_name + properties: { + autoReplaceOnFailure: true + licenseType: 'None' + platformFaultDomain: 1 + } + sku: { + name: 'DSv3-Type1' + } +} + +resource hostGroup 'Microsoft.Compute/hostGroups@2021-11-01' = { + location: location + name: resource_name + properties: { + platformFaultDomainCount: 2 + } +} + diff --git a/settings/remarks/microsoft.compute/hostgroups/main.bicep b/settings/remarks/microsoft.compute/hostgroups/main.bicep new file mode 100644 index 0000000..508e040 --- /dev/null +++ b/settings/remarks/microsoft.compute/hostgroups/main.bicep @@ -0,0 +1,11 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource hostGroup 'Microsoft.Compute/hostGroups@2021-11-01' = { + location: location + name: resource_name + properties: { + platformFaultDomainCount: 2 + } +} + diff --git a/settings/remarks/microsoft.compute/proximityplacementgroups/main.bicep b/settings/remarks/microsoft.compute/proximityplacementgroups/main.bicep new file mode 100644 index 0000000..eb52e8e --- /dev/null +++ b/settings/remarks/microsoft.compute/proximityplacementgroups/main.bicep @@ -0,0 +1,9 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource proximityPlacementGroup 'Microsoft.Compute/proximityPlacementGroups@2022-03-01' = { + location: location + name: resource_name + properties: {} +} + diff --git a/settings/remarks/microsoft.compute/remarks.json b/settings/remarks/microsoft.compute/remarks.json new file mode 100644 index 0000000..59a2819 --- /dev/null +++ b/settings/remarks/microsoft.compute/remarks.json @@ -0,0 +1,75 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.Compute/availabilitySets", + "Path": "availabilitysets/main.bicep", + "Description": "Basic sample for Microsoft.Compute/availabilitySets@2021-11-01." + }, + { + "ResourceType": "Microsoft.Compute/capacityReservationGroups", + "Path": "capacityreservationgroups/main.bicep", + "Description": "Basic sample for Microsoft.Compute/capacityReservationGroups@2022-03-01." + }, + { + "ResourceType": "Microsoft.Compute/diskAccesses", + "Path": "diskaccesses/main.bicep", + "Description": "Basic sample for Microsoft.Compute/diskAccesses@2022-03-02." + }, + { + "ResourceType": "Microsoft.Compute/disks", + "Path": "disks/main.bicep", + "Description": "Basic sample for Microsoft.Compute/disks@2022-03-02." + }, + { + "ResourceType": "Microsoft.Compute/galleries", + "Path": "galleries/main.bicep", + "Description": "Basic sample for Microsoft.Compute/galleries@2022-03-03." + }, + { + "ResourceType": "Microsoft.Compute/galleries", + "Path": "galleries/applications/main.bicep", + "Description": "Basic sample for Microsoft.Compute/galleries/applications@2022-03-03." + }, + { + "ResourceType": "Microsoft.Compute/galleries", + "Path": "galleries/images/main.bicep", + "Description": "Basic sample for Microsoft.Compute/galleries/images@2022-03-03." + }, + { + "ResourceType": "Microsoft.Compute/hostGroups", + "Path": "hostgroups/main.bicep", + "Description": "Basic sample for Microsoft.Compute/hostGroups@2021-11-01." + }, + { + "ResourceType": "Microsoft.Compute/hostGroups", + "Path": "hostgroups/hosts/main.bicep", + "Description": "Basic sample for Microsoft.Compute/hostGroups/hosts@2021-11-01." + }, + { + "ResourceType": "Microsoft.Compute/proximityPlacementGroups", + "Path": "proximityplacementgroups/main.bicep", + "Description": "Basic sample for Microsoft.Compute/proximityPlacementGroups@2022-03-01." + }, + { + "ResourceType": "Microsoft.Compute/sshPublicKeys", + "Path": "sshpublickeys/main.bicep", + "Description": "Basic sample for Microsoft.Compute/sshPublicKeys@2021-11-01." + }, + { + "ResourceType": "Microsoft.Compute/virtualMachineScaleSets", + "Path": "virtualmachinescalesets/main.bicep", + "Description": "Basic sample for Microsoft.Compute/virtualMachineScaleSets@2023-03-01." + }, + { + "ResourceType": "Microsoft.Compute/virtualMachineScaleSets", + "Path": "virtualmachinescalesets/extensions/main.bicep", + "Description": "Basic sample for Microsoft.Compute/virtualMachineScaleSets/extensions@2023-03-01." + }, + { + "ResourceType": "Microsoft.Compute/virtualMachines", + "Path": "virtualmachines/extensions/main.bicep", + "Description": "Basic sample for Microsoft.Compute/virtualMachines/extensions@2023-03-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.compute/sshpublickeys/main.bicep b/settings/remarks/microsoft.compute/sshpublickeys/main.bicep new file mode 100644 index 0000000..992695c --- /dev/null +++ b/settings/remarks/microsoft.compute/sshpublickeys/main.bicep @@ -0,0 +1,14 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource sshPublicKey 'Microsoft.Compute/sshPublicKeys@2021-11-01' = { + location: location + name: resource_name + properties: { + publicKey: 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC+wWK73dCr+jgQOAxNsHAnNNNMEMWOHYEccp6wJm2gotpr9katuF/ZAdou5AaW1C61slRkHRkpRRX9FA9CYBiitZgvCCz+3nWNN7l/Up54Zps/pHWGZLHNJZRYyAB6j5yVLMVHIHriY49d/GZTZVNB8GoJv9Gakwc/fuEZYYl4YDFiGMBP///TzlI4jhiJzjKnEvqPFki5p2ZRJqcbCiF4pJrxUQR/RXqVFQdbRLZgYfJ8xGB878RENq3yQ39d8dVOkq4edbkzwcUmwwwkYVPIoDGsYLaRHnG+To7FvMeyO7xDVQkMKzopTQV8AuKpyvpqu0a9pWOMaiCyDytO7GGN you@me.com' + } + tags: { + 'test-tag': 'test-value-230630032848837073' + } +} + diff --git a/settings/remarks/microsoft.compute/virtualmachines/extensions/main.bicep b/settings/remarks/microsoft.compute/virtualmachines/extensions/main.bicep new file mode 100644 index 0000000..7c03ca3 --- /dev/null +++ b/settings/remarks/microsoft.compute/virtualmachines/extensions/main.bicep @@ -0,0 +1,116 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource extension 'Microsoft.Compute/virtualMachines/extensions@2023-03-01' = { + parent: virtualMachine + location: location + name: resource_name + properties: { + autoUpgradeMinorVersion: false + enableAutomaticUpgrade: false + publisher: 'Microsoft.Azure.Extensions' + settings: { + commandToExecute: 'hostname' + } + suppressFailures: false + type: 'CustomScript' + typeHandlerVersion: '2.0' + } + tags: { + environment: 'Production' + } +} + +resource networkInterface 'Microsoft.Network/networkInterfaces@2022-07-01' = { + location: location + name: resource_name + properties: { + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: [ + { + name: 'testconfiguration1' + properties: { + primary: true + privateIPAddressVersion: 'IPv4' + privateIPAllocationMethod: 'Dynamic' + subnet: { + id: subnet.id + } + } + } + ] + } +} + +resource subnet 'Microsoft.Network/virtualNetworks/subnets@2022-07-01' = { + parent: virtualNetwork + name: resource_name + properties: { + addressPrefix: '10.0.2.0/24' + delegations: [] + privateEndpointNetworkPolicies: 'Enabled' + privateLinkServiceNetworkPolicies: 'Enabled' + serviceEndpointPolicies: [] + serviceEndpoints: [] + } +} + +resource virtualMachine 'Microsoft.Compute/virtualMachines@2023-03-01' = { + location: location + name: resource_name + properties: { + hardwareProfile: { + vmSize: 'Standard_F2' + } + networkProfile: { + networkInterfaces: [ + { + id: networkInterface.id + properties: { + primary: false + } + } + ] + } + osProfile: { + adminPassword: 'Password1234!' + adminUsername: 'testadmin' + computerName: 'hostname230630032848831819' + linuxConfiguration: { + disablePasswordAuthentication: false + } + } + storageProfile: { + imageReference: { + offer: 'UbuntuServer' + publisher: 'Canonical' + sku: '16.04-LTS' + version: 'latest' + } + osDisk: { + caching: 'ReadWrite' + createOption: 'FromImage' + name: 'myosdisk1' + writeAcceleratorEnabled: false + } + } + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.0.0.0/16' + ] + } + dhcpOptions: { + dnsServers: [] + } + subnets: [] + } +} + diff --git a/settings/remarks/microsoft.compute/virtualmachinescalesets/extensions/main.bicep b/settings/remarks/microsoft.compute/virtualmachinescalesets/extensions/main.bicep new file mode 100644 index 0000000..9cce893 --- /dev/null +++ b/settings/remarks/microsoft.compute/virtualmachinescalesets/extensions/main.bicep @@ -0,0 +1,153 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource extension 'Microsoft.Compute/virtualMachineScaleSets/extensions@2023-03-01' = { + parent: virtualMachineScaleSet + name: resource_name + properties: { + autoUpgradeMinorVersion: true + enableAutomaticUpgrade: false + provisionAfterExtensions: [] + publisher: 'Microsoft.Azure.Extensions' + settings: { + commandToExecute: 'echo $HOSTNAME' + } + suppressFailures: false + type: 'CustomScript' + typeHandlerVersion: '2.0' + } +} + +resource subnet 'Microsoft.Network/virtualNetworks/subnets@2022-07-01' = { + parent: virtualNetwork + name: 'internal' + properties: { + addressPrefix: '10.0.2.0/24' + delegations: [] + privateEndpointNetworkPolicies: 'Enabled' + privateLinkServiceNetworkPolicies: 'Enabled' + serviceEndpointPolicies: [] + serviceEndpoints: [] + } +} + +resource virtualMachineScaleSet 'Microsoft.Compute/virtualMachineScaleSets@2023-03-01' = { + location: location + name: resource_name + properties: { + additionalCapabilities: {} + doNotRunExtensionsOnOverprovisionedVMs: false + orchestrationMode: 'Uniform' + overprovision: true + scaleInPolicy: { + forceDeletion: false + rules: [ + 'Default' + ] + } + singlePlacementGroup: true + upgradePolicy: { + mode: 'Manual' + } + virtualMachineProfile: { + diagnosticsProfile: { + bootDiagnostics: { + enabled: false + storageUri: '' + } + } + extensionProfile: { + extensionsTimeBudget: 'PT1H30M' + } + networkProfile: { + networkInterfaceConfigurations: [ + { + name: 'example' + properties: { + dnsSettings: { + dnsServers: [] + } + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: [ + { + name: 'internal' + properties: { + applicationGatewayBackendAddressPools: [] + applicationSecurityGroups: [] + loadBalancerBackendAddressPools: [] + loadBalancerInboundNatPools: [] + primary: true + privateIPAddressVersion: 'IPv4' + subnet: { + id: subnet.id + } + } + } + ] + primary: true + } + } + ] + } + osProfile: { + adminUsername: 'adminuser' + computerNamePrefix: resource_name + linuxConfiguration: { + disablePasswordAuthentication: true + provisionVMAgent: true + ssh: { + publicKeys: [ + { + keyData: 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC+wWK73dCr+jgQOAxNsHAnNNNMEMWOHYEccp6wJm2gotpr9katuF/ZAdou5AaW1C61slRkHRkpRRX9FA9CYBiitZgvCCz+3nWNN7l/Up54Zps/pHWGZLHNJZRYyAB6j5yVLMVHIHriY49d/GZTZVNB8GoJv9Gakwc/fuEZYYl4YDFiGMBP///TzlI4jhiJzjKnEvqPFki5p2ZRJqcbCiF4pJrxUQR/RXqVFQdbRLZgYfJ8xGB878RENq3yQ39d8dVOkq4edbkzwcUmwwwkYVPIoDGsYLaRHnG+To7FvMeyO7xDVQkMKzopTQV8AuKpyvpqu0a9pWOMaiCyDytO7GGN you@me.com' + path: '/home/adminuser/.ssh/authorized_keys' + } + ] + } + } + secrets: [] + } + priority: 'Regular' + storageProfile: { + dataDisks: [] + imageReference: { + offer: 'UbuntuServer' + publisher: 'Canonical' + sku: '16.04-LTS' + version: 'latest' + } + osDisk: { + caching: 'ReadWrite' + createOption: 'FromImage' + managedDisk: { + storageAccountType: 'Standard_LRS' + } + osType: 'Linux' + writeAcceleratorEnabled: false + } + } + } + } + sku: { + capacity: 1 + name: 'Standard_F2' + tier: 'Standard' + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.0.0.0/16' + ] + } + dhcpOptions: { + dnsServers: [] + } + subnets: [] + } +} + diff --git a/settings/remarks/microsoft.compute/virtualmachinescalesets/main.bicep b/settings/remarks/microsoft.compute/virtualmachinescalesets/main.bicep new file mode 100644 index 0000000..701374f --- /dev/null +++ b/settings/remarks/microsoft.compute/virtualmachinescalesets/main.bicep @@ -0,0 +1,136 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource subnet 'Microsoft.Network/virtualNetworks/subnets@2022-07-01' = { + parent: virtualNetwork + name: 'internal' + properties: { + addressPrefix: '10.0.2.0/24' + delegations: [] + privateEndpointNetworkPolicies: 'Enabled' + privateLinkServiceNetworkPolicies: 'Enabled' + serviceEndpointPolicies: [] + serviceEndpoints: [] + } +} + +resource virtualMachineScaleSet 'Microsoft.Compute/virtualMachineScaleSets@2023-03-01' = { + location: location + name: resource_name + properties: { + additionalCapabilities: {} + doNotRunExtensionsOnOverprovisionedVMs: false + orchestrationMode: 'Uniform' + overprovision: true + scaleInPolicy: { + forceDeletion: false + rules: [ + 'Default' + ] + } + singlePlacementGroup: true + upgradePolicy: { + mode: 'Manual' + } + virtualMachineProfile: { + diagnosticsProfile: { + bootDiagnostics: { + enabled: false + storageUri: '' + } + } + extensionProfile: { + extensionsTimeBudget: 'PT1H30M' + } + networkProfile: { + networkInterfaceConfigurations: [ + { + name: 'example' + properties: { + dnsSettings: { + dnsServers: [] + } + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: [ + { + name: 'internal' + properties: { + applicationGatewayBackendAddressPools: [] + applicationSecurityGroups: [] + loadBalancerBackendAddressPools: [] + loadBalancerInboundNatPools: [] + primary: true + privateIPAddressVersion: 'IPv4' + subnet: { + id: subnet.id + } + } + } + ] + primary: true + } + } + ] + } + osProfile: { + adminUsername: 'adminuser' + computerNamePrefix: resource_name + linuxConfiguration: { + disablePasswordAuthentication: true + provisionVMAgent: true + ssh: { + publicKeys: [ + { + keyData: 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC+wWK73dCr+jgQOAxNsHAnNNNMEMWOHYEccp6wJm2gotpr9katuF/ZAdou5AaW1C61slRkHRkpRRX9FA9CYBiitZgvCCz+3nWNN7l/Up54Zps/pHWGZLHNJZRYyAB6j5yVLMVHIHriY49d/GZTZVNB8GoJv9Gakwc/fuEZYYl4YDFiGMBP///TzlI4jhiJzjKnEvqPFki5p2ZRJqcbCiF4pJrxUQR/RXqVFQdbRLZgYfJ8xGB878RENq3yQ39d8dVOkq4edbkzwcUmwwwkYVPIoDGsYLaRHnG+To7FvMeyO7xDVQkMKzopTQV8AuKpyvpqu0a9pWOMaiCyDytO7GGN you@me.com' + path: '/home/adminuser/.ssh/authorized_keys' + } + ] + } + } + secrets: [] + } + priority: 'Regular' + storageProfile: { + dataDisks: [] + imageReference: { + offer: 'UbuntuServer' + publisher: 'Canonical' + sku: '16.04-LTS' + version: 'latest' + } + osDisk: { + caching: 'ReadWrite' + createOption: 'FromImage' + managedDisk: { + storageAccountType: 'Standard_LRS' + } + osType: 'Linux' + writeAcceleratorEnabled: false + } + } + } + } + sku: { + capacity: 1 + name: 'Standard_F2' + tier: 'Standard' + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.0.0.0/16' + ] + } + dhcpOptions: { + dnsServers: [] + } + subnets: [] + } +} + diff --git a/settings/remarks/microsoft.containerinstance/containergroups/main.bicep b/settings/remarks/microsoft.containerinstance/containergroups/main.bicep new file mode 100644 index 0000000..c6cc7de --- /dev/null +++ b/settings/remarks/microsoft.containerinstance/containergroups/main.bicep @@ -0,0 +1,50 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource containerGroup 'Microsoft.ContainerInstance/containerGroups@2023-05-01' = { + location: location + name: resource_name + properties: { + containers: [ + { + name: 'hw' + properties: { + command: [] + environmentVariables: [] + image: 'ubuntu:20.04' + ports: [ + { + port: 80 + protocol: 'TCP' + } + ] + resources: { + requests: { + cpu: json('0.5') + memoryInGB: json('0.5') + } + } + } + } + ] + initContainers: [] + ipAddress: { + autoGeneratedDomainNameLabelScope: 'Unsecure' + ports: [ + { + port: 80 + protocol: 'TCP' + } + ] + type: 'Public' + } + osType: 'Linux' + restartPolicy: 'Always' + volumes: [] + } + tags: { + environment: 'Testing' + } + zones: [] +} + diff --git a/settings/remarks/microsoft.containerinstance/remarks.json b/settings/remarks/microsoft.containerinstance/remarks.json new file mode 100644 index 0000000..eea37d6 --- /dev/null +++ b/settings/remarks/microsoft.containerinstance/remarks.json @@ -0,0 +1,10 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.ContainerInstance/containerGroups", + "Path": "containergroups/main.bicep", + "Description": "Basic sample for Microsoft.ContainerInstance/containerGroups@2023-05-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.containerregistry/registries/agentpools/main.bicep b/settings/remarks/microsoft.containerregistry/registries/agentpools/main.bicep new file mode 100644 index 0000000..47e07a3 --- /dev/null +++ b/settings/remarks/microsoft.containerregistry/registries/agentpools/main.bicep @@ -0,0 +1,48 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource agentPool 'Microsoft.ContainerRegistry/registries/agentPools@2019-06-01-preview' = { + parent: registry + location: location + name: resource_name + properties: { + count: 1 + os: 'Linux' + tier: 'S1' + } +} + +resource registry 'Microsoft.ContainerRegistry/registries@2021-08-01-preview' = { + location: location + name: resource_name + properties: { + adminUserEnabled: false + anonymousPullEnabled: false + dataEndpointEnabled: false + encryption: { + status: 'disabled' + } + networkRuleBypassOptions: 'AzureServices' + policies: { + exportPolicy: { + status: 'enabled' + } + quarantinePolicy: { + status: 'disabled' + } + retentionPolicy: { + status: 'disabled' + } + trustPolicy: { + status: 'disabled' + } + } + publicNetworkAccess: 'Enabled' + zoneRedundancy: 'Disabled' + } + sku: { + name: 'Premium' + tier: 'Premium' + } +} + diff --git a/settings/remarks/microsoft.containerregistry/registries/main.bicep b/settings/remarks/microsoft.containerregistry/registries/main.bicep new file mode 100644 index 0000000..facfe82 --- /dev/null +++ b/settings/remarks/microsoft.containerregistry/registries/main.bicep @@ -0,0 +1,37 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource registry 'Microsoft.ContainerRegistry/registries@2021-08-01-preview' = { + location: location + name: resource_name + properties: { + adminUserEnabled: false + anonymousPullEnabled: false + dataEndpointEnabled: false + encryption: { + status: 'disabled' + } + networkRuleBypassOptions: 'AzureServices' + policies: { + exportPolicy: { + status: 'enabled' + } + quarantinePolicy: { + status: 'disabled' + } + retentionPolicy: { + status: 'disabled' + } + trustPolicy: { + status: 'disabled' + } + } + publicNetworkAccess: 'Enabled' + zoneRedundancy: 'Disabled' + } + sku: { + name: 'Standard' + tier: 'Standard' + } +} + diff --git a/settings/remarks/microsoft.containerregistry/registries/scopemaps/main.bicep b/settings/remarks/microsoft.containerregistry/registries/scopemaps/main.bicep new file mode 100644 index 0000000..79c8342 --- /dev/null +++ b/settings/remarks/microsoft.containerregistry/registries/scopemaps/main.bicep @@ -0,0 +1,48 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource registry 'Microsoft.ContainerRegistry/registries@2021-08-01-preview' = { + location: location + name: resource_name + properties: { + adminUserEnabled: false + anonymousPullEnabled: false + dataEndpointEnabled: false + encryption: { + status: 'disabled' + } + networkRuleBypassOptions: 'AzureServices' + policies: { + exportPolicy: { + status: 'enabled' + } + quarantinePolicy: { + status: 'disabled' + } + retentionPolicy: { + status: 'disabled' + } + trustPolicy: { + status: 'disabled' + } + } + publicNetworkAccess: 'Enabled' + zoneRedundancy: 'Disabled' + } + sku: { + name: 'Premium' + tier: 'Premium' + } +} + +resource scopeMap 'Microsoft.ContainerRegistry/registries/scopeMaps@2021-08-01-preview' = { + parent: registry + name: resource_name + properties: { + actions: [ + 'repositories/testrepo/content/read' + ] + description: '' + } +} + diff --git a/settings/remarks/microsoft.containerregistry/registries/taskruns/main.bicep b/settings/remarks/microsoft.containerregistry/registries/taskruns/main.bicep new file mode 100644 index 0000000..2011500 --- /dev/null +++ b/settings/remarks/microsoft.containerregistry/registries/taskruns/main.bicep @@ -0,0 +1,57 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource registry 'Microsoft.ContainerRegistry/registries@2021-08-01-preview' = { + location: location + name: resource_name + properties: { + adminUserEnabled: false + anonymousPullEnabled: false + dataEndpointEnabled: false + encryption: { + status: 'disabled' + } + networkRuleBypassOptions: 'AzureServices' + policies: { + exportPolicy: { + status: 'enabled' + } + quarantinePolicy: { + status: 'disabled' + } + retentionPolicy: { + status: 'disabled' + } + trustPolicy: { + status: 'disabled' + } + } + publicNetworkAccess: 'Enabled' + zoneRedundancy: 'Disabled' + } + sku: { + name: 'Standard' + tier: 'Standard' + } +} + +resource taskRun 'Microsoft.ContainerRegistry/registries/taskRuns@2019-06-01-preview' = { + parent: registry + location: location + name: resource_name + properties: { + runRequest: { + dockerFilePath: 'Dockerfile' + imageNames: [ + 'helloworld:{{.Run.ID}}' + 'helloworld:latest' + ] + platform: { + os: 'Linux' + } + sourceLocation: 'https://github.com/Azure-Samples/aci-helloworld.git#master' + type: 'DockerBuildRequest' + } + } +} + diff --git a/settings/remarks/microsoft.containerregistry/registries/tasks/main.bicep b/settings/remarks/microsoft.containerregistry/registries/tasks/main.bicep new file mode 100644 index 0000000..ec4b4ee --- /dev/null +++ b/settings/remarks/microsoft.containerregistry/registries/tasks/main.bicep @@ -0,0 +1,49 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource registry 'Microsoft.ContainerRegistry/registries@2021-08-01-preview' = { + location: location + name: resource_name + properties: { + adminUserEnabled: false + anonymousPullEnabled: false + dataEndpointEnabled: false + encryption: { + status: 'disabled' + } + networkRuleBypassOptions: 'AzureServices' + policies: { + exportPolicy: { + status: 'enabled' + } + quarantinePolicy: { + status: 'disabled' + } + retentionPolicy: { + status: 'disabled' + } + trustPolicy: { + status: 'disabled' + } + } + publicNetworkAccess: 'Enabled' + zoneRedundancy: 'Disabled' + } + sku: { + name: 'Basic' + tier: 'Basic' + } +} + +resource task 'Microsoft.ContainerRegistry/registries/tasks@2019-06-01-preview' = { + parent: registry + location: location + name: resource_name + properties: { + isSystemTask: true + status: 'Enabled' + step: null + timeout: 3600 + } +} + diff --git a/settings/remarks/microsoft.containerregistry/registries/webhooks/main.bicep b/settings/remarks/microsoft.containerregistry/registries/webhooks/main.bicep new file mode 100644 index 0000000..008ad93 --- /dev/null +++ b/settings/remarks/microsoft.containerregistry/registries/webhooks/main.bicep @@ -0,0 +1,52 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource registry 'Microsoft.ContainerRegistry/registries@2021-08-01-preview' = { + location: location + name: resource_name + properties: { + adminUserEnabled: false + anonymousPullEnabled: false + dataEndpointEnabled: false + encryption: { + status: 'disabled' + } + networkRuleBypassOptions: 'AzureServices' + policies: { + exportPolicy: { + status: 'enabled' + } + quarantinePolicy: { + status: 'disabled' + } + retentionPolicy: { + status: 'disabled' + } + trustPolicy: { + status: 'disabled' + } + } + publicNetworkAccess: 'Enabled' + zoneRedundancy: 'Disabled' + } + sku: { + name: 'Standard' + tier: 'Standard' + } +} + +resource webHook 'Microsoft.ContainerRegistry/registries/webHooks@2021-08-01-preview' = { + parent: registry + location: location + name: resource_name + properties: { + actions: [ + 'push' + ] + customHeaders: {} + scope: '' + serviceUri: 'https://mywebhookreceiver.example/mytag' + status: 'enabled' + } +} + diff --git a/settings/remarks/microsoft.containerregistry/remarks.json b/settings/remarks/microsoft.containerregistry/remarks.json new file mode 100644 index 0000000..48c417a --- /dev/null +++ b/settings/remarks/microsoft.containerregistry/remarks.json @@ -0,0 +1,35 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.ContainerRegistry/registries", + "Path": "registries/main.bicep", + "Description": "Basic sample for Microsoft.ContainerRegistry/registries@2021-08-01-preview." + }, + { + "ResourceType": "Microsoft.ContainerRegistry/registries", + "Path": "registries/agentpools/main.bicep", + "Description": "Basic sample for Microsoft.ContainerRegistry/registries/agentPools@2019-06-01-preview." + }, + { + "ResourceType": "Microsoft.ContainerRegistry/registries", + "Path": "registries/scopemaps/main.bicep", + "Description": "Basic sample for Microsoft.ContainerRegistry/registries/scopeMaps@2021-08-01-preview." + }, + { + "ResourceType": "Microsoft.ContainerRegistry/registries", + "Path": "registries/taskruns/main.bicep", + "Description": "Basic sample for Microsoft.ContainerRegistry/registries/taskRuns@2019-06-01-preview." + }, + { + "ResourceType": "Microsoft.ContainerRegistry/registries", + "Path": "registries/tasks/main.bicep", + "Description": "Basic sample for Microsoft.ContainerRegistry/registries/tasks@2019-06-01-preview." + }, + { + "ResourceType": "Microsoft.ContainerRegistry/registries", + "Path": "registries/webhooks/main.bicep", + "Description": "Basic sample for Microsoft.ContainerRegistry/registries/webHooks@2021-08-01-preview." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.containerservice/managedclusters/agentpools/main.bicep b/settings/remarks/microsoft.containerservice/managedclusters/agentpools/main.bicep new file mode 100644 index 0000000..cbdf5c8 --- /dev/null +++ b/settings/remarks/microsoft.containerservice/managedclusters/agentpools/main.bicep @@ -0,0 +1,35 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource agentPool 'Microsoft.ContainerService/managedClusters/agentPools@2023-04-02-preview' = { + parent: managedCluster + name: 'internal' + properties: { + count: 1 + mode: 'User' + vmSize: 'Standard_DS2_v2' + } +} + +resource managedCluster 'Microsoft.ContainerService/managedClusters@2023-04-02-preview' = { + identity: [ + { + identity_ids: [] + type: 'SystemAssigned' + } + ] + location: location + name: resource_name + properties: { + agentPoolProfiles: [ + { + count: 1 + mode: 'System' + name: 'default' + vmSize: 'Standard_DS2_v2' + } + ] + dnsPrefix: resource_name + } +} + diff --git a/settings/remarks/microsoft.containerservice/managedclusters/main.bicep b/settings/remarks/microsoft.containerservice/managedclusters/main.bicep new file mode 100644 index 0000000..e8aedc7 --- /dev/null +++ b/settings/remarks/microsoft.containerservice/managedclusters/main.bicep @@ -0,0 +1,25 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource managedCluster 'Microsoft.ContainerService/managedClusters@2023-04-02-preview' = { + identity: [ + { + identity_ids: [] + type: 'SystemAssigned' + } + ] + location: location + name: resource_name + properties: { + agentPoolProfiles: [ + { + count: 1 + mode: 'System' + name: 'default' + vmSize: 'Standard_DS2_v2' + } + ] + dnsPrefix: resource_name + } +} + diff --git a/settings/remarks/microsoft.containerservice/remarks.json b/settings/remarks/microsoft.containerservice/remarks.json index 6999c0f..314a0da 100644 --- a/settings/remarks/microsoft.containerservice/remarks.json +++ b/settings/remarks/microsoft.containerservice/remarks.json @@ -7,5 +7,17 @@ ], "Description": "For information about available add-ons, see [Add-ons, extensions, and other integrations with Azure Kubernetes Service](/azure/aks/integrations)." } + ], + "BicepSamples": [ + { + "ResourceType": "Microsoft.ContainerService/managedClusters", + "Path": "managedclusters/main.bicep", + "Description": "Basic sample for Microsoft.ContainerService/managedClusters@2023-04-02-preview." + }, + { + "ResourceType": "Microsoft.ContainerService/managedClusters", + "Path": "managedclusters/agentpools/main.bicep", + "Description": "Basic sample for Microsoft.ContainerService/managedClusters/agentPools@2023-04-02-preview." + } ] } \ No newline at end of file diff --git a/settings/remarks/microsoft.costmanagement/remarks.json b/settings/remarks/microsoft.costmanagement/remarks.json new file mode 100644 index 0000000..a4da542 --- /dev/null +++ b/settings/remarks/microsoft.costmanagement/remarks.json @@ -0,0 +1,15 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.CostManagement/scheduledActions", + "Path": "scheduledactions/main.bicep", + "Description": "Basic sample for Microsoft.CostManagement/scheduledActions@2022-06-01-preview." + }, + { + "ResourceType": "Microsoft.CostManagement/views", + "Path": "views/main.bicep", + "Description": "Basic sample for Microsoft.CostManagement/views@2022-10-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.costmanagement/scheduledactions/main.bicep b/settings/remarks/microsoft.costmanagement/scheduledactions/main.bicep new file mode 100644 index 0000000..d836c23 --- /dev/null +++ b/settings/remarks/microsoft.costmanagement/scheduledactions/main.bicep @@ -0,0 +1,87 @@ +param location string = 'eastus' +param resource_name string = 'acctest0001' + +resource scheduledAction 'Microsoft.CostManagement/scheduledActions@2022-06-01-preview' = { + name: resource_name + kind: 'InsightAlert' + properties: { + displayName: 'acctest 230630032939736168' + fileDestination: { + fileFormats: [] + } + notification: { + message: 'Oops, cost anomaly' + subject: 'Hi' + to: [ + 'test@test.com' + 'test@hashicorp.developer' + ] + } + schedule: { + endDate: '2024-07-18T11:21:14+00:00' + frequency: 'Daily' + startDate: '2023-07-18T11:21:14+00:00' + } + status: 'Enabled' + viewId: view.id + } +} + +resource view 'Microsoft.CostManagement/views@2022-10-01' = { + name: resource_name + properties: { + accumulated: 'False' + chart: 'StackedColumn' + displayName: 'Test View wgvtl' + kpis: [ + { + enabled: true + type: 'Forecast' + } + ] + pivots: [ + { + name: 'ServiceName' + type: 'Dimension' + } + { + name: 'ResourceLocation' + type: 'Dimension' + } + { + name: 'ResourceGroupName' + type: 'Dimension' + } + ] + query: { + dataSet: { + aggregation: { + totalCost: { + function: 'Sum' + name: 'Cost' + } + totalCostUSD: { + function: 'Sum' + name: 'CostUSD' + } + } + granularity: 'Monthly' + grouping: [ + { + name: 'ResourceGroupName' + type: 'Dimension' + } + ] + sorting: [ + { + direction: 'Ascending' + name: 'BillingMonth' + } + ] + } + timeframe: 'MonthToDate' + type: 'Usage' + } + } +} + diff --git a/settings/remarks/microsoft.costmanagement/views/main.bicep b/settings/remarks/microsoft.costmanagement/views/main.bicep new file mode 100644 index 0000000..d881cf5 --- /dev/null +++ b/settings/remarks/microsoft.costmanagement/views/main.bicep @@ -0,0 +1,61 @@ +param location string = 'eastus' +param resource_name string = 'acctest0001' + +resource view 'Microsoft.CostManagement/views@2022-10-01' = { + name: resource_name + properties: { + accumulated: 'False' + chart: 'StackedColumn' + displayName: 'Test View wgvtl' + kpis: [ + { + enabled: true + type: 'Forecast' + } + ] + pivots: [ + { + name: 'ServiceName' + type: 'Dimension' + } + { + name: 'ResourceLocation' + type: 'Dimension' + } + { + name: 'ResourceGroupName' + type: 'Dimension' + } + ] + query: { + dataSet: { + aggregation: { + totalCost: { + function: 'Sum' + name: 'Cost' + } + totalCostUSD: { + function: 'Sum' + name: 'CostUSD' + } + } + granularity: 'Monthly' + grouping: [ + { + name: 'ResourceGroupName' + type: 'Dimension' + } + ] + sorting: [ + { + direction: 'Ascending' + name: 'BillingMonth' + } + ] + } + timeframe: 'MonthToDate' + type: 'Usage' + } + } +} + diff --git a/settings/remarks/microsoft.customproviders/remarks.json b/settings/remarks/microsoft.customproviders/remarks.json new file mode 100644 index 0000000..299dd19 --- /dev/null +++ b/settings/remarks/microsoft.customproviders/remarks.json @@ -0,0 +1,10 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.CustomProviders/resourceProviders", + "Path": "resourceproviders/main.bicep", + "Description": "Basic sample for Microsoft.CustomProviders/resourceProviders@2018-09-01-preview." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.customproviders/resourceproviders/main.bicep b/settings/remarks/microsoft.customproviders/resourceproviders/main.bicep new file mode 100644 index 0000000..b2c4a7d --- /dev/null +++ b/settings/remarks/microsoft.customproviders/resourceproviders/main.bicep @@ -0,0 +1,17 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource resourceProvider 'Microsoft.CustomProviders/resourceProviders@2018-09-01-preview' = { + location: location + name: resource_name + properties: { + resourceTypes: [ + { + endpoint: 'https://example.com/' + name: 'dEf1' + routingType: 'Proxy' + } + ] + } +} + diff --git a/settings/remarks/microsoft.dashboard/grafana/main.bicep b/settings/remarks/microsoft.dashboard/grafana/main.bicep new file mode 100644 index 0000000..9390e16 --- /dev/null +++ b/settings/remarks/microsoft.dashboard/grafana/main.bicep @@ -0,0 +1,18 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource grafana 'Microsoft.Dashboard/grafana@2022-08-01' = { + location: location + name: resource_name + properties: { + apiKey: 'Disabled' + autoGeneratedDomainNameLabelScope: 'TenantReuse' + deterministicOutboundIP: 'Disabled' + publicNetworkAccess: 'Enabled' + zoneRedundancy: 'Disabled' + } + sku: { + name: 'Standard' + } +} + diff --git a/settings/remarks/microsoft.dashboard/remarks.json b/settings/remarks/microsoft.dashboard/remarks.json new file mode 100644 index 0000000..2a013f3 --- /dev/null +++ b/settings/remarks/microsoft.dashboard/remarks.json @@ -0,0 +1,10 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.Dashboard/grafana", + "Path": "grafana/main.bicep", + "Description": "Basic sample for Microsoft.Dashboard/grafana@2022-08-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.databoxedge/databoxedgedevices/main.bicep b/settings/remarks/microsoft.databoxedge/databoxedgedevices/main.bicep new file mode 100644 index 0000000..2501d86 --- /dev/null +++ b/settings/remarks/microsoft.databoxedge/databoxedgedevices/main.bicep @@ -0,0 +1,12 @@ +param location string = 'eastus' +param resource_name string = 'acctest0001' + +resource dataBoxEdgeDevice 'Microsoft.DataBoxEdge/dataBoxEdgeDevices@2022-03-01' = { + location: location + name: resource_name + sku: { + name: 'EdgeP_Base' + tier: 'Standard' + } +} + diff --git a/settings/remarks/microsoft.databoxedge/remarks.json b/settings/remarks/microsoft.databoxedge/remarks.json new file mode 100644 index 0000000..8a640f6 --- /dev/null +++ b/settings/remarks/microsoft.databoxedge/remarks.json @@ -0,0 +1,10 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", + "Path": "databoxedgedevices/main.bicep", + "Description": "Basic sample for Microsoft.DataBoxEdge/dataBoxEdgeDevices@2022-03-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.databricks/accessconnectors/main.bicep b/settings/remarks/microsoft.databricks/accessconnectors/main.bicep new file mode 100644 index 0000000..3f35e2f --- /dev/null +++ b/settings/remarks/microsoft.databricks/accessconnectors/main.bicep @@ -0,0 +1,8 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource accessConnector 'Microsoft.Databricks/accessConnectors@2022-10-01-preview' = { + location: location + name: resource_name +} + diff --git a/settings/remarks/microsoft.databricks/remarks.json b/settings/remarks/microsoft.databricks/remarks.json new file mode 100644 index 0000000..61ad440 --- /dev/null +++ b/settings/remarks/microsoft.databricks/remarks.json @@ -0,0 +1,10 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.Databricks/accessConnectors", + "Path": "accessconnectors/main.bicep", + "Description": "Basic sample for Microsoft.Databricks/accessConnectors@2022-10-01-preview." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.datafactory/factories/credentials/main.bicep b/settings/remarks/microsoft.datafactory/factories/credentials/main.bicep new file mode 100644 index 0000000..0f798b2 --- /dev/null +++ b/settings/remarks/microsoft.datafactory/factories/credentials/main.bicep @@ -0,0 +1,40 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource credential 'Microsoft.DataFactory/factories/credentials@2018-06-01' = { + parent: factory + name: resource_name + properties: { + annotations: [ + 'test' + ] + description: 'this is a test' + type: 'ManagedIdentity' + typeProperties: { + resourceId: userAssignedIdentity.id + } + } +} + +resource factory 'Microsoft.DataFactory/factories@2018-06-01' = { + identity: [ + { + identity_ids: [ + userAssignedIdentity.id + ] + type: 'UserAssigned' + } + ] + location: location + name: resource_name + properties: { + publicNetworkAccess: 'Enabled' + repoConfiguration: null + } +} + +resource userAssignedIdentity 'Microsoft.ManagedIdentity/userAssignedIdentities@2023-01-31' = { + location: resourceGroup().location + name: resource_name +} + diff --git a/settings/remarks/microsoft.datafactory/factories/dataflows/main.bicep b/settings/remarks/microsoft.datafactory/factories/dataflows/main.bicep new file mode 100644 index 0000000..5b2a307 --- /dev/null +++ b/settings/remarks/microsoft.datafactory/factories/dataflows/main.bicep @@ -0,0 +1,94 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource dataflow 'Microsoft.DataFactory/factories/dataflows@2018-06-01' = { + parent: factory + name: resource_name + properties: { + description: '' + type: 'Flowlet' + typeProperties: { + script: 'source(\n allowSchemaDrift: true, \n validateSchema: false, \n limit: 100, \n ignoreNoFilesFound: false, \n documentForm: \'documentPerLine\') ~> source1 \nsource1 sink(\n allowSchemaDrift: true, \n validateSchema: false, \n skipDuplicateMapInputs: true, \n skipDuplicateMapOutputs: true) ~> sink1\n' + sinks: [ + { + description: '' + linkedService: { + parameters: {} + referenceName: linkedservice.name + type: 'LinkedServiceReference' + } + name: 'sink1' + } + ] + sources: [ + { + description: '' + linkedService: { + parameters: {} + referenceName: linkedservice.name + type: 'LinkedServiceReference' + } + name: 'source1' + } + ] + } + } +} + +resource factory 'Microsoft.DataFactory/factories@2018-06-01' = { + location: location + name: resource_name + properties: { + publicNetworkAccess: 'Enabled' + repoConfiguration: null + } +} + +resource linkedservice 'Microsoft.DataFactory/factories/linkedservices@2018-06-01' = { + parent: factory + name: resource_name + properties: { + description: '' + type: 'AzureBlobStorage' + typeProperties: { + serviceEndpoint: storageAccount.properties.primaryEndpoints.blob + } + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: { + accessTier: 'Hot' + allowBlobPublicAccess: true + allowCrossTenantReplication: true + allowSharedKeyAccess: true + defaultToOAuthAuthentication: false + encryption: { + keySource: 'Microsoft.Storage' + services: { + queue: { + keyType: 'Service' + } + table: { + keyType: 'Service' + } + } + } + isHnsEnabled: false + isNfsV3Enabled: false + isSftpEnabled: false + minimumTlsVersion: 'TLS1_2' + networkAcls: { + defaultAction: 'Allow' + } + publicNetworkAccess: 'Enabled' + supportsHttpsTrafficOnly: true + } + sku: { + name: 'Standard_LRS' + } +} + diff --git a/settings/remarks/microsoft.datafactory/factories/datasets/main.bicep b/settings/remarks/microsoft.datafactory/factories/datasets/main.bicep new file mode 100644 index 0000000..37b46bc --- /dev/null +++ b/settings/remarks/microsoft.datafactory/factories/datasets/main.bicep @@ -0,0 +1,82 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource dataset 'Microsoft.DataFactory/factories/datasets@2018-06-01' = { + parent: factory + name: resource_name + properties: { + description: '' + linkedServiceName: { + referenceName: linkedservice.name + type: 'LinkedServiceReference' + } + type: 'Json' + typeProperties: { + encodingName: 'UTF-8' + location: { + container: 'container' + fileName: 'bar.txt' + folderPath: 'foo/bar/' + type: 'AzureBlobStorageLocation' + } + } + } +} + +resource factory 'Microsoft.DataFactory/factories@2018-06-01' = { + location: location + name: resource_name + properties: { + publicNetworkAccess: 'Enabled' + repoConfiguration: null + } +} + +resource linkedservice 'Microsoft.DataFactory/factories/linkedservices@2018-06-01' = { + parent: factory + name: resource_name + properties: { + description: '' + type: 'AzureBlobStorage' + typeProperties: { + serviceEndpoint: storageAccount.properties.primaryEndpoints.blob + } + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: { + accessTier: 'Hot' + allowBlobPublicAccess: true + allowCrossTenantReplication: true + allowSharedKeyAccess: true + defaultToOAuthAuthentication: false + encryption: { + keySource: 'Microsoft.Storage' + services: { + queue: { + keyType: 'Service' + } + table: { + keyType: 'Service' + } + } + } + isHnsEnabled: false + isNfsV3Enabled: false + isSftpEnabled: false + minimumTlsVersion: 'TLS1_2' + networkAcls: { + defaultAction: 'Allow' + } + publicNetworkAccess: 'Enabled' + supportsHttpsTrafficOnly: true + } + sku: { + name: 'Standard_LRS' + } +} + diff --git a/settings/remarks/microsoft.datafactory/factories/integrationruntimes/main.bicep b/settings/remarks/microsoft.datafactory/factories/integrationruntimes/main.bicep new file mode 100644 index 0000000..a1f8a62 --- /dev/null +++ b/settings/remarks/microsoft.datafactory/factories/integrationruntimes/main.bicep @@ -0,0 +1,21 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource factory 'Microsoft.DataFactory/factories@2018-06-01' = { + location: location + name: resource_name + properties: { + publicNetworkAccess: 'Enabled' + repoConfiguration: null + } +} + +resource integrationRuntime 'Microsoft.DataFactory/factories/integrationRuntimes@2018-06-01' = { + parent: factory + name: resource_name + properties: { + description: '' + type: 'SelfHosted' + } +} + diff --git a/settings/remarks/microsoft.datafactory/factories/linkedservices/main.bicep b/settings/remarks/microsoft.datafactory/factories/linkedservices/main.bicep new file mode 100644 index 0000000..9988d20 --- /dev/null +++ b/settings/remarks/microsoft.datafactory/factories/linkedservices/main.bicep @@ -0,0 +1,60 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource factory 'Microsoft.DataFactory/factories@2018-06-01' = { + location: location + name: resource_name + properties: { + publicNetworkAccess: 'Enabled' + repoConfiguration: null + } +} + +resource linkedservice 'Microsoft.DataFactory/factories/linkedservices@2018-06-01' = { + parent: factory + name: resource_name + properties: { + description: '' + type: 'AzureBlobStorage' + typeProperties: { + serviceEndpoint: storageAccount.properties.primaryEndpoints.blob + } + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: { + accessTier: 'Hot' + allowBlobPublicAccess: true + allowCrossTenantReplication: true + allowSharedKeyAccess: true + defaultToOAuthAuthentication: false + encryption: { + keySource: 'Microsoft.Storage' + services: { + queue: { + keyType: 'Service' + } + table: { + keyType: 'Service' + } + } + } + isHnsEnabled: false + isNfsV3Enabled: false + isSftpEnabled: false + minimumTlsVersion: 'TLS1_2' + networkAcls: { + defaultAction: 'Allow' + } + publicNetworkAccess: 'Enabled' + supportsHttpsTrafficOnly: true + } + sku: { + name: 'Standard_LRS' + } +} + diff --git a/settings/remarks/microsoft.datafactory/factories/main.bicep b/settings/remarks/microsoft.datafactory/factories/main.bicep new file mode 100644 index 0000000..315644e --- /dev/null +++ b/settings/remarks/microsoft.datafactory/factories/main.bicep @@ -0,0 +1,12 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource factory 'Microsoft.DataFactory/factories@2018-06-01' = { + location: location + name: resource_name + properties: { + publicNetworkAccess: 'Enabled' + repoConfiguration: null + } +} + diff --git a/settings/remarks/microsoft.datafactory/factories/managedvirtualnetworks/main.bicep b/settings/remarks/microsoft.datafactory/factories/managedvirtualnetworks/main.bicep new file mode 100644 index 0000000..8c4fb38 --- /dev/null +++ b/settings/remarks/microsoft.datafactory/factories/managedvirtualnetworks/main.bicep @@ -0,0 +1,19 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource factory 'Microsoft.DataFactory/factories@2018-06-01' = { + location: location + name: resource_name + properties: { + globalParameters: {} + publicNetworkAccess: 'Enabled' + repoConfiguration: null + } +} + +resource managedVirtualNetwork 'Microsoft.DataFactory/factories/managedVirtualNetworks@2018-06-01' = { + parent: factory + name: 'default' + properties: {} +} + diff --git a/settings/remarks/microsoft.datafactory/factories/managedvirtualnetworks/managedprivateendpoints/main.bicep b/settings/remarks/microsoft.datafactory/factories/managedvirtualnetworks/managedprivateendpoints/main.bicep new file mode 100644 index 0000000..2f843f0 --- /dev/null +++ b/settings/remarks/microsoft.datafactory/factories/managedvirtualnetworks/managedprivateendpoints/main.bicep @@ -0,0 +1,55 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource factory 'Microsoft.DataFactory/factories@2018-06-01' = { + location: location + name: resource_name + properties: { + globalParameters: {} + publicNetworkAccess: 'Enabled' + repoConfiguration: null + } +} + +resource managedVirtualNetwork 'Microsoft.DataFactory/factories/managedVirtualNetworks@2018-06-01' = { + parent: factory + name: 'default' + properties: {} +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'BlobStorage' + properties: { + accessTier: 'Hot' + allowBlobPublicAccess: true + allowCrossTenantReplication: true + allowSharedKeyAccess: true + defaultToOAuthAuthentication: false + encryption: { + keySource: 'Microsoft.Storage' + services: { + queue: { + keyType: 'Service' + } + table: { + keyType: 'Service' + } + } + } + isHnsEnabled: false + isNfsV3Enabled: false + isSftpEnabled: false + minimumTlsVersion: 'TLS1_2' + networkAcls: { + defaultAction: 'Allow' + } + publicNetworkAccess: 'Enabled' + supportsHttpsTrafficOnly: true + } + sku: { + name: 'Standard_LRS' + } +} + diff --git a/settings/remarks/microsoft.datafactory/factories/pipelines/main.bicep b/settings/remarks/microsoft.datafactory/factories/pipelines/main.bicep new file mode 100644 index 0000000..f65426a --- /dev/null +++ b/settings/remarks/microsoft.datafactory/factories/pipelines/main.bicep @@ -0,0 +1,28 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource factory 'Microsoft.DataFactory/factories@2018-06-01' = { + location: location + name: resource_name + properties: { + publicNetworkAccess: 'Enabled' + repoConfiguration: null + } +} + +resource pipeline 'Microsoft.DataFactory/factories/pipelines@2018-06-01' = { + parent: factory + name: resource_name + properties: { + annotations: [] + description: '' + parameters: { + test: { + defaultValue: 'testparameter' + type: 'String' + } + } + variables: {} + } +} + diff --git a/settings/remarks/microsoft.datafactory/factories/triggers/main.bicep b/settings/remarks/microsoft.datafactory/factories/triggers/main.bicep new file mode 100644 index 0000000..3092253 --- /dev/null +++ b/settings/remarks/microsoft.datafactory/factories/triggers/main.bicep @@ -0,0 +1,50 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource factory 'Microsoft.DataFactory/factories@2018-06-01' = { + location: location + name: resource_name + properties: { + publicNetworkAccess: 'Enabled' + repoConfiguration: null + } +} + +resource pipeline 'Microsoft.DataFactory/factories/pipelines@2018-06-01' = { + parent: factory + name: resource_name + properties: { + annotations: [] + description: '' + parameters: { + test: { + defaultValue: 'testparameter' + type: 'String' + } + } + variables: {} + } +} + +resource trigger 'Microsoft.DataFactory/factories/triggers@2018-06-01' = { + parent: factory + name: resource_name + properties: { + description: '' + pipeline: { + parameters: {} + pipelineReference: { + referenceName: pipeline.name + type: 'PipelineReference' + } + } + type: 'TumblingWindowTrigger' + typeProperties: { + frequency: 'Minute' + interval: 15 + maxConcurrency: 50 + startTime: '2022-09-21T00:00:00Z' + } + } +} + diff --git a/settings/remarks/microsoft.datafactory/remarks.json b/settings/remarks/microsoft.datafactory/remarks.json new file mode 100644 index 0000000..94d6736 --- /dev/null +++ b/settings/remarks/microsoft.datafactory/remarks.json @@ -0,0 +1,55 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.DataFactory/factories", + "Path": "factories/main.bicep", + "Description": "Basic sample for Microsoft.DataFactory/factories@2018-06-01." + }, + { + "ResourceType": "Microsoft.DataFactory/factories", + "Path": "factories/credentials/main.bicep", + "Description": "Basic sample for Microsoft.DataFactory/factories/credentials@2018-06-01." + }, + { + "ResourceType": "Microsoft.DataFactory/factories", + "Path": "factories/dataflows/main.bicep", + "Description": "Basic sample for Microsoft.DataFactory/factories/dataflows@2018-06-01." + }, + { + "ResourceType": "Microsoft.DataFactory/factories", + "Path": "factories/datasets/main.bicep", + "Description": "Basic sample for Microsoft.DataFactory/factories/datasets@2018-06-01." + }, + { + "ResourceType": "Microsoft.DataFactory/factories", + "Path": "factories/integrationruntimes/main.bicep", + "Description": "Basic sample for Microsoft.DataFactory/factories/integrationRuntimes@2018-06-01." + }, + { + "ResourceType": "Microsoft.DataFactory/factories", + "Path": "factories/linkedservices/main.bicep", + "Description": "Basic sample for Microsoft.DataFactory/factories/linkedservices@2018-06-01." + }, + { + "ResourceType": "Microsoft.DataFactory/factories", + "Path": "factories/managedvirtualnetworks/main.bicep", + "Description": "Basic sample for Microsoft.DataFactory/factories/managedVirtualNetworks@2018-06-01." + }, + { + "ResourceType": "Microsoft.DataFactory/factories", + "Path": "factories/managedvirtualnetworks/managedprivateendpoints/main.bicep", + "Description": "Basic sample for Microsoft.DataFactory/factories/managedVirtualNetworks/managedPrivateEndpoints@2018-06-01." + }, + { + "ResourceType": "Microsoft.DataFactory/factories", + "Path": "factories/pipelines/main.bicep", + "Description": "Basic sample for Microsoft.DataFactory/factories/pipelines@2018-06-01." + }, + { + "ResourceType": "Microsoft.DataFactory/factories", + "Path": "factories/triggers/main.bicep", + "Description": "Basic sample for Microsoft.DataFactory/factories/triggers@2018-06-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.datamigration/remarks.json b/settings/remarks/microsoft.datamigration/remarks.json new file mode 100644 index 0000000..f12ae7b --- /dev/null +++ b/settings/remarks/microsoft.datamigration/remarks.json @@ -0,0 +1,15 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.DataMigration/services", + "Path": "services/main.bicep", + "Description": "Basic sample for Microsoft.DataMigration/services@2018-04-19." + }, + { + "ResourceType": "Microsoft.DataMigration/services", + "Path": "services/projects/main.bicep", + "Description": "Basic sample for Microsoft.DataMigration/services/projects@2018-04-19." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.datamigration/services/main.bicep b/settings/remarks/microsoft.datamigration/services/main.bicep new file mode 100644 index 0000000..03bf8d7 --- /dev/null +++ b/settings/remarks/microsoft.datamigration/services/main.bicep @@ -0,0 +1,44 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource service 'Microsoft.DataMigration/services@2018-04-19' = { + location: location + name: resource_name + kind: 'Cloud' + properties: { + virtualSubnetId: subnet.id + } + sku: { + name: 'Standard_1vCores' + } +} + +resource subnet 'Microsoft.Network/virtualNetworks/subnets@2022-07-01' = { + parent: virtualNetwork + name: resource_name + properties: { + addressPrefix: '10.0.1.0/24' + delegations: [] + privateEndpointNetworkPolicies: 'Enabled' + privateLinkServiceNetworkPolicies: 'Enabled' + serviceEndpointPolicies: [] + serviceEndpoints: [] + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.0.0.0/16' + ] + } + dhcpOptions: { + dnsServers: [] + } + subnets: [] + } +} + diff --git a/settings/remarks/microsoft.datamigration/services/projects/main.bicep b/settings/remarks/microsoft.datamigration/services/projects/main.bicep new file mode 100644 index 0000000..9e8f774 --- /dev/null +++ b/settings/remarks/microsoft.datamigration/services/projects/main.bicep @@ -0,0 +1,54 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource project 'Microsoft.DataMigration/services/projects@2018-04-19' = { + parent: service + location: location + name: resource_name + properties: { + sourcePlatform: 'SQL' + targetPlatform: 'SQLDB' + } +} + +resource service 'Microsoft.DataMigration/services@2018-04-19' = { + location: location + name: resource_name + kind: 'Cloud' + properties: { + virtualSubnetId: subnet.id + } + sku: { + name: 'Standard_1vCores' + } +} + +resource subnet 'Microsoft.Network/virtualNetworks/subnets@2022-07-01' = { + parent: virtualNetwork + name: resource_name + properties: { + addressPrefix: '10.0.1.0/24' + delegations: [] + privateEndpointNetworkPolicies: 'Enabled' + privateLinkServiceNetworkPolicies: 'Enabled' + serviceEndpointPolicies: [] + serviceEndpoints: [] + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.0.0.0/16' + ] + } + dhcpOptions: { + dnsServers: [] + } + subnets: [] + } +} + diff --git a/settings/remarks/microsoft.dataprotection/remarks.json b/settings/remarks/microsoft.dataprotection/remarks.json new file mode 100644 index 0000000..ac5c447 --- /dev/null +++ b/settings/remarks/microsoft.dataprotection/remarks.json @@ -0,0 +1,25 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.DataProtection/backupVaults", + "Path": "backupvaults/main.bicep", + "Description": "Basic sample for Microsoft.DataProtection/backupVaults@2022-04-01." + }, + { + "ResourceType": "Microsoft.DataProtection/backupVaults", + "Path": "backupvaults/backupinstances/main.bicep", + "Description": "Basic sample for Microsoft.DataProtection/backupVaults/backupInstances@2022-04-01." + }, + { + "ResourceType": "Microsoft.DataProtection/backupVaults", + "Path": "backupvaults/backuppolicies/main.bicep", + "Description": "Basic sample for Microsoft.DataProtection/backupVaults/backupPolicies@2022-04-01." + }, + { + "ResourceType": "Microsoft.DataProtection/resourceGuards", + "Path": "resourceguards/main.bicep", + "Description": "Basic sample for Microsoft.DataProtection/resourceGuards@2022-04-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.dataprotection/resourceguards/main.bicep b/settings/remarks/microsoft.dataprotection/resourceguards/main.bicep new file mode 100644 index 0000000..fef30fe --- /dev/null +++ b/settings/remarks/microsoft.dataprotection/resourceguards/main.bicep @@ -0,0 +1,11 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource resourceGuard 'Microsoft.DataProtection/resourceGuards@2022-04-01' = { + location: location + name: resource_name + properties: { + vaultCriticalOperationExclusionList: [] + } +} + diff --git a/settings/remarks/microsoft.datashare/accounts/main.bicep b/settings/remarks/microsoft.datashare/accounts/main.bicep new file mode 100644 index 0000000..f601407 --- /dev/null +++ b/settings/remarks/microsoft.datashare/accounts/main.bicep @@ -0,0 +1,17 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource account 'Microsoft.DataShare/accounts@2019-11-01' = { + identity: [ + { + identity_ids: [] + type: 'SystemAssigned' + } + ] + location: location + name: resource_name + tags: { + env: 'Test' + } +} + diff --git a/settings/remarks/microsoft.datashare/accounts/shares/main.bicep b/settings/remarks/microsoft.datashare/accounts/shares/main.bicep new file mode 100644 index 0000000..c7f6090 --- /dev/null +++ b/settings/remarks/microsoft.datashare/accounts/shares/main.bicep @@ -0,0 +1,27 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource account 'Microsoft.DataShare/accounts@2019-11-01' = { + identity: [ + { + identity_ids: [] + type: 'SystemAssigned' + } + ] + location: location + name: resource_name + tags: { + env: 'Test' + } +} + +resource share 'Microsoft.DataShare/accounts/shares@2019-11-01' = { + parent: account + name: resource_name + properties: { + description: '' + shareKind: 'CopyBased' + terms: '' + } +} + diff --git a/settings/remarks/microsoft.datashare/remarks.json b/settings/remarks/microsoft.datashare/remarks.json new file mode 100644 index 0000000..14f5a78 --- /dev/null +++ b/settings/remarks/microsoft.datashare/remarks.json @@ -0,0 +1,15 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.DataShare/accounts", + "Path": "accounts/main.bicep", + "Description": "Basic sample for Microsoft.DataShare/accounts@2019-11-01." + }, + { + "ResourceType": "Microsoft.DataShare/accounts", + "Path": "accounts/shares/main.bicep", + "Description": "Basic sample for Microsoft.DataShare/accounts/shares@2019-11-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.dbformariadb/remarks.json b/settings/remarks/microsoft.dbformariadb/remarks.json new file mode 100644 index 0000000..bc88463 --- /dev/null +++ b/settings/remarks/microsoft.dbformariadb/remarks.json @@ -0,0 +1,30 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.DBforMariaDB/servers", + "Path": "servers/main.bicep", + "Description": "Basic sample for Microsoft.DBforMariaDB/servers@2018-06-01." + }, + { + "ResourceType": "Microsoft.DBforMariaDB/servers", + "Path": "servers/configurations/main.bicep", + "Description": "Basic sample for Microsoft.DBforMariaDB/servers/configurations@2018-06-01." + }, + { + "ResourceType": "Microsoft.DBforMariaDB/servers", + "Path": "servers/databases/main.bicep", + "Description": "Basic sample for Microsoft.DBforMariaDB/servers/databases@2018-06-01." + }, + { + "ResourceType": "Microsoft.DBforMariaDB/servers", + "Path": "servers/firewallrules/main.bicep", + "Description": "Basic sample for Microsoft.DBforMariaDB/servers/firewallRules@2018-06-01." + }, + { + "ResourceType": "Microsoft.DBforMariaDB/servers", + "Path": "servers/virtualnetworkrules/main.bicep", + "Description": "Basic sample for Microsoft.DBforMariaDB/servers/virtualNetworkRules@2018-06-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.dbformariadb/servers/configurations/main.bicep b/settings/remarks/microsoft.dbformariadb/servers/configurations/main.bicep new file mode 100644 index 0000000..69f9eff --- /dev/null +++ b/settings/remarks/microsoft.dbformariadb/servers/configurations/main.bicep @@ -0,0 +1,28 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource server 'Microsoft.DBforMariaDB/servers@2018-06-01' = { + location: location + name: resource_name + properties: { + administratorLogin: 'acctestun' + administratorLoginPassword: 'H@Sh1CoR3!' + createMode: 'Default' + minimalTlsVersion: 'TLS1_2' + publicNetworkAccess: 'Enabled' + sslEnforcement: 'Enabled' + storageProfile: { + backupRetentionDays: 7 + storageAutogrow: 'Enabled' + storageMB: 51200 + } + version: '10.2' + } + sku: { + capacity: 2 + family: 'Gen5' + name: 'GP_Gen5_2' + tier: 'GeneralPurpose' + } +} + diff --git a/settings/remarks/microsoft.dbformariadb/servers/databases/main.bicep b/settings/remarks/microsoft.dbformariadb/servers/databases/main.bicep new file mode 100644 index 0000000..a2f05cb --- /dev/null +++ b/settings/remarks/microsoft.dbformariadb/servers/databases/main.bicep @@ -0,0 +1,37 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource database 'Microsoft.DBforMariaDB/servers/databases@2018-06-01' = { + parent: server + name: resource_name + properties: { + charset: 'utf8' + collation: 'utf8_general_ci' + } +} + +resource server 'Microsoft.DBforMariaDB/servers@2018-06-01' = { + location: location + name: resource_name + properties: { + administratorLogin: 'acctestun' + administratorLoginPassword: 'H@Sh1CoR3!' + createMode: 'Default' + minimalTlsVersion: 'TLS1_2' + publicNetworkAccess: 'Enabled' + sslEnforcement: 'Enabled' + storageProfile: { + backupRetentionDays: 7 + storageAutogrow: 'Enabled' + storageMB: 51200 + } + version: '10.2' + } + sku: { + capacity: 2 + family: 'Gen5' + name: 'B_Gen5_2' + tier: 'Basic' + } +} + diff --git a/settings/remarks/microsoft.dbformariadb/servers/firewallrules/main.bicep b/settings/remarks/microsoft.dbformariadb/servers/firewallrules/main.bicep new file mode 100644 index 0000000..50b98d1 --- /dev/null +++ b/settings/remarks/microsoft.dbformariadb/servers/firewallrules/main.bicep @@ -0,0 +1,37 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource firewallRule 'Microsoft.DBforMariaDB/servers/firewallRules@2018-06-01' = { + parent: server + name: resource_name + properties: { + endIpAddress: '255.255.255.255' + startIpAddress: '0.0.0.0' + } +} + +resource server 'Microsoft.DBforMariaDB/servers@2018-06-01' = { + location: location + name: resource_name + properties: { + administratorLogin: 'acctestun' + administratorLoginPassword: 'H@Sh1CoR3!' + createMode: 'Default' + minimalTlsVersion: 'TLS1_2' + publicNetworkAccess: 'Enabled' + sslEnforcement: 'Enabled' + storageProfile: { + backupRetentionDays: 7 + storageAutogrow: 'Enabled' + storageMB: 51200 + } + version: '10.2' + } + sku: { + capacity: 2 + family: 'Gen5' + name: 'GP_Gen5_2' + tier: 'GeneralPurpose' + } +} + diff --git a/settings/remarks/microsoft.dbformariadb/servers/main.bicep b/settings/remarks/microsoft.dbformariadb/servers/main.bicep new file mode 100644 index 0000000..69f9eff --- /dev/null +++ b/settings/remarks/microsoft.dbformariadb/servers/main.bicep @@ -0,0 +1,28 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource server 'Microsoft.DBforMariaDB/servers@2018-06-01' = { + location: location + name: resource_name + properties: { + administratorLogin: 'acctestun' + administratorLoginPassword: 'H@Sh1CoR3!' + createMode: 'Default' + minimalTlsVersion: 'TLS1_2' + publicNetworkAccess: 'Enabled' + sslEnforcement: 'Enabled' + storageProfile: { + backupRetentionDays: 7 + storageAutogrow: 'Enabled' + storageMB: 51200 + } + version: '10.2' + } + sku: { + capacity: 2 + family: 'Gen5' + name: 'GP_Gen5_2' + tier: 'GeneralPurpose' + } +} + diff --git a/settings/remarks/microsoft.dbformariadb/servers/virtualnetworkrules/main.bicep b/settings/remarks/microsoft.dbformariadb/servers/virtualnetworkrules/main.bicep new file mode 100644 index 0000000..cf5fea5 --- /dev/null +++ b/settings/remarks/microsoft.dbformariadb/servers/virtualnetworkrules/main.bicep @@ -0,0 +1,70 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource server 'Microsoft.DBforMariaDB/servers@2018-06-01' = { + location: location + name: resource_name + properties: { + administratorLogin: 'acctestun' + administratorLoginPassword: 'H@Sh1CoR3!' + createMode: 'Default' + minimalTlsVersion: 'TLS1_2' + publicNetworkAccess: 'Enabled' + sslEnforcement: 'Enabled' + storageProfile: { + backupRetentionDays: 7 + storageAutogrow: 'Enabled' + storageMB: 51200 + } + version: '10.2' + } + sku: { + capacity: 2 + family: 'Gen5' + name: 'GP_Gen5_2' + tier: 'GeneralPurpose' + } +} + +resource subnet 'Microsoft.Network/virtualNetworks/subnets@2022-07-01' = { + parent: virtualNetwork + name: resource_name + properties: { + addressPrefix: '10.7.29.0/29' + delegations: [] + privateEndpointNetworkPolicies: 'Enabled' + privateLinkServiceNetworkPolicies: 'Enabled' + serviceEndpointPolicies: [] + serviceEndpoints: [ + { + service: 'Microsoft.Sql' + } + ] + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.7.29.0/29' + ] + } + dhcpOptions: { + dnsServers: [] + } + subnets: [] + } +} + +resource virtualNetworkRule 'Microsoft.DBforMariaDB/servers/virtualNetworkRules@2018-06-01' = { + parent: server + name: resource_name + properties: { + ignoreMissingVnetServiceEndpoint: false + virtualNetworkSubnetId: subnet.id + } +} + diff --git a/settings/remarks/microsoft.dbformysql/flexibleservers/databases/main.bicep b/settings/remarks/microsoft.dbformysql/flexibleservers/databases/main.bicep new file mode 100644 index 0000000..a63faa2 --- /dev/null +++ b/settings/remarks/microsoft.dbformysql/flexibleservers/databases/main.bicep @@ -0,0 +1,38 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource database 'Microsoft.DBforMySQL/flexibleServers/databases@2021-05-01' = { + parent: flexibleServer + name: resource_name + properties: { + charset: 'utf8' + collation: 'utf8_unicode_ci' + } +} + +resource flexibleServer 'Microsoft.DBforMySQL/flexibleServers@2021-05-01' = { + location: location + name: resource_name + properties: { + administratorLogin: 'adminTerraform' + administratorLoginPassword: 'QAZwsx123' + backup: { + backupRetentionDays: 7 + geoRedundantBackup: 'Disabled' + } + createMode: '' + dataEncryption: { + type: 'SystemManaged' + } + highAvailability: { + mode: 'Disabled' + } + network: {} + version: '' + } + sku: { + name: 'Standard_B1s' + tier: 'Burstable' + } +} + diff --git a/settings/remarks/microsoft.dbformysql/flexibleservers/firewallrules/main.bicep b/settings/remarks/microsoft.dbformysql/flexibleservers/firewallrules/main.bicep new file mode 100644 index 0000000..a5916e3 --- /dev/null +++ b/settings/remarks/microsoft.dbformysql/flexibleservers/firewallrules/main.bicep @@ -0,0 +1,38 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource firewallRule 'Microsoft.DBforMySQL/flexibleServers/firewallRules@2021-05-01' = { + parent: flexibleServer + name: resource_name + properties: { + endIpAddress: '255.255.255.255' + startIpAddress: '0.0.0.0' + } +} + +resource flexibleServer 'Microsoft.DBforMySQL/flexibleServers@2021-05-01' = { + location: location + name: resource_name + properties: { + administratorLogin: 'adminTerraform' + administratorLoginPassword: 'QAZwsx123' + backup: { + backupRetentionDays: 7 + geoRedundantBackup: 'Disabled' + } + createMode: '' + dataEncryption: { + type: 'SystemManaged' + } + highAvailability: { + mode: 'Disabled' + } + network: {} + version: '5.7' + } + sku: { + name: 'Standard_B1s' + tier: 'Burstable' + } +} + diff --git a/settings/remarks/microsoft.dbformysql/flexibleservers/main.bicep b/settings/remarks/microsoft.dbformysql/flexibleservers/main.bicep new file mode 100644 index 0000000..b0030a6 --- /dev/null +++ b/settings/remarks/microsoft.dbformysql/flexibleservers/main.bicep @@ -0,0 +1,28 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource flexibleServer 'Microsoft.DBforMySQL/flexibleServers@2021-05-01' = { + location: location + name: resource_name + properties: { + administratorLogin: 'adminTerraform' + administratorLoginPassword: 'QAZwsx123' + backup: { + backupRetentionDays: 7 + geoRedundantBackup: 'Disabled' + } + createMode: '' + dataEncryption: { + type: 'SystemManaged' + } + highAvailability: { + mode: 'Disabled' + } + network: {} + } + sku: { + name: 'Standard_B1s' + tier: 'Burstable' + } +} + diff --git a/settings/remarks/microsoft.dbformysql/remarks.json b/settings/remarks/microsoft.dbformysql/remarks.json index 3ea21ad..da72950 100644 --- a/settings/remarks/microsoft.dbformysql/remarks.json +++ b/settings/remarks/microsoft.dbformysql/remarks.json @@ -13,5 +13,47 @@ ], "Description": "Use the `maintenanceWindow` property only when updating an existing flexible server. When creating a new flexible servcer, don't specify values for this property." } + ], + "BicepSamples": [ + { + "ResourceType": "Microsoft.DBforMySQL/flexibleServers", + "Path": "flexibleservers/main.bicep", + "Description": "Basic sample for Microsoft.DBforMySQL/flexibleServers@2021-05-01." + }, + { + "ResourceType": "Microsoft.DBforMySQL/flexibleServers", + "Path": "flexibleservers/databases/main.bicep", + "Description": "Basic sample for Microsoft.DBforMySQL/flexibleServers/databases@2021-05-01." + }, + { + "ResourceType": "Microsoft.DBforMySQL/flexibleServers", + "Path": "flexibleservers/firewallrules/main.bicep", + "Description": "Basic sample for Microsoft.DBforMySQL/flexibleServers/firewallRules@2021-05-01." + }, + { + "ResourceType": "Microsoft.DBforMySQL/servers", + "Path": "servers/main.bicep", + "Description": "Basic sample for Microsoft.DBforMySQL/servers@2017-12-01." + }, + { + "ResourceType": "Microsoft.DBforMySQL/servers", + "Path": "servers/configurations/main.bicep", + "Description": "Basic sample for Microsoft.DBforMySQL/servers/configurations@2017-12-01." + }, + { + "ResourceType": "Microsoft.DBforMySQL/servers", + "Path": "servers/databases/main.bicep", + "Description": "Basic sample for Microsoft.DBforMySQL/servers/databases@2017-12-01." + }, + { + "ResourceType": "Microsoft.DBforMySQL/servers", + "Path": "servers/firewallrules/main.bicep", + "Description": "Basic sample for Microsoft.DBforMySQL/servers/firewallRules@2017-12-01." + }, + { + "ResourceType": "Microsoft.DBforMySQL/servers", + "Path": "servers/virtualnetworkrules/main.bicep", + "Description": "Basic sample for Microsoft.DBforMySQL/servers/virtualNetworkRules@2017-12-01." + } ] } \ No newline at end of file diff --git a/settings/remarks/microsoft.dbformysql/servers/configurations/main.bicep b/settings/remarks/microsoft.dbformysql/servers/configurations/main.bicep new file mode 100644 index 0000000..5486b6b --- /dev/null +++ b/settings/remarks/microsoft.dbformysql/servers/configurations/main.bicep @@ -0,0 +1,29 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource server 'Microsoft.DBforMySQL/servers@2017-12-01' = { + location: location + name: resource_name + properties: { + administratorLogin: 'acctestun' + administratorLoginPassword: 'H@Sh1CoR3!' + createMode: 'Default' + infrastructureEncryption: 'Disabled' + minimalTlsVersion: 'TLS1_2' + publicNetworkAccess: 'Enabled' + sslEnforcement: 'Enabled' + storageProfile: { + backupRetentionDays: 7 + storageAutogrow: 'Enabled' + storageMB: 51200 + } + version: '5.7' + } + sku: { + capacity: 2 + family: 'Gen5' + name: 'GP_Gen5_2' + tier: 'GeneralPurpose' + } +} + diff --git a/settings/remarks/microsoft.dbformysql/servers/databases/main.bicep b/settings/remarks/microsoft.dbformysql/servers/databases/main.bicep new file mode 100644 index 0000000..73bc640 --- /dev/null +++ b/settings/remarks/microsoft.dbformysql/servers/databases/main.bicep @@ -0,0 +1,37 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource database 'Microsoft.DBforMySQL/servers/databases@2017-12-01' = { + parent: server + name: resource_name + properties: { + charset: 'utf8' + collation: 'utf8_unicode_ci' + } +} + +resource server 'Microsoft.DBforMySQL/servers@2017-12-01' = { + location: location + name: resource_name + properties: { + administratorLogin: 'acctestun' + administratorLoginPassword: 'H@Sh1CoR3!' + createMode: 'Default' + infrastructureEncryption: 'Disabled' + minimalTlsVersion: 'TLS1_1' + publicNetworkAccess: 'Enabled' + sslEnforcement: 'Enabled' + storageProfile: { + storageAutogrow: 'Enabled' + storageMB: 51200 + } + version: '5.7' + } + sku: { + capacity: 2 + family: 'Gen5' + name: 'GP_Gen5_2' + tier: 'GeneralPurpose' + } +} + diff --git a/settings/remarks/microsoft.dbformysql/servers/firewallrules/main.bicep b/settings/remarks/microsoft.dbformysql/servers/firewallrules/main.bicep new file mode 100644 index 0000000..699b0fc --- /dev/null +++ b/settings/remarks/microsoft.dbformysql/servers/firewallrules/main.bicep @@ -0,0 +1,38 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource firewallRule 'Microsoft.DBforMySQL/servers/firewallRules@2017-12-01' = { + parent: server + name: resource_name + properties: { + endIpAddress: '255.255.255.255' + startIpAddress: '0.0.0.0' + } +} + +resource server 'Microsoft.DBforMySQL/servers@2017-12-01' = { + location: location + name: resource_name + properties: { + administratorLogin: 'acctestun' + administratorLoginPassword: 'H@Sh1CoR3!' + createMode: 'Default' + infrastructureEncryption: 'Disabled' + minimalTlsVersion: 'TLS1_2' + publicNetworkAccess: 'Enabled' + sslEnforcement: 'Enabled' + storageProfile: { + backupRetentionDays: 7 + storageAutogrow: 'Enabled' + storageMB: 51200 + } + version: '5.7' + } + sku: { + capacity: 2 + family: 'Gen5' + name: 'GP_Gen5_2' + tier: 'GeneralPurpose' + } +} + diff --git a/settings/remarks/microsoft.dbformysql/servers/main.bicep b/settings/remarks/microsoft.dbformysql/servers/main.bicep new file mode 100644 index 0000000..45117bd --- /dev/null +++ b/settings/remarks/microsoft.dbformysql/servers/main.bicep @@ -0,0 +1,28 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource server 'Microsoft.DBforMySQL/servers@2017-12-01' = { + location: location + name: resource_name + properties: { + administratorLogin: 'acctestun' + administratorLoginPassword: 'H@Sh1CoR3!' + createMode: 'Default' + infrastructureEncryption: 'Disabled' + minimalTlsVersion: 'TLS1_1' + publicNetworkAccess: 'Enabled' + sslEnforcement: 'Enabled' + storageProfile: { + storageAutogrow: 'Enabled' + storageMB: 51200 + } + version: '5.7' + } + sku: { + capacity: 2 + family: 'Gen5' + name: 'GP_Gen5_2' + tier: 'GeneralPurpose' + } +} + diff --git a/settings/remarks/microsoft.dbformysql/servers/virtualnetworkrules/main.bicep b/settings/remarks/microsoft.dbformysql/servers/virtualnetworkrules/main.bicep new file mode 100644 index 0000000..c40895c --- /dev/null +++ b/settings/remarks/microsoft.dbformysql/servers/virtualnetworkrules/main.bicep @@ -0,0 +1,71 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource server 'Microsoft.DBforMySQL/servers@2017-12-01' = { + location: location + name: resource_name + properties: { + administratorLogin: 'acctestun' + administratorLoginPassword: 'H@Sh1CoR3!' + createMode: 'Default' + infrastructureEncryption: 'Disabled' + minimalTlsVersion: 'TLS1_2' + publicNetworkAccess: 'Enabled' + sslEnforcement: 'Enabled' + storageProfile: { + backupRetentionDays: 7 + storageAutogrow: 'Enabled' + storageMB: 51200 + } + version: '5.7' + } + sku: { + capacity: 2 + family: 'Gen5' + name: 'GP_Gen5_2' + tier: 'GeneralPurpose' + } +} + +resource subnet 'Microsoft.Network/virtualNetworks/subnets@2022-07-01' = { + parent: virtualNetwork + name: resource_name + properties: { + addressPrefix: '10.7.29.0/29' + delegations: [] + privateEndpointNetworkPolicies: 'Enabled' + privateLinkServiceNetworkPolicies: 'Enabled' + serviceEndpointPolicies: [] + serviceEndpoints: [ + { + service: 'Microsoft.Sql' + } + ] + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.7.29.0/29' + ] + } + dhcpOptions: { + dnsServers: [] + } + subnets: [] + } +} + +resource virtualNetworkRule 'Microsoft.DBforMySQL/servers/virtualNetworkRules@2017-12-01' = { + parent: server + name: resource_name + properties: { + ignoreMissingVnetServiceEndpoint: false + virtualNetworkSubnetId: subnet.id + } +} + diff --git a/settings/remarks/microsoft.dbforpostgresql/flexibleservers/configurations/main.bicep b/settings/remarks/microsoft.dbforpostgresql/flexibleservers/configurations/main.bicep new file mode 100644 index 0000000..58529b2 --- /dev/null +++ b/settings/remarks/microsoft.dbforpostgresql/flexibleservers/configurations/main.bicep @@ -0,0 +1,32 @@ +param location string = 'eastus' +param resource_name string = 'acctest0001' + +resource flexibleServer 'Microsoft.DBforPostgreSQL/flexibleServers@2023-06-01-preview' = { + location: location + name: resource_name + identity: { + type: 'None' + userAssignedIdentities: null + } + properties: { + administratorLogin: 'adminTerraform' + administratorLoginPassword: 'QAZwsx123' + availabilityZone: '2' + backup: { + geoRedundantBackup: 'Disabled' + } + highAvailability: { + mode: 'Disabled' + } + network: {} + storage: { + storageSizeGB: 32 + } + version: '12' + } + sku: { + name: 'Standard_D2s_v3' + tier: 'GeneralPurpose' + } +} + diff --git a/settings/remarks/microsoft.dbforpostgresql/flexibleservers/databases/main.bicep b/settings/remarks/microsoft.dbforpostgresql/flexibleservers/databases/main.bicep new file mode 100644 index 0000000..6b86b5e --- /dev/null +++ b/settings/remarks/microsoft.dbforpostgresql/flexibleservers/databases/main.bicep @@ -0,0 +1,37 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource database 'Microsoft.DBforPostgreSQL/flexibleServers/databases@2022-12-01' = { + parent: flexibleServer + name: resource_name + properties: { + charset: 'UTF8' + collation: 'en_US.UTF8' + } +} + +resource flexibleServer 'Microsoft.DBforPostgreSQL/flexibleServers@2022-12-01' = { + location: location + name: resource_name + properties: { + administratorLogin: 'adminTerraform' + administratorLoginPassword: 'QAZwsx123' + availabilityZone: '2' + backup: { + geoRedundantBackup: 'Disabled' + } + highAvailability: { + mode: 'Disabled' + } + network: {} + storage: { + storageSizeGB: 32 + } + version: '12' + } + sku: { + name: 'Standard_D2s_v3' + tier: 'GeneralPurpose' + } +} + diff --git a/settings/remarks/microsoft.dbforpostgresql/flexibleservers/firewallrules/main.bicep b/settings/remarks/microsoft.dbforpostgresql/flexibleservers/firewallrules/main.bicep new file mode 100644 index 0000000..93f0f99 --- /dev/null +++ b/settings/remarks/microsoft.dbforpostgresql/flexibleservers/firewallrules/main.bicep @@ -0,0 +1,37 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource firewallRule 'Microsoft.DBforPostgreSQL/flexibleServers/firewallRules@2022-12-01' = { + parent: flexibleServer + name: resource_name + properties: { + endIpAddress: '122.122.0.0' + startIpAddress: '122.122.0.0' + } +} + +resource flexibleServer 'Microsoft.DBforPostgreSQL/flexibleServers@2022-12-01' = { + location: location + name: resource_name + properties: { + administratorLogin: 'adminTerraform' + administratorLoginPassword: 'QAZwsx123' + availabilityZone: '2' + backup: { + geoRedundantBackup: 'Disabled' + } + highAvailability: { + mode: 'Disabled' + } + network: {} + storage: { + storageSizeGB: 32 + } + version: '12' + } + sku: { + name: 'Standard_D2s_v3' + tier: 'GeneralPurpose' + } +} + diff --git a/settings/remarks/microsoft.dbforpostgresql/flexibleservers/main.bicep b/settings/remarks/microsoft.dbforpostgresql/flexibleservers/main.bicep new file mode 100644 index 0000000..58529b2 --- /dev/null +++ b/settings/remarks/microsoft.dbforpostgresql/flexibleservers/main.bicep @@ -0,0 +1,32 @@ +param location string = 'eastus' +param resource_name string = 'acctest0001' + +resource flexibleServer 'Microsoft.DBforPostgreSQL/flexibleServers@2023-06-01-preview' = { + location: location + name: resource_name + identity: { + type: 'None' + userAssignedIdentities: null + } + properties: { + administratorLogin: 'adminTerraform' + administratorLoginPassword: 'QAZwsx123' + availabilityZone: '2' + backup: { + geoRedundantBackup: 'Disabled' + } + highAvailability: { + mode: 'Disabled' + } + network: {} + storage: { + storageSizeGB: 32 + } + version: '12' + } + sku: { + name: 'Standard_D2s_v3' + tier: 'GeneralPurpose' + } +} + diff --git a/settings/remarks/microsoft.dbforpostgresql/remarks.json b/settings/remarks/microsoft.dbforpostgresql/remarks.json new file mode 100644 index 0000000..ad60564 --- /dev/null +++ b/settings/remarks/microsoft.dbforpostgresql/remarks.json @@ -0,0 +1,55 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.DBforPostgreSQL/flexibleServers", + "Path": "flexibleservers/main.bicep", + "Description": "Basic sample for Microsoft.DBforPostgreSQL/flexibleServers@2023-06-01-preview." + }, + { + "ResourceType": "Microsoft.DBforPostgreSQL/flexibleServers", + "Path": "flexibleservers/configurations/main.bicep", + "Description": "Basic sample for Microsoft.DBforPostgreSQL/flexibleServers/configurations@2022-12-01." + }, + { + "ResourceType": "Microsoft.DBforPostgreSQL/flexibleServers", + "Path": "flexibleservers/databases/main.bicep", + "Description": "Basic sample for Microsoft.DBforPostgreSQL/flexibleServers/databases@2022-12-01." + }, + { + "ResourceType": "Microsoft.DBforPostgreSQL/flexibleServers", + "Path": "flexibleservers/firewallrules/main.bicep", + "Description": "Basic sample for Microsoft.DBforPostgreSQL/flexibleServers/firewallRules@2022-12-01." + }, + { + "ResourceType": "Microsoft.DBforPostgreSQL/serverGroupsv2", + "Path": "servergroupsv2/main.bicep", + "Description": "Basic sample for Microsoft.DBforPostgreSQL/serverGroupsv2@2022-11-08." + }, + { + "ResourceType": "Microsoft.DBforPostgreSQL/servers", + "Path": "servers/main.bicep", + "Description": "Basic sample for Microsoft.DBforPostgreSQL/servers@2017-12-01." + }, + { + "ResourceType": "Microsoft.DBforPostgreSQL/servers", + "Path": "servers/configurations/main.bicep", + "Description": "Basic sample for Microsoft.DBforPostgreSQL/servers/configurations@2017-12-01." + }, + { + "ResourceType": "Microsoft.DBforPostgreSQL/servers", + "Path": "servers/databases/main.bicep", + "Description": "Basic sample for Microsoft.DBforPostgreSQL/servers/databases@2017-12-01." + }, + { + "ResourceType": "Microsoft.DBforPostgreSQL/servers", + "Path": "servers/firewallrules/main.bicep", + "Description": "Basic sample for Microsoft.DBforPostgreSQL/servers/firewallRules@2017-12-01." + }, + { + "ResourceType": "Microsoft.DBforPostgreSQL/servers", + "Path": "servers/virtualnetworkrules/main.bicep", + "Description": "Basic sample for Microsoft.DBforPostgreSQL/servers/virtualNetworkRules@2017-12-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.dbforpostgresql/servergroupsv2/main.bicep b/settings/remarks/microsoft.dbforpostgresql/servergroupsv2/main.bicep new file mode 100644 index 0000000..0cff4bd --- /dev/null +++ b/settings/remarks/microsoft.dbforpostgresql/servergroupsv2/main.bicep @@ -0,0 +1,19 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource serverGroupsv2 'Microsoft.DBforPostgreSQL/serverGroupsv2@2022-11-08' = { + location: location + name: resource_name + properties: { + administratorLoginPassword: 'H@Sh1CoR3!' + coordinatorEnablePublicIpAccess: true + coordinatorServerEdition: 'GeneralPurpose' + coordinatorStorageQuotaInMb: 131072 + coordinatorVCores: 2 + enableHa: false + nodeCount: 0 + nodeEnablePublicIpAccess: false + nodeServerEdition: 'MemoryOptimized' + } +} + diff --git a/settings/remarks/microsoft.dbforpostgresql/servers/configurations/main.bicep b/settings/remarks/microsoft.dbforpostgresql/servers/configurations/main.bicep new file mode 100644 index 0000000..a26444e --- /dev/null +++ b/settings/remarks/microsoft.dbforpostgresql/servers/configurations/main.bicep @@ -0,0 +1,29 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource server 'Microsoft.DBforPostgreSQL/servers@2017-12-01' = { + location: location + name: resource_name + properties: { + administratorLogin: 'acctestun' + administratorLoginPassword: 'H@Sh1CoR3!' + createMode: 'Default' + infrastructureEncryption: 'Disabled' + minimalTlsVersion: 'TLS1_2' + publicNetworkAccess: 'Enabled' + sslEnforcement: 'Enabled' + storageProfile: { + backupRetentionDays: 7 + storageAutogrow: 'Enabled' + storageMB: 51200 + } + version: '9.6' + } + sku: { + capacity: 2 + family: 'Gen5' + name: 'GP_Gen5_2' + tier: 'GeneralPurpose' + } +} + diff --git a/settings/remarks/microsoft.dbforpostgresql/servers/databases/main.bicep b/settings/remarks/microsoft.dbforpostgresql/servers/databases/main.bicep new file mode 100644 index 0000000..2e8cd14 --- /dev/null +++ b/settings/remarks/microsoft.dbforpostgresql/servers/databases/main.bicep @@ -0,0 +1,38 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource database 'Microsoft.DBforPostgreSQL/servers/databases@2017-12-01' = { + parent: server + name: resource_name + properties: { + charset: 'UTF8' + collation: 'English_United States.1252' + } +} + +resource server 'Microsoft.DBforPostgreSQL/servers@2017-12-01' = { + location: location + name: resource_name + properties: { + administratorLogin: 'acctestun' + administratorLoginPassword: 'H@Sh1CoR3!' + createMode: 'Default' + infrastructureEncryption: 'Disabled' + minimalTlsVersion: 'TLS1_2' + publicNetworkAccess: 'Enabled' + sslEnforcement: 'Enabled' + storageProfile: { + backupRetentionDays: 7 + storageAutogrow: 'Enabled' + storageMB: 51200 + } + version: '9.6' + } + sku: { + capacity: 2 + family: 'Gen5' + name: 'GP_Gen5_2' + tier: 'GeneralPurpose' + } +} + diff --git a/settings/remarks/microsoft.dbforpostgresql/servers/firewallrules/main.bicep b/settings/remarks/microsoft.dbforpostgresql/servers/firewallrules/main.bicep new file mode 100644 index 0000000..7a957f1 --- /dev/null +++ b/settings/remarks/microsoft.dbforpostgresql/servers/firewallrules/main.bicep @@ -0,0 +1,38 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource firewallRule 'Microsoft.DBforPostgreSQL/servers/firewallRules@2017-12-01' = { + parent: server + name: resource_name + properties: { + endIpAddress: '255.255.255.255' + startIpAddress: '0.0.0.0' + } +} + +resource server 'Microsoft.DBforPostgreSQL/servers@2017-12-01' = { + location: location + name: resource_name + properties: { + administratorLogin: 'acctestun' + administratorLoginPassword: 'H@Sh1CoR3!' + createMode: 'Default' + infrastructureEncryption: 'Disabled' + minimalTlsVersion: 'TLS1_2' + publicNetworkAccess: 'Enabled' + sslEnforcement: 'Enabled' + storageProfile: { + backupRetentionDays: 7 + storageAutogrow: 'Enabled' + storageMB: 51200 + } + version: '9.6' + } + sku: { + capacity: 2 + family: 'Gen5' + name: 'GP_Gen5_2' + tier: 'GeneralPurpose' + } +} + diff --git a/settings/remarks/microsoft.dbforpostgresql/servers/main.bicep b/settings/remarks/microsoft.dbforpostgresql/servers/main.bicep new file mode 100644 index 0000000..191bd0c --- /dev/null +++ b/settings/remarks/microsoft.dbforpostgresql/servers/main.bicep @@ -0,0 +1,29 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource server 'Microsoft.DBforPostgreSQL/servers@2017-12-01' = { + location: location + name: resource_name + properties: { + administratorLogin: 'acctestun' + administratorLoginPassword: 'H@Sh1CoR3!' + createMode: 'Default' + infrastructureEncryption: 'Disabled' + minimalTlsVersion: 'TLS1_2' + publicNetworkAccess: 'Enabled' + sslEnforcement: 'Enabled' + storageProfile: { + backupRetentionDays: 7 + storageAutogrow: 'Enabled' + storageMB: 51200 + } + version: '9.5' + } + sku: { + capacity: 2 + family: 'Gen5' + name: 'GP_Gen5_2' + tier: 'GeneralPurpose' + } +} + diff --git a/settings/remarks/microsoft.dbforpostgresql/servers/virtualnetworkrules/main.bicep b/settings/remarks/microsoft.dbforpostgresql/servers/virtualnetworkrules/main.bicep new file mode 100644 index 0000000..a63fd90 --- /dev/null +++ b/settings/remarks/microsoft.dbforpostgresql/servers/virtualnetworkrules/main.bicep @@ -0,0 +1,71 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource server 'Microsoft.DBforPostgreSQL/servers@2017-12-01' = { + location: location + name: resource_name + properties: { + administratorLogin: 'acctestun' + administratorLoginPassword: 'H@Sh1CoR3!' + createMode: 'Default' + infrastructureEncryption: 'Disabled' + minimalTlsVersion: 'TLS1_2' + publicNetworkAccess: 'Enabled' + sslEnforcement: 'Enabled' + storageProfile: { + backupRetentionDays: 7 + storageAutogrow: 'Enabled' + storageMB: 51200 + } + version: '9.5' + } + sku: { + capacity: 2 + family: 'Gen5' + name: 'GP_Gen5_2' + tier: 'GeneralPurpose' + } +} + +resource subnet 'Microsoft.Network/virtualNetworks/subnets@2022-07-01' = { + parent: virtualNetwork + name: resource_name + properties: { + addressPrefix: '10.7.29.0/29' + delegations: [] + privateEndpointNetworkPolicies: 'Enabled' + privateLinkServiceNetworkPolicies: 'Enabled' + serviceEndpointPolicies: [] + serviceEndpoints: [ + { + service: 'Microsoft.Sql' + } + ] + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.7.29.0/29' + ] + } + dhcpOptions: { + dnsServers: [] + } + subnets: [] + } +} + +resource virtualNetworkRule 'Microsoft.DBforPostgreSQL/servers/virtualNetworkRules@2017-12-01' = { + parent: server + name: resource_name + properties: { + ignoreMissingVnetServiceEndpoint: false + virtualNetworkSubnetId: subnet.id + } +} + diff --git a/settings/remarks/microsoft.desktopvirtualization/applicationgroups/applications/main.bicep b/settings/remarks/microsoft.desktopvirtualization/applicationgroups/applications/main.bicep new file mode 100644 index 0000000..d68d41b --- /dev/null +++ b/settings/remarks/microsoft.desktopvirtualization/applicationgroups/applications/main.bicep @@ -0,0 +1,37 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource application 'Microsoft.DesktopVirtualization/applicationGroups/applications@2023-09-05' = { + parent: applicationGroup + location: location + name: resource_name + properties: { + commandLineSetting: 'DoNotAllow' + filePath: 'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe' + showInPortal: false + } +} + +resource applicationGroup 'Microsoft.DesktopVirtualization/applicationGroups@2023-09-05' = { + location: location + name: resource_name + properties: { + applicationGroupType: 'RemoteApp' + hostPoolArmPath: hostPool.id + } +} + +resource hostPool 'Microsoft.DesktopVirtualization/hostPools@2023-09-05' = { + location: location + name: resource_name + properties: { + hostPoolType: 'Pooled' + loadBalancerType: 'BreadthFirst' + maxSessionLimit: 999999 + preferredAppGroupType: 'Desktop' + publicNetworkAccess: 'Enabled' + startVMOnConnect: false + validationEnvironment: false + } +} + diff --git a/settings/remarks/microsoft.desktopvirtualization/remarks.json b/settings/remarks/microsoft.desktopvirtualization/remarks.json new file mode 100644 index 0000000..56940b0 --- /dev/null +++ b/settings/remarks/microsoft.desktopvirtualization/remarks.json @@ -0,0 +1,15 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.DesktopVirtualization/applicationGroups", + "Path": "applicationgroups/applications/main.bicep", + "Description": "Basic sample for Microsoft.DesktopVirtualization/applicationGroups/applications@2023-09-05." + }, + { + "ResourceType": "Microsoft.DesktopVirtualization/scalingPlans", + "Path": "scalingplans/personalschedules/main.bicep", + "Description": "Basic sample for Microsoft.DesktopVirtualization/scalingPlans/personalSchedules@2023-11-01-preview." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.desktopvirtualization/scalingplans/personalschedules/main.bicep b/settings/remarks/microsoft.desktopvirtualization/scalingplans/personalschedules/main.bicep new file mode 100644 index 0000000..c1cd1cc --- /dev/null +++ b/settings/remarks/microsoft.desktopvirtualization/scalingplans/personalschedules/main.bicep @@ -0,0 +1,85 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource hostPool 'Microsoft.DesktopVirtualization/hostPools@2023-09-05' = { + location: location + name: resource_name + properties: { + hostPoolType: 'Personal' + loadBalancerType: 'Persistent' + maxSessionLimit: 999999 + preferredAppGroupType: 'Desktop' + publicNetworkAccess: 'Enabled' + startVMOnConnect: true + validationEnvironment: false + } +} + +resource personalSchedule 'Microsoft.DesktopVirtualization/scalingPlans/personalSchedules@2023-11-01-preview' = { + parent: scalingPlan + name: 'Weekdays' + properties: { + daysOfWeek: [ + 'Monday' + 'Tuesday' + 'Wednesday' + 'Thursday' + 'Friday' + ] + offPeakActionOnDisconnect: 'Hibernate' + offPeakActionOnLogoff: 'Hibernate' + offPeakMinutesToWaitOnDisconnect: 20 + offPeakMinutesToWaitOnLogoff: 15 + offPeakStartTime: { + hour: 17 + minute: 30 + } + offPeakStartVMOnConnect: 'Enable' + peakActionOnDisconnect: 'Hibernate' + peakActionOnLogoff: 'Hibernate' + peakMinutesToWaitOnDisconnect: 60 + peakMinutesToWaitOnLogoff: 60 + peakStartTime: { + hour: 8 + minute: 0 + } + peakStartVMOnConnect: 'Enable' + rampDownActionOnDisconnect: 'Hibernate' + rampDownActionOnLogoff: 'Hibernate' + rampDownMinutesToWaitOnDisconnect: 45 + rampDownMinutesToWaitOnLogoff: 30 + rampDownStartTime: { + hour: 16 + minute: 30 + } + rampDownStartVMOnConnect: 'Enable' + rampUpActionOnDisconnect: 'Hibernate' + rampUpActionOnLogoff: 'Hibernate' + rampUpAutoStartHosts: 'None' + rampUpMinutesToWaitOnDisconnect: 45 + rampUpMinutesToWaitOnLogoff: 30 + rampUpStartTime: { + hour: 7 + minute: 0 + } + rampUpStartVMOnConnect: 'Enable' + } +} + +resource scalingPlan 'Microsoft.DesktopVirtualization/scalingPlans@2023-11-01-preview' = { + location: location + name: resource_name + properties: { + exclusionTag: 'no-schedule' + hostPoolReferences: [ + { + hostPoolArmPath: hostPool.id + scalingPlanEnabled: true + } + ] + hostPoolType: 'Personal' + schedules: [] + timeZone: 'W. Europe Standard Time' + } +} + diff --git a/settings/remarks/microsoft.devcenter/devcenters/attachednetworks/main.bicep b/settings/remarks/microsoft.devcenter/devcenters/attachednetworks/main.bicep new file mode 100644 index 0000000..4e7f280 --- /dev/null +++ b/settings/remarks/microsoft.devcenter/devcenters/attachednetworks/main.bicep @@ -0,0 +1,49 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource attachNetwork 'Microsoft.DevCenter/devcenters/attachednetworks@2023-04-01' = { + parent: devCenter + name: resource_name + properties: { + networkConnectionId: networkConnection.id + } +} + +resource devCenter 'Microsoft.DevCenter/devcenters@2023-04-01' = { + location: location + name: resource_name + identity: { + type: 'SystemAssigned' + userAssignedIdentities: null + } +} + +resource networkConnection 'Microsoft.DevCenter/networkConnections@2023-04-01' = { + name: resource_name + location: location + properties: { + domainJoinType: 'AzureADJoin' + subnetId: subnet.id + } +} + +resource subnet 'Microsoft.Network/virtualNetworks/subnets@2022-07-01' = { + parent: virtualNetwork + name: resource_name + properties: { + addressPrefix: '10.0.2.0/24' + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.0.0.0/16' + ] + } + } +} + diff --git a/settings/remarks/microsoft.devcenter/devcenters/devboxdefinitions/main.bicep b/settings/remarks/microsoft.devcenter/devcenters/devboxdefinitions/main.bicep new file mode 100644 index 0000000..b40315f --- /dev/null +++ b/settings/remarks/microsoft.devcenter/devcenters/devboxdefinitions/main.bicep @@ -0,0 +1,27 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource devBoxDefinition 'Microsoft.DevCenter/devcenters/devboxdefinitions@2024-10-01-preview' = { + parent: devCenter + location: location + name: resource_name + properties: { + hibernateSupport: 'Enabled' + imageReference: { + id: '${devCenter.id}/galleries/default/images/microsoftvisualstudio_visualstudioplustools_vs-2022-ent-general-win10-m365-gen2' + } + sku: { + name: 'general_i_8c32gb256ssd_v2' + } + } +} + +resource devCenter 'Microsoft.DevCenter/devcenters@2023-04-01' = { + location: location + name: resource_name + identity: { + type: 'SystemAssigned' + userAssignedIdentities: null + } +} + diff --git a/settings/remarks/microsoft.devcenter/networkconnections/main.bicep b/settings/remarks/microsoft.devcenter/networkconnections/main.bicep new file mode 100644 index 0000000..868a1ef --- /dev/null +++ b/settings/remarks/microsoft.devcenter/networkconnections/main.bicep @@ -0,0 +1,32 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource networkConnection 'Microsoft.DevCenter/networkConnections@2023-04-01' = { + location: location + name: resource_name + properties: { + domainJoinType: 'AzureADJoin' + subnetId: subnet.id + } +} + +resource subnet 'Microsoft.Network/virtualNetworks/subnets@2022-07-01' = { + parent: virtualNetwork + name: resource_name + properties: { + addressPrefix: '10.0.2.0/24' + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.0.0.0/16' + ] + } + } +} + diff --git a/settings/remarks/microsoft.devcenter/remarks.json b/settings/remarks/microsoft.devcenter/remarks.json new file mode 100644 index 0000000..c4ddcd1 --- /dev/null +++ b/settings/remarks/microsoft.devcenter/remarks.json @@ -0,0 +1,20 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.DevCenter/devcenters", + "Path": "devcenters/attachednetworks/main.bicep", + "Description": "Basic sample for Microsoft.DevCenter/devcenters/attachednetworks@2023-04-01." + }, + { + "ResourceType": "Microsoft.DevCenter/devcenters", + "Path": "devcenters/devboxdefinitions/main.bicep", + "Description": "Basic sample for Microsoft.DevCenter/devcenters/devboxdefinitions@2024-10-01-preview." + }, + { + "ResourceType": "Microsoft.DevCenter/networkConnections", + "Path": "networkconnections/main.bicep", + "Description": "Basic sample for Microsoft.DevCenter/networkConnections@2023-04-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.devices/iothubs/certificates/main.bicep b/settings/remarks/microsoft.devices/iothubs/certificates/main.bicep new file mode 100644 index 0000000..f722042 --- /dev/null +++ b/settings/remarks/microsoft.devices/iothubs/certificates/main.bicep @@ -0,0 +1,37 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource IotHub 'Microsoft.Devices/IotHubs@2022-04-30-preview' = { + location: location + name: resource_name + properties: { + cloudToDevice: {} + enableFileUploadNotifications: false + messagingEndpoints: {} + routing: { + fallbackRoute: { + condition: 'true' + endpointNames: [ + 'events' + ] + isEnabled: true + source: 'DeviceMessages' + } + } + storageEndpoints: {} + } + sku: { + capacity: 1 + name: 'B1' + } +} + +resource certificate 'Microsoft.Devices/IotHubs/certificates@2022-04-30-preview' = { + parent: IotHub + name: resource_name + properties: { + certificate: 'LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tDQpNSUlEYnpDQ0FsZWdBd0lCQWdJSkFJempSRDM2c0liYk1BMEdDU3FHU0liM0RRRUJDd1VBTUUweEN6QUpCZ05WDQpCQVlUQWxWVE1STXdFUVlEVlFRSURBcFRiMjFsTFZOMFlYUmxNUkl3RUFZRFZRUUtEQWwwWlhKeVlXWnZjbTB4DQpGVEFUQmdOVkJBTU1ESFJsY25KaFptOXliUzVwYnpBZ0Z3MHhOekEwTWpFeU1EQTFNamRhR0E4eU1URTNNRE15DQpPREl3TURVeU4xb3dUVEVMTUFrR0ExVUVCaE1DVlZNeEV6QVJCZ05WQkFnTUNsTnZiV1V0VTNSaGRHVXhFakFRDQpCZ05WQkFvTUNYUmxjbkpoWm05eWJURVZNQk1HQTFVRUF3d01kR1Z5Y21GbWIzSnRMbWx2TUlJQklqQU5CZ2txDQpoa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTNMOUw1c3pUNCtGTHlrVEZOeXlQankvazNCUVRZQWZSDQpRelAyZGhuc3VVS20zY2RQQzBOeVord0VYSVVHaG9ETzJZRzZFWUNoT2w4ZnNEcURPamxvU1VHS3FZdysrbmxwDQpISXVVZ0p4OEl4eEcyWGtBTENqRlU3RW1GK3c3a243NmQwZXpwRUlZeG5MUCtLRzJEVm9ybm9FdDFhTGh2MU1MDQptcGdFWlpQaERiTVNMaFNZV2VUVlJNYXlYTHdxdGZnbkR1bVFTQis4ZC8xSnVKcXJTSTRwRDEySm96VlRoemI2DQpoc2pmYjZSTVg0ZXBQbXJHbjBQYlRQRUVBNmF3bXN4QkNYQjBzMTNuTlF0L08waExNMmFnd3ZBeW96aWxRVitzDQo2MTZDa2drNkRKb1VrcVpoRHk3dlBZTUlSU3I5OGZCd3M2emtyVjZ0VExqbUQ4eEF2b2JlUFFJREFRQUJvMUF3DQpUakFkQmdOVkhRNEVGZ1FVWElxTzQyMXpNTW1iY1JSWDl3Y3RaRkNRdVBJd0h3WURWUjBqQkJnd0ZvQVVYSXFPDQo0MjF6TU1tYmNSUlg5d2N0WkZDUXVQSXdEQVlEVlIwVEJBVXdBd0VCL3pBTkJna3Foa2lHOXcwQkFRc0ZBQU9DDQpBUUVBcjgyTmVUM0JZSk9LTGxVTDZPbTVMalVGNjZld2NKakc5bHRkdnlRd1ZuZU1jcTd0NVVBUHhnQ2h6cU5SDQpWazRkYThQemtYcGpCSnlXZXpIdXBkSk5YM1hxZVVrMmtTeHFRNi9nbWhxdmZJM3k3ZGpyd29PNmp2TUVZMjZXDQpxdGtUTk9SV0RQM1RISkpWaW1DM3pWK0tNVTVVQlZyRXpoT1ZoSFNVNzA5bEJQNzVvMEJCbjN4R3NQcVNxOWs4DQpJb3RJRmZ5QWM2YStYUDMrWk1wdmg3d3FBVW1sN3ZXYTV3bGNYRXhDeDM5aDFiYWxmRFNMR05DNHN3V1BDcDlBDQpNblFSMHArdk1heTloTlAxRWgrOVFZVWFpMTRkNUtTM2NGVitLeEUxY0pSNUhEL2lMbHRubk9FYnBNc0IwZVZPDQpaV2tGdkU3WTVsVzBvVlNBZmluNVR3VEpNUT09DQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0t' + isVerified: false + } +} + diff --git a/settings/remarks/microsoft.devices/iothubs/main.bicep b/settings/remarks/microsoft.devices/iothubs/main.bicep new file mode 100644 index 0000000..1cd4135 --- /dev/null +++ b/settings/remarks/microsoft.devices/iothubs/main.bicep @@ -0,0 +1,28 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource IotHub 'Microsoft.Devices/IotHubs@2022-04-30-preview' = { + location: location + name: resource_name + properties: { + cloudToDevice: {} + enableFileUploadNotifications: false + messagingEndpoints: {} + routing: { + fallbackRoute: { + condition: 'true' + endpointNames: [ + 'events' + ] + isEnabled: true + source: 'DeviceMessages' + } + } + storageEndpoints: {} + } + sku: { + capacity: 1 + name: 'S1' + } +} + diff --git a/settings/remarks/microsoft.devices/provisioningservices/certificates/main.bicep b/settings/remarks/microsoft.devices/provisioningservices/certificates/main.bicep new file mode 100644 index 0000000..00ff3ce --- /dev/null +++ b/settings/remarks/microsoft.devices/provisioningservices/certificates/main.bicep @@ -0,0 +1,26 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource certificate 'Microsoft.Devices/provisioningServices/certificates@2022-02-05' = { + parent: provisioningService + name: resource_name + properties: { + certificate: 'LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tDQpNSUlEYnpDQ0FsZWdBd0lCQWdJSkFJempSRDM2c0liYk1BMEdDU3FHU0liM0RRRUJDd1VBTUUweEN6QUpCZ05WDQpCQVlUQWxWVE1STXdFUVlEVlFRSURBcFRiMjFsTFZOMFlYUmxNUkl3RUFZRFZRUUtEQWwwWlhKeVlXWnZjbTB4DQpGVEFUQmdOVkJBTU1ESFJsY25KaFptOXliUzVwYnpBZ0Z3MHhOekEwTWpFeU1EQTFNamRhR0E4eU1URTNNRE15DQpPREl3TURVeU4xb3dUVEVMTUFrR0ExVUVCaE1DVlZNeEV6QVJCZ05WQkFnTUNsTnZiV1V0VTNSaGRHVXhFakFRDQpCZ05WQkFvTUNYUmxjbkpoWm05eWJURVZNQk1HQTFVRUF3d01kR1Z5Y21GbWIzSnRMbWx2TUlJQklqQU5CZ2txDQpoa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTNMOUw1c3pUNCtGTHlrVEZOeXlQankvazNCUVRZQWZSDQpRelAyZGhuc3VVS20zY2RQQzBOeVord0VYSVVHaG9ETzJZRzZFWUNoT2w4ZnNEcURPamxvU1VHS3FZdysrbmxwDQpISXVVZ0p4OEl4eEcyWGtBTENqRlU3RW1GK3c3a243NmQwZXpwRUlZeG5MUCtLRzJEVm9ybm9FdDFhTGh2MU1MDQptcGdFWlpQaERiTVNMaFNZV2VUVlJNYXlYTHdxdGZnbkR1bVFTQis4ZC8xSnVKcXJTSTRwRDEySm96VlRoemI2DQpoc2pmYjZSTVg0ZXBQbXJHbjBQYlRQRUVBNmF3bXN4QkNYQjBzMTNuTlF0L08waExNMmFnd3ZBeW96aWxRVitzDQo2MTZDa2drNkRKb1VrcVpoRHk3dlBZTUlSU3I5OGZCd3M2emtyVjZ0VExqbUQ4eEF2b2JlUFFJREFRQUJvMUF3DQpUakFkQmdOVkhRNEVGZ1FVWElxTzQyMXpNTW1iY1JSWDl3Y3RaRkNRdVBJd0h3WURWUjBqQkJnd0ZvQVVYSXFPDQo0MjF6TU1tYmNSUlg5d2N0WkZDUXVQSXdEQVlEVlIwVEJBVXdBd0VCL3pBTkJna3Foa2lHOXcwQkFRc0ZBQU9DDQpBUUVBcjgyTmVUM0JZSk9LTGxVTDZPbTVMalVGNjZld2NKakc5bHRkdnlRd1ZuZU1jcTd0NVVBUHhnQ2h6cU5SDQpWazRkYThQemtYcGpCSnlXZXpIdXBkSk5YM1hxZVVrMmtTeHFRNi9nbWhxdmZJM3k3ZGpyd29PNmp2TUVZMjZXDQpxdGtUTk9SV0RQM1RISkpWaW1DM3pWK0tNVTVVQlZyRXpoT1ZoSFNVNzA5bEJQNzVvMEJCbjN4R3NQcVNxOWs4DQpJb3RJRmZ5QWM2YStYUDMrWk1wdmg3d3FBVW1sN3ZXYTV3bGNYRXhDeDM5aDFiYWxmRFNMR05DNHN3V1BDcDlBDQpNblFSMHArdk1heTloTlAxRWgrOVFZVWFpMTRkNUtTM2NGVitLeEUxY0pSNUhEL2lMbHRubk9FYnBNc0IwZVZPDQpaV2tGdkU3WTVsVzBvVlNBZmluNVR3VEpNUT09DQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0t' + } +} + +resource provisioningService 'Microsoft.Devices/provisioningServices@2022-02-05' = { + location: location + name: resource_name + properties: { + allocationPolicy: 'Hashed' + enableDataResidency: false + iotHubs: [] + publicNetworkAccess: 'Enabled' + } + sku: { + capacity: 1 + name: 'S1' + } +} + diff --git a/settings/remarks/microsoft.devices/provisioningservices/main.bicep b/settings/remarks/microsoft.devices/provisioningservices/main.bicep new file mode 100644 index 0000000..6e0f6c3 --- /dev/null +++ b/settings/remarks/microsoft.devices/provisioningservices/main.bicep @@ -0,0 +1,18 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource provisioningService 'Microsoft.Devices/provisioningServices@2022-02-05' = { + location: location + name: resource_name + properties: { + allocationPolicy: 'Hashed' + enableDataResidency: false + iotHubs: [] + publicNetworkAccess: 'Enabled' + } + sku: { + capacity: 1 + name: 'S1' + } +} + diff --git a/settings/remarks/microsoft.devices/remarks.json b/settings/remarks/microsoft.devices/remarks.json index b4d0d9c..814e743 100644 --- a/settings/remarks/microsoft.devices/remarks.json +++ b/settings/remarks/microsoft.devices/remarks.json @@ -7,5 +7,27 @@ ], "Description": "Create and update is supported only on versions 2022-02-05 and later." } + ], + "BicepSamples": [ + { + "ResourceType": "Microsoft.Devices/IotHubs", + "Path": "iothubs/main.bicep", + "Description": "Basic sample for Microsoft.Devices/IotHubs@2022-04-30-preview." + }, + { + "ResourceType": "Microsoft.Devices/IotHubs", + "Path": "iothubs/certificates/main.bicep", + "Description": "Basic sample for Microsoft.Devices/IotHubs/certificates@2022-04-30-preview." + }, + { + "ResourceType": "Microsoft.Devices/provisioningServices", + "Path": "provisioningservices/main.bicep", + "Description": "Basic sample for Microsoft.Devices/provisioningServices@2022-02-05." + }, + { + "ResourceType": "Microsoft.Devices/provisioningServices", + "Path": "provisioningservices/certificates/main.bicep", + "Description": "Basic sample for Microsoft.Devices/provisioningServices/certificates@2022-02-05." + } ] } \ No newline at end of file diff --git a/settings/remarks/microsoft.deviceupdate/accounts/instances/main.bicep b/settings/remarks/microsoft.deviceupdate/accounts/instances/main.bicep new file mode 100644 index 0000000..8d09eaf --- /dev/null +++ b/settings/remarks/microsoft.deviceupdate/accounts/instances/main.bicep @@ -0,0 +1,52 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource IotHub 'Microsoft.Devices/IotHubs@2022-04-30-preview' = { + location: location + name: resource_name + properties: { + cloudToDevice: {} + enableFileUploadNotifications: false + messagingEndpoints: {} + routing: { + fallbackRoute: { + condition: 'true' + endpointNames: [ + 'events' + ] + isEnabled: true + source: 'DeviceMessages' + } + } + storageEndpoints: {} + } + sku: { + capacity: 1 + name: 'S1' + } +} + +resource account 'Microsoft.DeviceUpdate/accounts@2022-10-01' = { + location: location + name: resource_name + properties: { + publicNetworkAccess: 'Enabled' + sku: 'Standard' + } +} + +resource instance 'Microsoft.DeviceUpdate/accounts/instances@2022-10-01' = { + parent: account + location: location + name: resource_name + properties: { + accountName: account.name + enableDiagnostics: false + iotHubs: [ + { + resourceId: IotHub.id + } + ] + } +} + diff --git a/settings/remarks/microsoft.deviceupdate/accounts/main.bicep b/settings/remarks/microsoft.deviceupdate/accounts/main.bicep new file mode 100644 index 0000000..9e99a89 --- /dev/null +++ b/settings/remarks/microsoft.deviceupdate/accounts/main.bicep @@ -0,0 +1,12 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource account 'Microsoft.DeviceUpdate/accounts@2022-10-01' = { + location: location + name: resource_name + properties: { + publicNetworkAccess: 'Enabled' + sku: 'Standard' + } +} + diff --git a/settings/remarks/microsoft.deviceupdate/remarks.json b/settings/remarks/microsoft.deviceupdate/remarks.json new file mode 100644 index 0000000..52baa87 --- /dev/null +++ b/settings/remarks/microsoft.deviceupdate/remarks.json @@ -0,0 +1,15 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.DeviceUpdate/accounts", + "Path": "accounts/main.bicep", + "Description": "Basic sample for Microsoft.DeviceUpdate/accounts@2022-10-01." + }, + { + "ResourceType": "Microsoft.DeviceUpdate/accounts", + "Path": "accounts/instances/main.bicep", + "Description": "Basic sample for Microsoft.DeviceUpdate/accounts/instances@2022-10-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.devtestlab/labs/main.bicep b/settings/remarks/microsoft.devtestlab/labs/main.bicep new file mode 100644 index 0000000..becaa6c --- /dev/null +++ b/settings/remarks/microsoft.devtestlab/labs/main.bicep @@ -0,0 +1,11 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource lab 'Microsoft.DevTestLab/labs@2018-09-15' = { + location: location + name: resource_name + properties: { + labStorageType: 'Premium' + } +} + diff --git a/settings/remarks/microsoft.devtestlab/labs/schedules/main.bicep b/settings/remarks/microsoft.devtestlab/labs/schedules/main.bicep new file mode 100644 index 0000000..cc7f1ad --- /dev/null +++ b/settings/remarks/microsoft.devtestlab/labs/schedules/main.bicep @@ -0,0 +1,33 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource lab 'Microsoft.DevTestLab/labs@2018-09-15' = { + location: location + name: resource_name + properties: { + labStorageType: 'Premium' + } +} + +resource schedule 'Microsoft.DevTestLab/labs/schedules@2018-09-15' = { + parent: lab + location: location + name: 'LabVmsShutdown' + properties: { + dailyRecurrence: { + time: '0100' + } + notificationSettings: { + status: 'Disabled' + timeInMinutes: 0 + webhookUrl: '' + } + status: 'Disabled' + taskType: 'LabVmsShutdownTask' + timeZoneId: 'India Standard Time' + } + tags: { + environment: 'Production' + } +} + diff --git a/settings/remarks/microsoft.devtestlab/remarks.json b/settings/remarks/microsoft.devtestlab/remarks.json new file mode 100644 index 0000000..1f38545 --- /dev/null +++ b/settings/remarks/microsoft.devtestlab/remarks.json @@ -0,0 +1,20 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.DevTestLab/labs", + "Path": "labs/main.bicep", + "Description": "Basic sample for Microsoft.DevTestLab/labs@2018-09-15." + }, + { + "ResourceType": "Microsoft.DevTestLab/labs", + "Path": "labs/schedules/main.bicep", + "Description": "Basic sample for Microsoft.DevTestLab/labs/schedules@2018-09-15." + }, + { + "ResourceType": "Microsoft.DevTestLab/schedules", + "Path": "schedules/main.bicep", + "Description": "Basic sample for Microsoft.DevTestLab/schedules@2018-09-15." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.devtestlab/schedules/main.bicep b/settings/remarks/microsoft.devtestlab/schedules/main.bicep new file mode 100644 index 0000000..9342071 --- /dev/null +++ b/settings/remarks/microsoft.devtestlab/schedules/main.bicep @@ -0,0 +1,146 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource networkInterface 'Microsoft.Network/networkInterfaces@2022-07-01' = { + location: location + name: resource_name + properties: { + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: [ + { + name: 'testconfiguration1' + properties: { + primary: true + privateIPAddressVersion: 'IPv4' + privateIPAllocationMethod: 'Dynamic' + subnet: { + id: subnet.id + } + } + } + ] + } +} + +resource schedule 'Microsoft.DevTestLab/schedules@2018-09-15' = { + location: location + name: resource_name + properties: { + dailyRecurrence: { + time: '0100' + } + notificationSettings: { + emailRecipient: '' + status: 'Disabled' + timeInMinutes: 30 + webhookUrl: '' + } + status: 'Enabled' + targetResourceId: virtualMachine.id + taskType: 'ComputeVmShutdownTask' + timeZoneId: 'Pacific Standard Time' + } + tags: { + environment: 'Production' + } +} + +resource subnet 'Microsoft.Network/virtualNetworks/subnets@2022-07-01' = { + parent: virtualNetwork + name: resource_name + properties: { + addressPrefix: '10.0.2.0/24' + delegations: [] + privateEndpointNetworkPolicies: 'Enabled' + privateLinkServiceNetworkPolicies: 'Enabled' + serviceEndpointPolicies: [] + serviceEndpoints: [] + } +} + +resource virtualMachine 'Microsoft.Compute/virtualMachines@2023-03-01' = { + location: location + name: resource_name + properties: { + additionalCapabilities: {} + applicationProfile: { + galleryApplications: [] + } + diagnosticsProfile: { + bootDiagnostics: { + enabled: false + storageUri: '' + } + } + extensionsTimeBudget: 'PT1H30M' + hardwareProfile: { + vmSize: 'Standard_B2s' + } + networkProfile: { + networkInterfaces: [ + { + id: networkInterface.id + properties: { + primary: true + } + } + ] + } + osProfile: { + adminPassword: 'Password1234!' + adminUsername: 'testadmin' + allowExtensionOperations: true + computerName: resource_name + linuxConfiguration: { + disablePasswordAuthentication: false + patchSettings: { + assessmentMode: 'ImageDefault' + patchMode: 'ImageDefault' + } + provisionVMAgent: true + ssh: { + publicKeys: [] + } + } + secrets: [] + } + priority: 'Regular' + storageProfile: { + dataDisks: [] + imageReference: { + offer: 'UbuntuServer' + publisher: 'Canonical' + sku: '18.04-LTS' + version: 'latest' + } + osDisk: { + caching: 'ReadWrite' + createOption: 'FromImage' + managedDisk: { + storageAccountType: 'Standard_LRS' + } + name: 'myosdisk-230630033106863551' + osType: 'Linux' + writeAcceleratorEnabled: false + } + } + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.0.0.0/16' + ] + } + dhcpOptions: { + dnsServers: [] + } + subnets: [] + } +} + diff --git a/settings/remarks/microsoft.digitaltwins/digitaltwinsinstances/main.bicep b/settings/remarks/microsoft.digitaltwins/digitaltwinsinstances/main.bicep new file mode 100644 index 0000000..08f4cd4 --- /dev/null +++ b/settings/remarks/microsoft.digitaltwins/digitaltwinsinstances/main.bicep @@ -0,0 +1,14 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource digitalTwinsInstance 'Microsoft.DigitalTwins/digitalTwinsInstances@2020-12-01' = { + identity: [ + { + identity_ids: [] + type: 'SystemAssigned' + } + ] + location: location + name: resource_name +} + diff --git a/settings/remarks/microsoft.digitaltwins/remarks.json b/settings/remarks/microsoft.digitaltwins/remarks.json new file mode 100644 index 0000000..b92c3cc --- /dev/null +++ b/settings/remarks/microsoft.digitaltwins/remarks.json @@ -0,0 +1,10 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.DigitalTwins/digitalTwinsInstances", + "Path": "digitaltwinsinstances/main.bicep", + "Description": "Basic sample for Microsoft.DigitalTwins/digitalTwinsInstances@2020-12-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.documentdb/databaseaccounts/cassandrakeyspaces/main.bicep b/settings/remarks/microsoft.documentdb/databaseaccounts/cassandrakeyspaces/main.bicep new file mode 100644 index 0000000..01c5739 --- /dev/null +++ b/settings/remarks/microsoft.documentdb/databaseaccounts/cassandrakeyspaces/main.bicep @@ -0,0 +1,53 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource cassandraKeyspace 'Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces@2021-10-15' = { + parent: databaseAccount + name: resource_name + properties: { + options: {} + resource: { + id: resource_name + } + } +} + +resource databaseAccount 'Microsoft.DocumentDB/databaseAccounts@2021-10-15' = { + location: location + name: resource_name + kind: 'GlobalDocumentDB' + properties: { + capabilities: [ + { + name: 'EnableCassandra' + } + ] + consistencyPolicy: { + defaultConsistencyLevel: 'Strong' + maxIntervalInSeconds: 5 + maxStalenessPrefix: 100 + } + databaseAccountOfferType: 'Standard' + defaultIdentity: 'FirstPartyIdentity' + disableKeyBasedMetadataWriteAccess: false + disableLocalAuth: false + enableAnalyticalStorage: false + enableAutomaticFailover: false + enableFreeTier: false + enableMultipleWriteLocations: false + ipRules: [] + isVirtualNetworkFilterEnabled: false + locations: [ + { + failoverPriority: 0 + isZoneRedundant: false + locationName: 'West Europe' + } + ] + networkAclBypass: 'None' + networkAclBypassResourceIds: [] + publicNetworkAccess: 'Enabled' + virtualNetworkRules: [] + } +} + diff --git a/settings/remarks/microsoft.documentdb/databaseaccounts/gremlindatabases/graphs/main.bicep b/settings/remarks/microsoft.documentdb/databaseaccounts/gremlindatabases/graphs/main.bicep new file mode 100644 index 0000000..a5f66a0 --- /dev/null +++ b/settings/remarks/microsoft.documentdb/databaseaccounts/gremlindatabases/graphs/main.bicep @@ -0,0 +1,72 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource databaseAccount 'Microsoft.DocumentDB/databaseAccounts@2021-10-15' = { + location: location + name: resource_name + kind: 'GlobalDocumentDB' + properties: { + capabilities: [ + { + name: 'EnableGremlin' + } + ] + consistencyPolicy: { + defaultConsistencyLevel: 'Strong' + maxIntervalInSeconds: 5 + maxStalenessPrefix: 100 + } + databaseAccountOfferType: 'Standard' + defaultIdentity: 'FirstPartyIdentity' + disableKeyBasedMetadataWriteAccess: false + disableLocalAuth: false + enableAnalyticalStorage: false + enableAutomaticFailover: false + enableFreeTier: false + enableMultipleWriteLocations: false + ipRules: [] + isVirtualNetworkFilterEnabled: false + locations: [ + { + failoverPriority: 0 + isZoneRedundant: false + locationName: 'West Europe' + } + ] + networkAclBypass: 'None' + networkAclBypassResourceIds: [] + publicNetworkAccess: 'Enabled' + virtualNetworkRules: [] + } +} + +resource graph 'Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs@2023-04-15' = { + parent: gremlinDatabase + name: resource_name + properties: { + options: { + throughput: 400 + } + resource: { + id: resource_name + partitionKey: { + kind: 'Hash' + paths: [ + '/test' + ] + } + } + } +} + +resource gremlinDatabase 'Microsoft.DocumentDB/databaseAccounts/gremlinDatabases@2023-04-15' = { + parent: databaseAccount + name: resource_name + properties: { + options: {} + resource: { + id: resource_name + } + } +} + diff --git a/settings/remarks/microsoft.documentdb/databaseaccounts/gremlindatabases/main.bicep b/settings/remarks/microsoft.documentdb/databaseaccounts/gremlindatabases/main.bicep new file mode 100644 index 0000000..266776c --- /dev/null +++ b/settings/remarks/microsoft.documentdb/databaseaccounts/gremlindatabases/main.bicep @@ -0,0 +1,53 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource databaseAccount 'Microsoft.DocumentDB/databaseAccounts@2021-10-15' = { + location: location + name: resource_name + kind: 'GlobalDocumentDB' + properties: { + capabilities: [ + { + name: 'EnableGremlin' + } + ] + consistencyPolicy: { + defaultConsistencyLevel: 'Strong' + maxIntervalInSeconds: 5 + maxStalenessPrefix: 100 + } + databaseAccountOfferType: 'Standard' + defaultIdentity: 'FirstPartyIdentity' + disableKeyBasedMetadataWriteAccess: false + disableLocalAuth: false + enableAnalyticalStorage: false + enableAutomaticFailover: false + enableFreeTier: false + enableMultipleWriteLocations: false + ipRules: [] + isVirtualNetworkFilterEnabled: false + locations: [ + { + failoverPriority: 0 + isZoneRedundant: false + locationName: 'West Europe' + } + ] + networkAclBypass: 'None' + networkAclBypassResourceIds: [] + publicNetworkAccess: 'Enabled' + virtualNetworkRules: [] + } +} + +resource gremlinDatabase 'Microsoft.DocumentDB/databaseAccounts/gremlinDatabases@2023-04-15' = { + parent: databaseAccount + name: resource_name + properties: { + options: {} + resource: { + id: resource_name + } + } +} + diff --git a/settings/remarks/microsoft.documentdb/databaseaccounts/main.bicep b/settings/remarks/microsoft.documentdb/databaseaccounts/main.bicep new file mode 100644 index 0000000..e219189 --- /dev/null +++ b/settings/remarks/microsoft.documentdb/databaseaccounts/main.bicep @@ -0,0 +1,38 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource databaseAccount 'Microsoft.DocumentDB/databaseAccounts@2021-10-15' = { + location: location + name: resource_name + kind: 'GlobalDocumentDB' + properties: { + capabilities: [] + consistencyPolicy: { + defaultConsistencyLevel: 'BoundedStaleness' + maxIntervalInSeconds: 10 + maxStalenessPrefix: 200 + } + databaseAccountOfferType: 'Standard' + defaultIdentity: 'FirstPartyIdentity' + disableKeyBasedMetadataWriteAccess: false + disableLocalAuth: false + enableAnalyticalStorage: false + enableAutomaticFailover: false + enableFreeTier: false + enableMultipleWriteLocations: false + ipRules: [] + isVirtualNetworkFilterEnabled: false + locations: [ + { + failoverPriority: 0 + isZoneRedundant: false + locationName: 'West Europe' + } + ] + networkAclBypass: 'None' + networkAclBypassResourceIds: [] + publicNetworkAccess: 'Enabled' + virtualNetworkRules: [] + } +} + diff --git a/settings/remarks/microsoft.documentdb/databaseaccounts/mongodbdatabases/main.bicep b/settings/remarks/microsoft.documentdb/databaseaccounts/mongodbdatabases/main.bicep new file mode 100644 index 0000000..88d0770 --- /dev/null +++ b/settings/remarks/microsoft.documentdb/databaseaccounts/mongodbdatabases/main.bicep @@ -0,0 +1,53 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource databaseAccount 'Microsoft.DocumentDB/databaseAccounts@2021-10-15' = { + location: location + name: resource_name + kind: 'MongoDB' + properties: { + capabilities: [ + { + name: 'EnableMongo' + } + ] + consistencyPolicy: { + defaultConsistencyLevel: 'Strong' + maxIntervalInSeconds: 5 + maxStalenessPrefix: 100 + } + databaseAccountOfferType: 'Standard' + defaultIdentity: 'FirstPartyIdentity' + disableKeyBasedMetadataWriteAccess: false + disableLocalAuth: false + enableAnalyticalStorage: false + enableAutomaticFailover: false + enableFreeTier: false + enableMultipleWriteLocations: false + ipRules: [] + isVirtualNetworkFilterEnabled: false + locations: [ + { + failoverPriority: 0 + isZoneRedundant: false + locationName: 'West Europe' + } + ] + networkAclBypass: 'None' + networkAclBypassResourceIds: [] + publicNetworkAccess: 'Enabled' + virtualNetworkRules: [] + } +} + +resource mongodbDatabase 'Microsoft.DocumentDB/databaseAccounts/mongodbDatabases@2021-10-15' = { + parent: databaseAccount + name: resource_name + properties: { + options: {} + resource: { + id: resource_name + } + } +} + diff --git a/settings/remarks/microsoft.documentdb/databaseaccounts/services/main.bicep b/settings/remarks/microsoft.documentdb/databaseaccounts/services/main.bicep new file mode 100644 index 0000000..f163bda --- /dev/null +++ b/settings/remarks/microsoft.documentdb/databaseaccounts/services/main.bicep @@ -0,0 +1,48 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource databaseAccount 'Microsoft.DocumentDB/databaseAccounts@2021-10-15' = { + location: location + name: resource_name + kind: 'GlobalDocumentDB' + properties: { + capabilities: [] + consistencyPolicy: { + defaultConsistencyLevel: 'BoundedStaleness' + maxIntervalInSeconds: 5 + maxStalenessPrefix: 100 + } + databaseAccountOfferType: 'Standard' + defaultIdentity: 'FirstPartyIdentity' + disableKeyBasedMetadataWriteAccess: false + disableLocalAuth: false + enableAnalyticalStorage: false + enableAutomaticFailover: false + enableFreeTier: false + enableMultipleWriteLocations: false + ipRules: [] + isVirtualNetworkFilterEnabled: false + locations: [ + { + failoverPriority: 0 + isZoneRedundant: false + locationName: 'West Europe' + } + ] + networkAclBypass: 'None' + networkAclBypassResourceIds: [] + publicNetworkAccess: 'Enabled' + virtualNetworkRules: [] + } +} + +resource service 'Microsoft.DocumentDB/databaseAccounts/services@2022-05-15' = { + parent: databaseAccount + name: 'SqlDedicatedGateway' + properties: { + instanceCount: 1 + instanceSize: 'Cosmos.D4s' + serviceType: 'SqlDedicatedGateway' + } +} + diff --git a/settings/remarks/microsoft.documentdb/databaseaccounts/sqldatabases/containers/main.bicep b/settings/remarks/microsoft.documentdb/databaseaccounts/sqldatabases/containers/main.bicep new file mode 100644 index 0000000..ebff1f7 --- /dev/null +++ b/settings/remarks/microsoft.documentdb/databaseaccounts/sqldatabases/containers/main.bicep @@ -0,0 +1,68 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource container 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers@2023-04-15' = { + parent: sqlDatabase + name: resource_name + properties: { + options: {} + resource: { + id: 'test-containerWest Europe' + partitionKey: { + kind: 'Hash' + paths: [ + '/definition' + ] + } + } + } +} + +resource databaseAccount 'Microsoft.DocumentDB/databaseAccounts@2021-10-15' = { + location: location + name: resource_name + kind: 'GlobalDocumentDB' + properties: { + capabilities: [] + consistencyPolicy: { + defaultConsistencyLevel: 'BoundedStaleness' + maxIntervalInSeconds: 10 + maxStalenessPrefix: 200 + } + databaseAccountOfferType: 'Standard' + defaultIdentity: 'FirstPartyIdentity' + disableKeyBasedMetadataWriteAccess: false + disableLocalAuth: false + enableAnalyticalStorage: false + enableAutomaticFailover: false + enableFreeTier: false + enableMultipleWriteLocations: false + ipRules: [] + isVirtualNetworkFilterEnabled: false + locations: [ + { + failoverPriority: 0 + isZoneRedundant: false + locationName: 'West Europe' + } + ] + networkAclBypass: 'None' + networkAclBypassResourceIds: [] + publicNetworkAccess: 'Enabled' + virtualNetworkRules: [] + } +} + +resource sqlDatabase 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases@2021-10-15' = { + parent: databaseAccount + name: resource_name + properties: { + options: { + throughput: 400 + } + resource: { + id: resource_name + } + } +} + diff --git a/settings/remarks/microsoft.documentdb/databaseaccounts/sqldatabases/containers/storedprocedures/main.bicep b/settings/remarks/microsoft.documentdb/databaseaccounts/sqldatabases/containers/storedprocedures/main.bicep new file mode 100644 index 0000000..a3c44e4 --- /dev/null +++ b/settings/remarks/microsoft.documentdb/databaseaccounts/sqldatabases/containers/storedprocedures/main.bicep @@ -0,0 +1,78 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource container 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers@2023-04-15' = { + parent: sqlDatabase + name: resource_name + properties: { + options: {} + resource: { + id: resource_name + partitionKey: { + kind: 'Hash' + paths: [ + '/definition/id' + ] + } + } + } +} + +resource databaseAccount 'Microsoft.DocumentDB/databaseAccounts@2021-10-15' = { + location: location + name: resource_name + kind: 'GlobalDocumentDB' + properties: { + capabilities: [] + consistencyPolicy: { + defaultConsistencyLevel: 'Session' + maxIntervalInSeconds: 5 + maxStalenessPrefix: 100 + } + databaseAccountOfferType: 'Standard' + defaultIdentity: 'FirstPartyIdentity' + disableKeyBasedMetadataWriteAccess: false + disableLocalAuth: false + enableAnalyticalStorage: false + enableAutomaticFailover: false + enableFreeTier: false + enableMultipleWriteLocations: false + ipRules: [] + isVirtualNetworkFilterEnabled: false + locations: [ + { + failoverPriority: 0 + isZoneRedundant: false + locationName: 'West Europe' + } + ] + networkAclBypass: 'None' + networkAclBypassResourceIds: [] + publicNetworkAccess: 'Enabled' + virtualNetworkRules: [] + } +} + +resource sqlDatabase 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases@2021-10-15' = { + parent: databaseAccount + name: resource_name + properties: { + options: {} + resource: { + id: resource_name + } + } +} + +resource storedProcedure 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures@2021-10-15' = { + parent: container + name: resource_name + properties: { + options: {} + resource: { + body: ' \tfunction () {\n\t\tvar context = getContext();\n\t\tvar response = context.getResponse();\n\t\tresponse.setBody(\'Hello, World\');\n\t}\n' + id: resource_name + } + } +} + diff --git a/settings/remarks/microsoft.documentdb/databaseaccounts/sqldatabases/containers/triggers/main.bicep b/settings/remarks/microsoft.documentdb/databaseaccounts/sqldatabases/containers/triggers/main.bicep new file mode 100644 index 0000000..4a7225b --- /dev/null +++ b/settings/remarks/microsoft.documentdb/databaseaccounts/sqldatabases/containers/triggers/main.bicep @@ -0,0 +1,80 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource container 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers@2023-04-15' = { + parent: sqlDatabase + name: resource_name + properties: { + options: {} + resource: { + id: resource_name + partitionKey: { + kind: 'Hash' + paths: [ + '/definition/id' + ] + } + } + } +} + +resource databaseAccount 'Microsoft.DocumentDB/databaseAccounts@2021-10-15' = { + location: location + name: resource_name + kind: 'GlobalDocumentDB' + properties: { + capabilities: [] + consistencyPolicy: { + defaultConsistencyLevel: 'Session' + maxIntervalInSeconds: 5 + maxStalenessPrefix: 100 + } + databaseAccountOfferType: 'Standard' + defaultIdentity: 'FirstPartyIdentity' + disableKeyBasedMetadataWriteAccess: false + disableLocalAuth: false + enableAnalyticalStorage: false + enableAutomaticFailover: false + enableFreeTier: false + enableMultipleWriteLocations: false + ipRules: [] + isVirtualNetworkFilterEnabled: false + locations: [ + { + failoverPriority: 0 + isZoneRedundant: false + locationName: 'West Europe' + } + ] + networkAclBypass: 'None' + networkAclBypassResourceIds: [] + publicNetworkAccess: 'Enabled' + virtualNetworkRules: [] + } +} + +resource sqlDatabase 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases@2021-10-15' = { + parent: databaseAccount + name: resource_name + properties: { + options: {} + resource: { + id: resource_name + } + } +} + +resource trigger 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers@2021-10-15' = { + parent: container + name: resource_name + properties: { + options: {} + resource: { + body: 'function trigger(){}' + id: resource_name + triggerOperation: 'All' + triggerType: 'Pre' + } + } +} + diff --git a/settings/remarks/microsoft.documentdb/databaseaccounts/sqldatabases/containers/userdefinedfunctions/main.bicep b/settings/remarks/microsoft.documentdb/databaseaccounts/sqldatabases/containers/userdefinedfunctions/main.bicep new file mode 100644 index 0000000..b7d891e --- /dev/null +++ b/settings/remarks/microsoft.documentdb/databaseaccounts/sqldatabases/containers/userdefinedfunctions/main.bicep @@ -0,0 +1,78 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource container 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers@2023-04-15' = { + parent: sqlDatabase + name: resource_name + properties: { + options: {} + resource: { + id: resource_name + partitionKey: { + kind: 'Hash' + paths: [ + '/definition/id' + ] + } + } + } +} + +resource databaseAccount 'Microsoft.DocumentDB/databaseAccounts@2021-10-15' = { + location: location + name: resource_name + kind: 'GlobalDocumentDB' + properties: { + capabilities: [] + consistencyPolicy: { + defaultConsistencyLevel: 'Session' + maxIntervalInSeconds: 5 + maxStalenessPrefix: 100 + } + databaseAccountOfferType: 'Standard' + defaultIdentity: 'FirstPartyIdentity' + disableKeyBasedMetadataWriteAccess: false + disableLocalAuth: false + enableAnalyticalStorage: false + enableAutomaticFailover: false + enableFreeTier: false + enableMultipleWriteLocations: false + ipRules: [] + isVirtualNetworkFilterEnabled: false + locations: [ + { + failoverPriority: 0 + isZoneRedundant: false + locationName: 'West Europe' + } + ] + networkAclBypass: 'None' + networkAclBypassResourceIds: [] + publicNetworkAccess: 'Enabled' + virtualNetworkRules: [] + } +} + +resource sqlDatabase 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases@2021-10-15' = { + parent: databaseAccount + name: resource_name + properties: { + options: {} + resource: { + id: resource_name + } + } +} + +resource userDefinedFunction 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions@2021-10-15' = { + parent: container + name: resource_name + properties: { + options: {} + resource: { + body: ' \tfunction test() {\n\t\tvar context = getContext();\n\t\tvar response = context.getResponse();\n\t\tresponse.setBody(\'Hello, World\');\n\t}\n' + id: resource_name + } + } +} + diff --git a/settings/remarks/microsoft.documentdb/databaseaccounts/sqldatabases/main.bicep b/settings/remarks/microsoft.documentdb/databaseaccounts/sqldatabases/main.bicep new file mode 100644 index 0000000..00e208e --- /dev/null +++ b/settings/remarks/microsoft.documentdb/databaseaccounts/sqldatabases/main.bicep @@ -0,0 +1,51 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource databaseAccount 'Microsoft.DocumentDB/databaseAccounts@2021-10-15' = { + location: location + name: resource_name + kind: 'GlobalDocumentDB' + properties: { + capabilities: [] + consistencyPolicy: { + defaultConsistencyLevel: 'BoundedStaleness' + maxIntervalInSeconds: 10 + maxStalenessPrefix: 200 + } + databaseAccountOfferType: 'Standard' + defaultIdentity: 'FirstPartyIdentity' + disableKeyBasedMetadataWriteAccess: false + disableLocalAuth: false + enableAnalyticalStorage: false + enableAutomaticFailover: false + enableFreeTier: false + enableMultipleWriteLocations: false + ipRules: [] + isVirtualNetworkFilterEnabled: false + locations: [ + { + failoverPriority: 0 + isZoneRedundant: false + locationName: 'West Europe' + } + ] + networkAclBypass: 'None' + networkAclBypassResourceIds: [] + publicNetworkAccess: 'Enabled' + virtualNetworkRules: [] + } +} + +resource sqlDatabase 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases@2021-10-15' = { + parent: databaseAccount + name: resource_name + properties: { + options: { + throughput: 400 + } + resource: { + id: resource_name + } + } +} + diff --git a/settings/remarks/microsoft.documentdb/databaseaccounts/sqlroledefinitions/main.bicep b/settings/remarks/microsoft.documentdb/databaseaccounts/sqlroledefinitions/main.bicep new file mode 100644 index 0000000..4dc412a --- /dev/null +++ b/settings/remarks/microsoft.documentdb/databaseaccounts/sqlroledefinitions/main.bicep @@ -0,0 +1,57 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource databaseAccount 'Microsoft.DocumentDB/databaseAccounts@2021-10-15' = { + location: location + name: resource_name + kind: 'GlobalDocumentDB' + properties: { + capabilities: [] + consistencyPolicy: { + defaultConsistencyLevel: 'Strong' + maxIntervalInSeconds: 5 + maxStalenessPrefix: 100 + } + databaseAccountOfferType: 'Standard' + defaultIdentity: 'FirstPartyIdentity' + disableKeyBasedMetadataWriteAccess: false + disableLocalAuth: false + enableAnalyticalStorage: false + enableAutomaticFailover: false + enableFreeTier: false + enableMultipleWriteLocations: false + ipRules: [] + isVirtualNetworkFilterEnabled: false + locations: [ + { + failoverPriority: 0 + isZoneRedundant: false + locationName: 'West Europe' + } + ] + networkAclBypass: 'None' + networkAclBypassResourceIds: [] + publicNetworkAccess: 'Enabled' + virtualNetworkRules: [] + } +} + +resource sqlRoleDefinition 'Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions@2021-10-15' = { + parent: databaseAccount + name: 'c3ce1661-d0b9-3476-0a7c-2654ce2f3055' + properties: { + assignableScopes: [ + databaseAccount.id + ] + permissions: [ + { + dataActions: [ + 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/read' + ] + } + ] + roleName: resource_name + type: 'CustomRole' + } +} + diff --git a/settings/remarks/microsoft.documentdb/databaseaccounts/tables/main.bicep b/settings/remarks/microsoft.documentdb/databaseaccounts/tables/main.bicep new file mode 100644 index 0000000..560565a --- /dev/null +++ b/settings/remarks/microsoft.documentdb/databaseaccounts/tables/main.bicep @@ -0,0 +1,53 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource databaseAccount 'Microsoft.DocumentDB/databaseAccounts@2021-10-15' = { + location: location + name: resource_name + kind: 'GlobalDocumentDB' + properties: { + capabilities: [ + { + name: 'EnableTable' + } + ] + consistencyPolicy: { + defaultConsistencyLevel: 'Strong' + maxIntervalInSeconds: 5 + maxStalenessPrefix: 100 + } + databaseAccountOfferType: 'Standard' + defaultIdentity: 'FirstPartyIdentity' + disableKeyBasedMetadataWriteAccess: false + disableLocalAuth: false + enableAnalyticalStorage: false + enableAutomaticFailover: false + enableFreeTier: false + enableMultipleWriteLocations: false + ipRules: [] + isVirtualNetworkFilterEnabled: false + locations: [ + { + failoverPriority: 0 + isZoneRedundant: false + locationName: 'West Europe' + } + ] + networkAclBypass: 'None' + networkAclBypassResourceIds: [] + publicNetworkAccess: 'Enabled' + virtualNetworkRules: [] + } +} + +resource table 'Microsoft.DocumentDB/databaseAccounts/tables@2021-10-15' = { + parent: databaseAccount + name: resource_name + properties: { + options: {} + resource: { + id: resource_name + } + } +} + diff --git a/settings/remarks/microsoft.documentdb/remarks.json b/settings/remarks/microsoft.documentdb/remarks.json new file mode 100644 index 0000000..e2878f8 --- /dev/null +++ b/settings/remarks/microsoft.documentdb/remarks.json @@ -0,0 +1,70 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.DocumentDB/databaseAccounts", + "Path": "databaseaccounts/main.bicep", + "Description": "Basic sample for Microsoft.DocumentDB/databaseAccounts@2021-10-15." + }, + { + "ResourceType": "Microsoft.DocumentDB/databaseAccounts", + "Path": "databaseaccounts/cassandrakeyspaces/main.bicep", + "Description": "Basic sample for Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces@2021-10-15." + }, + { + "ResourceType": "Microsoft.DocumentDB/databaseAccounts", + "Path": "databaseaccounts/gremlindatabases/main.bicep", + "Description": "Basic sample for Microsoft.DocumentDB/databaseAccounts/gremlinDatabases@2023-04-15." + }, + { + "ResourceType": "Microsoft.DocumentDB/databaseAccounts", + "Path": "databaseaccounts/gremlindatabases/graphs/main.bicep", + "Description": "Basic sample for Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs@2023-04-15." + }, + { + "ResourceType": "Microsoft.DocumentDB/databaseAccounts", + "Path": "databaseaccounts/mongodbdatabases/main.bicep", + "Description": "Basic sample for Microsoft.DocumentDB/databaseAccounts/mongodbDatabases@2021-10-15." + }, + { + "ResourceType": "Microsoft.DocumentDB/databaseAccounts", + "Path": "databaseaccounts/services/main.bicep", + "Description": "Basic sample for Microsoft.DocumentDB/databaseAccounts/services@2022-05-15." + }, + { + "ResourceType": "Microsoft.DocumentDB/databaseAccounts", + "Path": "databaseaccounts/sqldatabases/main.bicep", + "Description": "Basic sample for Microsoft.DocumentDB/databaseAccounts/sqlDatabases@2021-10-15." + }, + { + "ResourceType": "Microsoft.DocumentDB/databaseAccounts", + "Path": "databaseaccounts/sqldatabases/containers/main.bicep", + "Description": "Basic sample for Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers@2023-04-15." + }, + { + "ResourceType": "Microsoft.DocumentDB/databaseAccounts", + "Path": "databaseaccounts/sqldatabases/containers/storedprocedures/main.bicep", + "Description": "Basic sample for Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures@2021-10-15." + }, + { + "ResourceType": "Microsoft.DocumentDB/databaseAccounts", + "Path": "databaseaccounts/sqldatabases/containers/triggers/main.bicep", + "Description": "Basic sample for Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers@2021-10-15." + }, + { + "ResourceType": "Microsoft.DocumentDB/databaseAccounts", + "Path": "databaseaccounts/sqldatabases/containers/userdefinedfunctions/main.bicep", + "Description": "Basic sample for Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions@2021-10-15." + }, + { + "ResourceType": "Microsoft.DocumentDB/databaseAccounts", + "Path": "databaseaccounts/sqlroledefinitions/main.bicep", + "Description": "Basic sample for Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions@2021-10-15." + }, + { + "ResourceType": "Microsoft.DocumentDB/databaseAccounts", + "Path": "databaseaccounts/tables/main.bicep", + "Description": "Basic sample for Microsoft.DocumentDB/databaseAccounts/tables@2021-10-15." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.eventgrid/domains/main.bicep b/settings/remarks/microsoft.eventgrid/domains/main.bicep new file mode 100644 index 0000000..d05aff6 --- /dev/null +++ b/settings/remarks/microsoft.eventgrid/domains/main.bicep @@ -0,0 +1,16 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource domain 'Microsoft.EventGrid/domains@2021-12-01' = { + location: location + name: resource_name + properties: { + autoCreateTopicWithFirstSubscription: true + autoDeleteTopicWithLastSubscription: true + disableLocalAuth: false + inputSchema: 'EventGridSchema' + inputSchemaMapping: null + publicNetworkAccess: 'Enabled' + } +} + diff --git a/settings/remarks/microsoft.eventgrid/domains/topics/main.bicep b/settings/remarks/microsoft.eventgrid/domains/topics/main.bicep new file mode 100644 index 0000000..cc1a579 --- /dev/null +++ b/settings/remarks/microsoft.eventgrid/domains/topics/main.bicep @@ -0,0 +1,21 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource domain 'Microsoft.EventGrid/domains@2021-12-01' = { + location: location + name: resource_name + properties: { + autoCreateTopicWithFirstSubscription: true + autoDeleteTopicWithLastSubscription: true + disableLocalAuth: false + inputSchema: 'EventGridSchema' + inputSchemaMapping: null + publicNetworkAccess: 'Enabled' + } +} + +resource topic 'Microsoft.EventGrid/domains/topics@2021-12-01' = { + parent: domain + name: resource_name +} + diff --git a/settings/remarks/microsoft.eventgrid/remarks.json b/settings/remarks/microsoft.eventgrid/remarks.json new file mode 100644 index 0000000..d1856d7 --- /dev/null +++ b/settings/remarks/microsoft.eventgrid/remarks.json @@ -0,0 +1,20 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.EventGrid/domains", + "Path": "domains/main.bicep", + "Description": "Basic sample for Microsoft.EventGrid/domains@2021-12-01." + }, + { + "ResourceType": "Microsoft.EventGrid/domains", + "Path": "domains/topics/main.bicep", + "Description": "Basic sample for Microsoft.EventGrid/domains/topics@2021-12-01." + }, + { + "ResourceType": "Microsoft.EventGrid/topics", + "Path": "topics/main.bicep", + "Description": "Basic sample for Microsoft.EventGrid/topics@2021-12-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.eventgrid/topics/main.bicep b/settings/remarks/microsoft.eventgrid/topics/main.bicep new file mode 100644 index 0000000..751b665 --- /dev/null +++ b/settings/remarks/microsoft.eventgrid/topics/main.bicep @@ -0,0 +1,14 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource topic 'Microsoft.EventGrid/topics@2021-12-01' = { + location: location + name: resource_name + properties: { + disableLocalAuth: false + inputSchema: 'EventGridSchema' + inputSchemaMapping: null + publicNetworkAccess: 'Enabled' + } +} + diff --git a/settings/remarks/microsoft.eventhub/clusters/main.bicep b/settings/remarks/microsoft.eventhub/clusters/main.bicep new file mode 100644 index 0000000..57f196f --- /dev/null +++ b/settings/remarks/microsoft.eventhub/clusters/main.bicep @@ -0,0 +1,12 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource cluster 'Microsoft.EventHub/clusters@2021-11-01' = { + location: location + name: resource_name + sku: { + capacity: 1 + name: 'Dedicated' + } +} + diff --git a/settings/remarks/microsoft.eventhub/namespaces/authorizationrules/main.bicep b/settings/remarks/microsoft.eventhub/namespaces/authorizationrules/main.bicep new file mode 100644 index 0000000..a6a5361 --- /dev/null +++ b/settings/remarks/microsoft.eventhub/namespaces/authorizationrules/main.bicep @@ -0,0 +1,31 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource authorizationRule 'Microsoft.EventHub/namespaces/authorizationRules@2021-11-01' = { + parent: namespace + name: resource_name + properties: { + rights: [ + 'Listen' + 'Send' + 'Manage' + ] + } +} + +resource namespace 'Microsoft.EventHub/namespaces@2022-01-01-preview' = { + location: location + name: resource_name + properties: { + disableLocalAuth: false + isAutoInflateEnabled: false + publicNetworkAccess: 'Enabled' + zoneRedundant: false + } + sku: { + capacity: 1 + name: 'Basic' + tier: 'Basic' + } +} + diff --git a/settings/remarks/microsoft.eventhub/namespaces/disasterrecoveryconfigs/main.bicep b/settings/remarks/microsoft.eventhub/namespaces/disasterrecoveryconfigs/main.bicep new file mode 100644 index 0000000..b10cec9 --- /dev/null +++ b/settings/remarks/microsoft.eventhub/namespaces/disasterrecoveryconfigs/main.bicep @@ -0,0 +1,43 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource disasterRecoveryConfig 'Microsoft.EventHub/namespaces/disasterRecoveryConfigs@2021-11-01' = { + parent: namespace + name: resource_name + properties: { + partnerNamespace: namespace2.id + } +} + +resource namespace 'Microsoft.EventHub/namespaces@2022-01-01-preview' = { + location: location + name: resource_name + properties: { + disableLocalAuth: false + isAutoInflateEnabled: false + publicNetworkAccess: 'Enabled' + zoneRedundant: false + } + sku: { + capacity: 1 + name: 'Standard' + tier: 'Standard' + } +} + +resource namespace2 'Microsoft.EventHub/namespaces@2022-01-01-preview' = { + location: 'westus2' + name: resource_name + properties: { + disableLocalAuth: false + isAutoInflateEnabled: false + publicNetworkAccess: 'Enabled' + zoneRedundant: false + } + sku: { + capacity: 1 + name: 'Standard' + tier: 'Standard' + } +} + diff --git a/settings/remarks/microsoft.eventhub/namespaces/eventhubs/authorizationrules/main.bicep b/settings/remarks/microsoft.eventhub/namespaces/eventhubs/authorizationrules/main.bicep new file mode 100644 index 0000000..5532109 --- /dev/null +++ b/settings/remarks/microsoft.eventhub/namespaces/eventhubs/authorizationrules/main.bicep @@ -0,0 +1,39 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource authorizationRule 'Microsoft.EventHub/namespaces/eventhubs/authorizationRules@2021-11-01' = { + parent: eventhub + name: resource_name + properties: { + rights: [ + 'Send' + ] + } +} + +resource eventhub 'Microsoft.EventHub/namespaces/eventhubs@2021-11-01' = { + parent: namespace + name: resource_name + properties: { + messageRetentionInDays: 1 + partitionCount: 2 + status: 'Active' + } +} + +resource namespace 'Microsoft.EventHub/namespaces@2022-01-01-preview' = { + location: location + name: resource_name + properties: { + disableLocalAuth: false + isAutoInflateEnabled: false + publicNetworkAccess: 'Enabled' + zoneRedundant: false + } + sku: { + capacity: 1 + name: 'Basic' + tier: 'Basic' + } +} + diff --git a/settings/remarks/microsoft.eventhub/namespaces/eventhubs/consumergroups/main.bicep b/settings/remarks/microsoft.eventhub/namespaces/eventhubs/consumergroups/main.bicep new file mode 100644 index 0000000..e6cc0ab --- /dev/null +++ b/settings/remarks/microsoft.eventhub/namespaces/eventhubs/consumergroups/main.bicep @@ -0,0 +1,37 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource consumerGroup 'Microsoft.EventHub/namespaces/eventhubs/consumerGroups@2021-11-01' = { + parent: eventhub + name: resource_name + properties: { + userMetadata: '' + } +} + +resource eventhub 'Microsoft.EventHub/namespaces/eventhubs@2021-11-01' = { + parent: namespace + name: resource_name + properties: { + messageRetentionInDays: 1 + partitionCount: 2 + status: 'Active' + } +} + +resource namespace 'Microsoft.EventHub/namespaces@2022-01-01-preview' = { + location: location + name: resource_name + properties: { + disableLocalAuth: false + isAutoInflateEnabled: false + publicNetworkAccess: 'Enabled' + zoneRedundant: false + } + sku: { + capacity: 1 + name: 'Standard' + tier: 'Standard' + } +} + diff --git a/settings/remarks/microsoft.eventhub/namespaces/eventhubs/main.bicep b/settings/remarks/microsoft.eventhub/namespaces/eventhubs/main.bicep new file mode 100644 index 0000000..a469338 --- /dev/null +++ b/settings/remarks/microsoft.eventhub/namespaces/eventhubs/main.bicep @@ -0,0 +1,29 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource eventhub 'Microsoft.EventHub/namespaces/eventhubs@2021-11-01' = { + parent: namespace + name: resource_name + properties: { + messageRetentionInDays: 1 + partitionCount: 2 + status: 'Active' + } +} + +resource namespace 'Microsoft.EventHub/namespaces@2022-01-01-preview' = { + location: location + name: resource_name + properties: { + disableLocalAuth: false + isAutoInflateEnabled: false + publicNetworkAccess: 'Enabled' + zoneRedundant: false + } + sku: { + capacity: 1 + name: 'Standard' + tier: 'Standard' + } +} + diff --git a/settings/remarks/microsoft.eventhub/namespaces/main.bicep b/settings/remarks/microsoft.eventhub/namespaces/main.bicep new file mode 100644 index 0000000..a655105 --- /dev/null +++ b/settings/remarks/microsoft.eventhub/namespaces/main.bicep @@ -0,0 +1,19 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource namespace 'Microsoft.EventHub/namespaces@2022-01-01-preview' = { + location: location + name: resource_name + properties: { + disableLocalAuth: false + isAutoInflateEnabled: false + publicNetworkAccess: 'Enabled' + zoneRedundant: false + } + sku: { + capacity: 1 + name: 'Standard' + tier: 'Standard' + } +} + diff --git a/settings/remarks/microsoft.eventhub/namespaces/schemagroups/main.bicep b/settings/remarks/microsoft.eventhub/namespaces/schemagroups/main.bicep new file mode 100644 index 0000000..bdfa087 --- /dev/null +++ b/settings/remarks/microsoft.eventhub/namespaces/schemagroups/main.bicep @@ -0,0 +1,28 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource namespace 'Microsoft.EventHub/namespaces@2022-01-01-preview' = { + location: location + name: resource_name + properties: { + disableLocalAuth: false + isAutoInflateEnabled: false + publicNetworkAccess: 'Enabled' + zoneRedundant: false + } + sku: { + capacity: 1 + name: 'Standard' + tier: 'Standard' + } +} + +resource schemaGroup 'Microsoft.EventHub/namespaces/schemaGroups@2021-11-01' = { + parent: namespace + name: resource_name + properties: { + schemaCompatibility: 'Forward' + schemaType: 'Avro' + } +} + diff --git a/settings/remarks/microsoft.eventhub/remarks.json b/settings/remarks/microsoft.eventhub/remarks.json new file mode 100644 index 0000000..80771c1 --- /dev/null +++ b/settings/remarks/microsoft.eventhub/remarks.json @@ -0,0 +1,45 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.EventHub/clusters", + "Path": "clusters/main.bicep", + "Description": "Basic sample for Microsoft.EventHub/clusters@2021-11-01." + }, + { + "ResourceType": "Microsoft.EventHub/namespaces", + "Path": "namespaces/main.bicep", + "Description": "Basic sample for Microsoft.EventHub/namespaces@2022-01-01-preview." + }, + { + "ResourceType": "Microsoft.EventHub/namespaces", + "Path": "namespaces/authorizationrules/main.bicep", + "Description": "Basic sample for Microsoft.EventHub/namespaces/authorizationRules@2021-11-01." + }, + { + "ResourceType": "Microsoft.EventHub/namespaces", + "Path": "namespaces/disasterrecoveryconfigs/main.bicep", + "Description": "Basic sample for Microsoft.EventHub/namespaces/disasterRecoveryConfigs@2021-11-01." + }, + { + "ResourceType": "Microsoft.EventHub/namespaces", + "Path": "namespaces/eventhubs/main.bicep", + "Description": "Basic sample for Microsoft.EventHub/namespaces/eventhubs@2021-11-01." + }, + { + "ResourceType": "Microsoft.EventHub/namespaces", + "Path": "namespaces/eventhubs/authorizationrules/main.bicep", + "Description": "Basic sample for Microsoft.EventHub/namespaces/eventhubs/authorizationRules@2021-11-01." + }, + { + "ResourceType": "Microsoft.EventHub/namespaces", + "Path": "namespaces/eventhubs/consumergroups/main.bicep", + "Description": "Basic sample for Microsoft.EventHub/namespaces/eventhubs/consumerGroups@2021-11-01." + }, + { + "ResourceType": "Microsoft.EventHub/namespaces", + "Path": "namespaces/schemagroups/main.bicep", + "Description": "Basic sample for Microsoft.EventHub/namespaces/schemaGroups@2021-11-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.fluidrelay/fluidrelayservers/main.bicep b/settings/remarks/microsoft.fluidrelay/fluidrelayservers/main.bicep new file mode 100644 index 0000000..e8d9f54 --- /dev/null +++ b/settings/remarks/microsoft.fluidrelay/fluidrelayservers/main.bicep @@ -0,0 +1,12 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource fluidRelayServer 'Microsoft.FluidRelay/fluidRelayServers@2022-05-26' = { + location: location + name: resource_name + properties: {} + tags: { + foo: 'bar' + } +} + diff --git a/settings/remarks/microsoft.fluidrelay/remarks.json b/settings/remarks/microsoft.fluidrelay/remarks.json new file mode 100644 index 0000000..0fa05df --- /dev/null +++ b/settings/remarks/microsoft.fluidrelay/remarks.json @@ -0,0 +1,10 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.FluidRelay/fluidRelayServers", + "Path": "fluidrelayservers/main.bicep", + "Description": "Basic sample for Microsoft.FluidRelay/fluidRelayServers@2022-05-26." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.healthbot/healthbots/main.bicep b/settings/remarks/microsoft.healthbot/healthbots/main.bicep new file mode 100644 index 0000000..ca61341 --- /dev/null +++ b/settings/remarks/microsoft.healthbot/healthbots/main.bicep @@ -0,0 +1,11 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource healthBot 'Microsoft.HealthBot/healthBots@2022-08-08' = { + location: location + name: resource_name + sku: { + name: 'F0' + } +} + diff --git a/settings/remarks/microsoft.healthbot/remarks.json b/settings/remarks/microsoft.healthbot/remarks.json new file mode 100644 index 0000000..c13e4d3 --- /dev/null +++ b/settings/remarks/microsoft.healthbot/remarks.json @@ -0,0 +1,10 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.HealthBot/healthBots", + "Path": "healthbots/main.bicep", + "Description": "Basic sample for Microsoft.HealthBot/healthBots@2022-08-08." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.healthcareapis/remarks.json b/settings/remarks/microsoft.healthcareapis/remarks.json new file mode 100644 index 0000000..5112fc4 --- /dev/null +++ b/settings/remarks/microsoft.healthcareapis/remarks.json @@ -0,0 +1,20 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.HealthcareApis/workspaces", + "Path": "workspaces/main.bicep", + "Description": "Basic sample for Microsoft.HealthcareApis/workspaces@2022-12-01." + }, + { + "ResourceType": "Microsoft.HealthcareApis/workspaces", + "Path": "workspaces/dicomservices/main.bicep", + "Description": "Basic sample for Microsoft.HealthcareApis/workspaces/dicomServices@2022-12-01." + }, + { + "ResourceType": "Microsoft.HealthcareApis/workspaces", + "Path": "workspaces/iotconnectors/main.bicep", + "Description": "Basic sample for Microsoft.HealthcareApis/workspaces/iotConnectors@2022-12-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.healthcareapis/workspaces/dicomservices/main.bicep b/settings/remarks/microsoft.healthcareapis/workspaces/dicomservices/main.bicep new file mode 100644 index 0000000..471ebef --- /dev/null +++ b/settings/remarks/microsoft.healthcareapis/workspaces/dicomservices/main.bicep @@ -0,0 +1,17 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource dicomService 'Microsoft.HealthcareApis/workspaces/dicomServices@2022-12-01' = { + parent: workspace + location: location + name: resource_name + properties: { + publicNetworkAccess: 'Enabled' + } +} + +resource workspace 'Microsoft.HealthcareApis/workspaces@2022-12-01' = { + location: location + name: resource_name +} + diff --git a/settings/remarks/microsoft.healthcareapis/workspaces/iotconnectors/main.bicep b/settings/remarks/microsoft.healthcareapis/workspaces/iotconnectors/main.bicep new file mode 100644 index 0000000..9ed0a5e --- /dev/null +++ b/settings/remarks/microsoft.healthcareapis/workspaces/iotconnectors/main.bicep @@ -0,0 +1,61 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource consumerGroup 'Microsoft.EventHub/namespaces/eventhubs/consumerGroups@2021-11-01' = { + parent: eventhub + name: resource_name + properties: { + userMetadata: '' + } +} + +resource eventhub 'Microsoft.EventHub/namespaces/eventhubs@2021-11-01' = { + parent: namespace + name: resource_name + properties: { + messageRetentionInDays: 1 + partitionCount: 2 + status: 'Active' + } +} + +resource iotConnector 'Microsoft.HealthcareApis/workspaces/iotConnectors@2022-12-01' = { + parent: workspace + location: location + name: resource_name + properties: { + deviceMapping: { + content: { + template: [] + templateType: 'CollectionContent' + } + } + ingestionEndpointConfiguration: { + consumerGroup: consumerGroup.id + eventHubName: eventhub.name + fullyQualifiedEventHubNamespace: '${namespace.name}.servicebus.windows.net' + } + } +} + +resource namespace 'Microsoft.EventHub/namespaces@2022-01-01-preview' = { + location: location + name: resource_name + properties: { + disableLocalAuth: false + isAutoInflateEnabled: false + publicNetworkAccess: 'Enabled' + zoneRedundant: false + } + sku: { + capacity: 1 + name: 'Standard' + tier: 'Standard' + } +} + +resource workspace 'Microsoft.HealthcareApis/workspaces@2022-12-01' = { + location: location + name: resource_name +} + diff --git a/settings/remarks/microsoft.healthcareapis/workspaces/main.bicep b/settings/remarks/microsoft.healthcareapis/workspaces/main.bicep new file mode 100644 index 0000000..ab40a3e --- /dev/null +++ b/settings/remarks/microsoft.healthcareapis/workspaces/main.bicep @@ -0,0 +1,8 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource workspace 'Microsoft.HealthcareApis/workspaces@2022-12-01' = { + location: location + name: resource_name +} + diff --git a/settings/remarks/microsoft.hybridcompute/privatelinkscopes/main.bicep b/settings/remarks/microsoft.hybridcompute/privatelinkscopes/main.bicep new file mode 100644 index 0000000..fe23f98 --- /dev/null +++ b/settings/remarks/microsoft.hybridcompute/privatelinkscopes/main.bicep @@ -0,0 +1,11 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource privateLinkScope 'Microsoft.HybridCompute/privateLinkScopes@2022-11-10' = { + location: location + name: resource_name + properties: { + publicNetworkAccess: 'Disabled' + } +} + diff --git a/settings/remarks/microsoft.hybridcompute/remarks.json b/settings/remarks/microsoft.hybridcompute/remarks.json new file mode 100644 index 0000000..c224bf1 --- /dev/null +++ b/settings/remarks/microsoft.hybridcompute/remarks.json @@ -0,0 +1,10 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.HybridCompute/privateLinkScopes", + "Path": "privatelinkscopes/main.bicep", + "Description": "Basic sample for Microsoft.HybridCompute/privateLinkScopes@2022-11-10." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.impact/remarks.json b/settings/remarks/microsoft.impact/remarks.json new file mode 100644 index 0000000..4a1e29c --- /dev/null +++ b/settings/remarks/microsoft.impact/remarks.json @@ -0,0 +1,10 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.Impact/workloadImpacts", + "Path": "workloadimpacts/main.bicep", + "Description": "Basic sample for Microsoft.Impact/workloadImpacts@2023-12-01-preview." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.impact/workloadimpacts/main.bicep b/settings/remarks/microsoft.impact/workloadimpacts/main.bicep new file mode 100644 index 0000000..e8897aa --- /dev/null +++ b/settings/remarks/microsoft.impact/workloadimpacts/main.bicep @@ -0,0 +1,158 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource networkInterface 'Microsoft.Network/networkInterfaces@2022-07-01' = { + location: location + name: resource_name + properties: { + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: [ + { + name: 'testconfiguration1' + properties: { + primary: true + privateIPAddressVersion: 'IPv4' + privateIPAllocationMethod: 'Dynamic' + subnet: { + id: subnet.id + } + } + } + ] + } +} + +resource subnet 'Microsoft.Network/virtualNetworks/subnets@2022-07-01' = { + parent: virtualNetwork + name: resource_name + properties: { + addressPrefix: '10.0.2.0/24' + delegations: [] + privateEndpointNetworkPolicies: 'Enabled' + privateLinkServiceNetworkPolicies: 'Enabled' + serviceEndpointPolicies: [] + serviceEndpoints: [] + } +} + +resource virtualMachine 'Microsoft.Compute/virtualMachines@2023-03-01' = { + location: location + name: resource_name + properties: { + hardwareProfile: { + vmSize: 'Standard_F2' + } + networkProfile: { + networkInterfaces: [ + { + id: networkInterface.id + properties: { + primary: false + } + } + ] + } + osProfile: { + adminPassword: 'Password1234!' + adminUsername: 'testadmin' + computerName: 'hostname230630032848831819' + linuxConfiguration: { + disablePasswordAuthentication: false + } + } + storageProfile: { + imageReference: { + offer: 'UbuntuServer' + publisher: 'Canonical' + sku: '16.04-LTS' + version: 'latest' + } + osDisk: { + caching: 'ReadWrite' + createOption: 'FromImage' + name: 'myosdisk1' + writeAcceleratorEnabled: false + } + } + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.0.0.0/16' + ] + } + dhcpOptions: { + dnsServers: [] + } + subnets: [] + } +} + +resource workloadImpact 'Microsoft.Impact/workloadImpacts@2023-12-01-preview' = { + name: resource_name + properties: { + additionalProperties: { + CollectTelemetry: true + Location: 'DataCenter1' + LogUrl: 'http://example.com/log' + Manufacturer: 'ManufacturerName' + ModelNumber: 'Model123' + NodeId: 'node-123' + PhysicalHostName: 'host123' + SerialNumber: 'SN123456' + VmUniqueId: 'vm-unique-id' + } + armCorrelationIds: [ + 'id1' + 'id2' + ] + clientIncidentDetails: { + clientIncidentId: 'id' + clientIncidentSource: 'AzureDevops' + } + confidenceLevel: 'High' + connectivity: { + port: 1443 + protocol: 'TCP' + source: { + azureResourceId: virtualMachine.id + } + target: { + azureResourceId: virtualMachine.id + } + } + endDateTime: '2024-12-04T01:15:00Z' + errorDetails: { + errorCode: 'code' + errorMessage: 'errorMessage' + } + impactCategory: 'Resource.Availability' + impactDescription: 'impact description' + impactGroupId: 'impact groupid' + impactedResourceId: virtualMachine.id + performance: [ + { + actual: 2 + expected: 2 + expectedValueRange: { + max: 5 + min: 1 + } + metricName: 'example' + unit: 'ByteSeconds' + } + ] + startDateTime: '2024-12-03T01:15:00Z' + workload: { + context: 'context' + toolset: 'Ansible' + } + } +} + diff --git a/settings/remarks/microsoft.insights/actiongroups/main.bicep b/settings/remarks/microsoft.insights/actiongroups/main.bicep new file mode 100644 index 0000000..f9d4f59 --- /dev/null +++ b/settings/remarks/microsoft.insights/actiongroups/main.bicep @@ -0,0 +1,23 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource actionGroup 'Microsoft.Insights/actionGroups@2023-01-01' = { + location: 'global' + name: resource_name + properties: { + armRoleReceivers: [] + automationRunbookReceivers: [] + azureAppPushReceivers: [] + azureFunctionReceivers: [] + emailReceivers: [] + enabled: true + eventHubReceivers: [] + groupShortName: 'acctestag' + itsmReceivers: [] + logicAppReceivers: [] + smsReceivers: [] + voiceReceivers: [] + webhookReceivers: [] + } +} + diff --git a/settings/remarks/microsoft.insights/autoscalesettings/main.bicep b/settings/remarks/microsoft.insights/autoscalesettings/main.bicep new file mode 100644 index 0000000..7618302 --- /dev/null +++ b/settings/remarks/microsoft.insights/autoscalesettings/main.bicep @@ -0,0 +1,180 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource autoScaleSetting 'Microsoft.Insights/autoScaleSettings@2022-10-01' = { + location: location + name: resource_name + properties: { + enabled: true + notifications: [] + profiles: [ + { + capacity: { + default: '1' + maximum: '10' + minimum: '1' + } + name: 'metricRules' + rules: [ + { + metricTrigger: { + dimensions: [] + dividePerInstance: true + metricName: 'Percentage CPU' + metricNamespace: '' + metricResourceUri: virtualMachineScaleSet.id + operator: 'GreaterThan' + statistic: 'Average' + threshold: 75 + timeAggregation: 'Last' + timeGrain: 'PT1M' + timeWindow: 'PT5M' + } + scaleAction: { + cooldown: 'PT1M' + direction: 'Increase' + type: 'ChangeCount' + value: '1' + } + } + ] + } + ] + targetResourceUri: virtualMachineScaleSet.id + } +} + +resource subnet 'Microsoft.Network/virtualNetworks/subnets@2022-07-01' = { + parent: virtualNetwork + name: 'internal' + properties: { + addressPrefix: '10.0.2.0/24' + delegations: [] + privateEndpointNetworkPolicies: 'Enabled' + privateLinkServiceNetworkPolicies: 'Enabled' + serviceEndpointPolicies: [] + serviceEndpoints: [] + } +} + +resource virtualMachineScaleSet 'Microsoft.Compute/virtualMachineScaleSets@2023-03-01' = { + location: location + name: resource_name + properties: { + additionalCapabilities: {} + doNotRunExtensionsOnOverprovisionedVMs: false + orchestrationMode: 'Uniform' + overprovision: true + scaleInPolicy: { + forceDeletion: false + rules: [ + 'Default' + ] + } + singlePlacementGroup: true + upgradePolicy: { + mode: 'Manual' + } + virtualMachineProfile: { + diagnosticsProfile: { + bootDiagnostics: { + enabled: false + storageUri: '' + } + } + extensionProfile: { + extensionsTimeBudget: 'PT1H30M' + } + networkProfile: { + networkInterfaceConfigurations: [ + { + name: 'TestNetworkProfile-230630033559396108' + properties: { + dnsSettings: { + dnsServers: [] + } + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: [ + { + name: 'TestIPConfiguration' + properties: { + applicationGatewayBackendAddressPools: [] + applicationSecurityGroups: [] + loadBalancerBackendAddressPools: [] + loadBalancerInboundNatPools: [] + primary: true + privateIPAddressVersion: 'IPv4' + subnet: { + id: subnet.id + } + } + } + ] + primary: true + } + } + ] + } + osProfile: { + adminPassword: 'Passwword1234' + adminUsername: 'myadmin' + computerNamePrefix: 'testvm-230630033559396108' + linuxConfiguration: { + disablePasswordAuthentication: false + provisionVMAgent: true + ssh: { + publicKeys: [ + { + keyData: 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDCsTcryUl51Q2VSEHqDRNmceUFo55ZtcIwxl2QITbN1RREti5ml/VTytC0yeBOvnZA4x4CFpdw/lCDPk0yrH9Ei5vVkXmOrExdTlT3qI7YaAzj1tUVlBd4S6LX1F7y6VLActvdHuDDuXZXzCDd/97420jrDfWZqJMlUK/EmCE5ParCeHIRIvmBxcEnGfFIsw8xQZl0HphxWOtJil8qsUWSdMyCiJYYQpMoMliO99X40AUc4/AlsyPyT5ddbKk08YrZ+rKDVHF7o29rh4vi5MmHkVgVQHKiKybWlHq+b71gIAUQk9wrJxD+dqt4igrmDSpIjfjwnd+l5UIn5fJSO5DYV4YT/4hwK7OKmuo7OFHD0WyY5YnkYEMtFgzemnRBdE8ulcT60DQpVgRMXFWHvhyCWy0L6sgj1QWDZlLpvsIvNfHsyhKFMG1frLnMt/nP0+YCcfg+v1JYeCKjeoJxB8DWcRBsjzItY0CGmzP8UYZiYKl/2u+2TgFS5r7NWH11bxoUzjKdaa1NLw+ieA8GlBFfCbfWe6YVB9ggUte4VtYFMZGxOjS2bAiYtfgTKFJv+XqORAwExG6+G2eDxIDyo80/OA9IG7Xv/jwQr7D6KDjDuULFcN/iTxuttoKrHeYz1hf5ZQlBdllwJHYx6fK2g8kha6r2JIQKocvsAXiiONqSfw== hello@world.com' + path: '/home/myadmin/.ssh/authorized_keys' + } + ] + } + } + secrets: [] + } + priority: 'Regular' + storageProfile: { + dataDisks: [] + imageReference: { + offer: 'UbuntuServer' + publisher: 'Canonical' + sku: '16.04-LTS' + version: 'latest' + } + osDisk: { + caching: 'ReadWrite' + createOption: 'FromImage' + managedDisk: { + storageAccountType: 'StandardSSD_LRS' + } + osType: 'Linux' + writeAcceleratorEnabled: false + } + } + } + } + sku: { + capacity: 2 + name: 'Standard_F2' + tier: 'Standard' + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.0.0.0/16' + ] + } + dhcpOptions: { + dnsServers: [] + } + subnets: [] + } +} + diff --git a/settings/remarks/microsoft.insights/components/analyticsitems/main.bicep b/settings/remarks/microsoft.insights/components/analyticsitems/main.bicep new file mode 100644 index 0000000..74770c5 --- /dev/null +++ b/settings/remarks/microsoft.insights/components/analyticsitems/main.bicep @@ -0,0 +1,19 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource component 'Microsoft.Insights/components@2020-02-02' = { + location: location + name: resource_name + kind: 'web' + properties: { + Application_Type: 'web' + DisableIpMasking: false + DisableLocalAuth: false + ForceCustomerStorageForProfiler: false + RetentionInDays: 90 + SamplingPercentage: 100 + publicNetworkAccessForIngestion: 'Enabled' + publicNetworkAccessForQuery: 'Enabled' + } +} + diff --git a/settings/remarks/microsoft.insights/components/main.bicep b/settings/remarks/microsoft.insights/components/main.bicep new file mode 100644 index 0000000..74770c5 --- /dev/null +++ b/settings/remarks/microsoft.insights/components/main.bicep @@ -0,0 +1,19 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource component 'Microsoft.Insights/components@2020-02-02' = { + location: location + name: resource_name + kind: 'web' + properties: { + Application_Type: 'web' + DisableIpMasking: false + DisableLocalAuth: false + ForceCustomerStorageForProfiler: false + RetentionInDays: 90 + SamplingPercentage: 100 + publicNetworkAccessForIngestion: 'Enabled' + publicNetworkAccessForQuery: 'Enabled' + } +} + diff --git a/settings/remarks/microsoft.insights/components/proactivedetectionconfigs/main.bicep b/settings/remarks/microsoft.insights/components/proactivedetectionconfigs/main.bicep new file mode 100644 index 0000000..74770c5 --- /dev/null +++ b/settings/remarks/microsoft.insights/components/proactivedetectionconfigs/main.bicep @@ -0,0 +1,19 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource component 'Microsoft.Insights/components@2020-02-02' = { + location: location + name: resource_name + kind: 'web' + properties: { + Application_Type: 'web' + DisableIpMasking: false + DisableLocalAuth: false + ForceCustomerStorageForProfiler: false + RetentionInDays: 90 + SamplingPercentage: 100 + publicNetworkAccessForIngestion: 'Enabled' + publicNetworkAccessForQuery: 'Enabled' + } +} + diff --git a/settings/remarks/microsoft.insights/datacollectionendpoints/main.bicep b/settings/remarks/microsoft.insights/datacollectionendpoints/main.bicep new file mode 100644 index 0000000..ceefe28 --- /dev/null +++ b/settings/remarks/microsoft.insights/datacollectionendpoints/main.bicep @@ -0,0 +1,14 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource dataCollectionEndpoint 'Microsoft.Insights/dataCollectionEndpoints@2022-06-01' = { + location: location + name: resource_name + properties: { + description: '' + networkAcls: { + publicNetworkAccess: 'Enabled' + } + } +} + diff --git a/settings/remarks/microsoft.insights/datacollectionrules/main.bicep b/settings/remarks/microsoft.insights/datacollectionrules/main.bicep new file mode 100644 index 0000000..cd2f70b --- /dev/null +++ b/settings/remarks/microsoft.insights/datacollectionrules/main.bicep @@ -0,0 +1,26 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource dataCollectionRule 'Microsoft.Insights/dataCollectionRules@2022-06-01' = { + location: location + name: resource_name + properties: { + dataFlows: [ + { + destinations: [ + 'test-destination-metrics' + ] + streams: [ + 'Microsoft-InsightsMetrics' + ] + } + ] + description: '' + destinations: { + azureMonitorMetrics: { + name: 'test-destination-metrics' + } + } + } +} + diff --git a/settings/remarks/microsoft.insights/metricalerts/main.bicep b/settings/remarks/microsoft.insights/metricalerts/main.bicep new file mode 100644 index 0000000..5e30cd3 --- /dev/null +++ b/settings/remarks/microsoft.insights/metricalerts/main.bicep @@ -0,0 +1,80 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource metricAlert 'Microsoft.Insights/metricAlerts@2018-03-01' = { + location: 'global' + name: resource_name + properties: { + actions: [] + autoMitigate: true + criteria: { + allOf: [ + { + criterionType: 'StaticThresholdCriterion' + dimensions: [] + metricName: 'UsedCapacity' + metricNamespace: 'Microsoft.Storage/storageAccounts' + name: 'Metric1' + operator: 'GreaterThan' + skipMetricValidation: false + threshold: json('55.5') + timeAggregation: 'Average' + } + ] + 'odata.type': 'Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria' + } + description: '' + enabled: true + evaluationFrequency: 'PT1M' + scopes: [ + storageAccount.id + ] + severity: 3 + targetResourceRegion: '' + targetResourceType: '' + windowSize: 'PT1H' + } + tags: { + CUSTOMER: 'CUSTOMERx' + Example: 'Example123' + terraform: 'Coolllll' + test: '123' + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: { + accessTier: 'Hot' + allowBlobPublicAccess: true + allowCrossTenantReplication: true + allowSharedKeyAccess: true + defaultToOAuthAuthentication: false + encryption: { + keySource: 'Microsoft.Storage' + services: { + queue: { + keyType: 'Service' + } + table: { + keyType: 'Service' + } + } + } + isHnsEnabled: false + isNfsV3Enabled: false + isSftpEnabled: false + minimumTlsVersion: 'TLS1_2' + networkAcls: { + defaultAction: 'Allow' + } + publicNetworkAccess: 'Enabled' + supportsHttpsTrafficOnly: true + } + sku: { + name: 'Standard_LRS' + } +} + diff --git a/settings/remarks/microsoft.insights/privatelinkscopes/main.bicep b/settings/remarks/microsoft.insights/privatelinkscopes/main.bicep new file mode 100644 index 0000000..ac98ad7 --- /dev/null +++ b/settings/remarks/microsoft.insights/privatelinkscopes/main.bicep @@ -0,0 +1,9 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource privateLinkScope 'Microsoft.Insights/privateLinkScopes@2019-10-17-preview' = { + location: 'Global' + name: resource_name + properties: {} +} + diff --git a/settings/remarks/microsoft.insights/privatelinkscopes/scopedresources/main.bicep b/settings/remarks/microsoft.insights/privatelinkscopes/scopedresources/main.bicep new file mode 100644 index 0000000..1873368 --- /dev/null +++ b/settings/remarks/microsoft.insights/privatelinkscopes/scopedresources/main.bicep @@ -0,0 +1,33 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource component 'Microsoft.Insights/components@2020-02-02' = { + location: location + name: resource_name + kind: 'web' + properties: { + Application_Type: 'web' + DisableIpMasking: false + DisableLocalAuth: false + ForceCustomerStorageForProfiler: false + RetentionInDays: 90 + SamplingPercentage: 100 + publicNetworkAccessForIngestion: 'Enabled' + publicNetworkAccessForQuery: 'Enabled' + } +} + +resource privateLinkScope 'Microsoft.Insights/privateLinkScopes@2019-10-17-preview' = { + location: 'Global' + name: resource_name + properties: {} +} + +resource scopedResource 'Microsoft.Insights/privateLinkScopes/scopedResources@2019-10-17-preview' = { + parent: privateLinkScope + name: resource_name + properties: { + linkedResourceId: component.id + } +} + diff --git a/settings/remarks/microsoft.insights/remarks.json b/settings/remarks/microsoft.insights/remarks.json index f76bc5d..03e48c7 100644 --- a/settings/remarks/microsoft.insights/remarks.json +++ b/settings/remarks/microsoft.insights/remarks.json @@ -13,5 +13,77 @@ ], "Description": "For guidance on deploying monitoring solutions, see [Create monitoring resources by using Bicep](/azure/azure-resource-manager/bicep/scenarios-monitoring)." } + ], + "BicepSamples": [ + { + "ResourceType": "Microsoft.Insights/actionGroups", + "Path": "actiongroups/main.bicep", + "Description": "Basic sample for Microsoft.Insights/actionGroups@2023-01-01." + }, + { + "ResourceType": "Microsoft.Insights/autoScaleSettings", + "Path": "autoscalesettings/main.bicep", + "Description": "Basic sample for Microsoft.Insights/autoScaleSettings@2022-10-01." + }, + { + "ResourceType": "Microsoft.Insights/components", + "Path": "components/main.bicep", + "Description": "Basic sample for Microsoft.Insights/components@2020-02-02." + }, + { + "ResourceType": "Microsoft.Insights/components", + "Path": "components/proactivedetectionconfigs/main.bicep", + "Description": "Basic sample for Microsoft.Insights/components/ProactiveDetectionConfigs@2015-05-01." + }, + { + "ResourceType": "Microsoft.Insights/dataCollectionEndpoints", + "Path": "datacollectionendpoints/main.bicep", + "Description": "Basic sample for Microsoft.Insights/dataCollectionEndpoints@2022-06-01." + }, + { + "ResourceType": "Microsoft.Insights/dataCollectionRules", + "Path": "datacollectionrules/main.bicep", + "Description": "Basic sample for Microsoft.Insights/dataCollectionRules@2022-06-01." + }, + { + "ResourceType": "Microsoft.Insights/metricAlerts", + "Path": "metricalerts/main.bicep", + "Description": "Basic sample for Microsoft.Insights/metricAlerts@2018-03-01." + }, + { + "ResourceType": "Microsoft.Insights/privateLinkScopes", + "Path": "privatelinkscopes/main.bicep", + "Description": "Basic sample for Microsoft.Insights/privateLinkScopes@2019-10-17-preview." + }, + { + "ResourceType": "Microsoft.Insights/privateLinkScopes", + "Path": "privatelinkscopes/scopedresources/main.bicep", + "Description": "Basic sample for Microsoft.Insights/privateLinkScopes/scopedResources@2019-10-17-preview." + }, + { + "ResourceType": "Microsoft.Insights/scheduledQueryRules", + "Path": "scheduledqueryrules/main.bicep", + "Description": "Basic sample for Microsoft.Insights/scheduledQueryRules@2018-04-16." + }, + { + "ResourceType": "Microsoft.Insights/scheduledQueryRules", + "Path": "scheduledqueryrules/main.bicep", + "Description": "Basic sample for Microsoft.Insights/scheduledQueryRules@2021-08-01." + }, + { + "ResourceType": "Microsoft.Insights/workbookTemplates", + "Path": "workbooktemplates/main.bicep", + "Description": "Basic sample for Microsoft.Insights/workbookTemplates@2020-11-20." + }, + { + "ResourceType": "Microsoft.Insights/workbooks", + "Path": "workbooks/main.bicep", + "Description": "Basic sample for Microsoft.Insights/workbooks@2022-04-01." + }, + { + "ResourceType": "microsoft.insights/components", + "Path": "components/analyticsitems/main.bicep", + "Description": "Basic sample for microsoft.insights/components/analyticsItems@2015-05-01." + } ] } \ No newline at end of file diff --git a/settings/remarks/microsoft.insights/scheduledqueryrules/main.bicep b/settings/remarks/microsoft.insights/scheduledqueryrules/main.bicep new file mode 100644 index 0000000..0a87d2d --- /dev/null +++ b/settings/remarks/microsoft.insights/scheduledqueryrules/main.bicep @@ -0,0 +1,49 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource component 'Microsoft.Insights/components@2020-02-02' = { + location: location + name: resource_name + kind: 'web' + properties: { + Application_Type: 'web' + DisableIpMasking: false + DisableLocalAuth: false + ForceCustomerStorageForProfiler: false + RetentionInDays: 90 + SamplingPercentage: 100 + publicNetworkAccessForIngestion: 'Enabled' + publicNetworkAccessForQuery: 'Enabled' + } +} + +resource scheduledQueryRule 'Microsoft.Insights/scheduledQueryRules@2021-08-01' = { + location: location + name: resource_name + kind: 'LogAlert' + properties: { + autoMitigate: false + checkWorkspaceAlertsStorageConfigured: false + criteria: { + allOf: [ + { + dimensions: null + operator: 'Equal' + query: ' requests\n| summarize CountByCountry=count() by client_CountryOrRegion\n' + threshold: 5 + timeAggregation: 'Count' + } + ] + } + enabled: true + evaluationFrequency: 'PT5M' + scopes: [ + component.id + ] + severity: 3 + skipQueryValidation: false + targetResourceTypes: null + windowSize: 'PT5M' + } +} + diff --git a/settings/remarks/microsoft.insights/workbooks/main.bicep b/settings/remarks/microsoft.insights/workbooks/main.bicep new file mode 100644 index 0000000..2f48d7a --- /dev/null +++ b/settings/remarks/microsoft.insights/workbooks/main.bicep @@ -0,0 +1,15 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource workbook 'Microsoft.Insights/workbooks@2022-04-01' = { + location: location + name: 'be1ad266-d329-4454-b693-8287e4d3b35d' + kind: 'shared' + properties: { + category: 'workbook' + displayName: 'acctest-amw-230630032616547405' + serializedData: '{"fallbackResourceIds":["Azure Monitor"],"isLocked":false,"items":[{"content":{"json":"Test2022"},"name":"text - 0","type":1}],"version":"Notebook/1.0"}' + sourceId: 'azure monitor' + } +} + diff --git a/settings/remarks/microsoft.insights/workbooktemplates/main.bicep b/settings/remarks/microsoft.insights/workbooktemplates/main.bicep new file mode 100644 index 0000000..408f014 --- /dev/null +++ b/settings/remarks/microsoft.insights/workbooktemplates/main.bicep @@ -0,0 +1,34 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource workbookTemplate 'Microsoft.Insights/workbookTemplates@2020-11-20' = { + location: location + name: resource_name + properties: { + galleries: [ + { + category: 'workbook' + name: 'test' + order: 0 + resourceType: 'Azure Monitor' + type: 'workbook' + } + ] + priority: 0 + templateData: { + '$schema': 'https://github.com/Microsoft/Application-Insights-Workbooks/blob/master/schema/workbook.json' + items: [ + { + content: { + json: '## New workbook\n---\n\nWelcome to your new workbook.' + } + name: 'text - 2' + type: 1 + } + ] + styleSettings: {} + version: 'Notebook/1.0' + } + } +} + diff --git a/settings/remarks/microsoft.iotcentral/iotapps/main.bicep b/settings/remarks/microsoft.iotcentral/iotapps/main.bicep new file mode 100644 index 0000000..cfce394 --- /dev/null +++ b/settings/remarks/microsoft.iotcentral/iotapps/main.bicep @@ -0,0 +1,17 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource iotApp 'Microsoft.IoTCentral/iotApps@2021-11-01-preview' = { + location: location + name: resource_name + properties: { + displayName: resource_name + publicNetworkAccess: 'Enabled' + subdomain: 'subdomain-2306300333537' + template: 'iotc-pnp-preview@1.0.0' + } + sku: { + name: 'ST1' + } +} + diff --git a/settings/remarks/microsoft.iotcentral/remarks.json b/settings/remarks/microsoft.iotcentral/remarks.json new file mode 100644 index 0000000..2b900b3 --- /dev/null +++ b/settings/remarks/microsoft.iotcentral/remarks.json @@ -0,0 +1,10 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.IoTCentral/iotApps", + "Path": "iotapps/main.bicep", + "Description": "Basic sample for Microsoft.IoTCentral/iotApps@2021-11-01-preview." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.kusto/clusters/databases/main.bicep b/settings/remarks/microsoft.kusto/clusters/databases/main.bicep new file mode 100644 index 0000000..5d788ab --- /dev/null +++ b/settings/remarks/microsoft.kusto/clusters/databases/main.bicep @@ -0,0 +1,33 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource cluster 'Microsoft.Kusto/clusters@2023-05-02' = { + location: location + name: resource_name + properties: { + enableAutoStop: true + enableDiskEncryption: false + enableDoubleEncryption: false + enablePurge: false + enableStreamingIngest: false + engineType: 'V2' + publicIPType: 'IPv4' + publicNetworkAccess: 'Enabled' + restrictOutboundNetworkAccess: 'Disabled' + trustedExternalTenants: [] + } + sku: { + capacity: 1 + name: 'Dev(No SLA)_Standard_D11_v2' + tier: 'Basic' + } +} + +resource database 'Microsoft.Kusto/clusters/databases@2023-05-02' = { + parent: cluster + location: location + name: resource_name + kind: 'ReadWrite' + properties: {} +} + diff --git a/settings/remarks/microsoft.kusto/clusters/databases/scripts/main.bicep b/settings/remarks/microsoft.kusto/clusters/databases/scripts/main.bicep new file mode 100644 index 0000000..73a584e --- /dev/null +++ b/settings/remarks/microsoft.kusto/clusters/databases/scripts/main.bicep @@ -0,0 +1,49 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource cluster 'Microsoft.Kusto/clusters@2023-05-02' = { + identity: [ + { + identity_ids: [] + type: 'SystemAssigned' + } + ] + location: location + name: resource_name + properties: { + enableAutoStop: true + enableDiskEncryption: false + enableDoubleEncryption: false + enablePurge: false + enableStreamingIngest: false + engineType: 'V2' + publicIPType: 'IPv4' + publicNetworkAccess: 'Enabled' + restrictOutboundNetworkAccess: 'Disabled' + trustedExternalTenants: [] + } + sku: { + capacity: 1 + name: 'Dev(No SLA)_Standard_D11_v2' + tier: 'Basic' + } +} + +resource database 'Microsoft.Kusto/clusters/databases@2023-05-02' = { + parent: cluster + location: location + name: resource_name + kind: 'ReadWrite' + properties: {} +} + +resource script 'Microsoft.Kusto/clusters/databases/scripts@2023-05-02' = { + parent: database + name: 'create-table-script' + properties: { + continueOnErrors: false + forceUpdateTag: '9e2e7874-aa37-7041-81b7-06397f03a37d' + scriptContent: '.create table TestTable(Id:string, Name:string, _ts:long, _timestamp:datetime)\n.create table TestTable ingestion json mapping "TestMapping"\n\'[\'\n\' {"column":"Id","path":"$.id"},\'\n\' {"column":"Name","path":"$.name"},\'\n\' {"column":"_ts","path":"$._ts"},\'\n\' {"column":"_timestamp","path":"$._ts", "transform":"DateTimeFromUnixSeconds"}\'\n\']\'\n.alter table TestTable policy ingestionbatching "{\'MaximumBatchingTimeSpan\': \'0:0:10\', \'MaximumNumberOfItems\': 10000}"\n' + } +} + diff --git a/settings/remarks/microsoft.kusto/clusters/main.bicep b/settings/remarks/microsoft.kusto/clusters/main.bicep new file mode 100644 index 0000000..765c33f --- /dev/null +++ b/settings/remarks/microsoft.kusto/clusters/main.bicep @@ -0,0 +1,25 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource cluster 'Microsoft.Kusto/clusters@2023-05-02' = { + location: location + name: resource_name + properties: { + enableAutoStop: true + enableDiskEncryption: false + enableDoubleEncryption: false + enablePurge: false + enableStreamingIngest: false + engineType: 'V2' + publicIPType: 'IPv4' + publicNetworkAccess: 'Enabled' + restrictOutboundNetworkAccess: 'Disabled' + trustedExternalTenants: [] + } + sku: { + capacity: 1 + name: 'Dev(No SLA)_Standard_D11_v2' + tier: 'Basic' + } +} + diff --git a/settings/remarks/microsoft.kusto/clusters/managedprivateendpoints/main.bicep b/settings/remarks/microsoft.kusto/clusters/managedprivateendpoints/main.bicep new file mode 100644 index 0000000..bc20c20 --- /dev/null +++ b/settings/remarks/microsoft.kusto/clusters/managedprivateendpoints/main.bicep @@ -0,0 +1,70 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource cluster 'Microsoft.Kusto/clusters@2023-05-02' = { + location: location + name: resource_name + properties: { + enableAutoStop: true + enableDiskEncryption: false + enableDoubleEncryption: false + enablePurge: false + enableStreamingIngest: false + engineType: 'V2' + publicIPType: 'IPv4' + publicNetworkAccess: 'Enabled' + restrictOutboundNetworkAccess: 'Disabled' + trustedExternalTenants: [] + } + sku: { + capacity: 1 + name: 'Dev(No SLA)_Standard_D11_v2' + tier: 'Basic' + } +} + +resource managedPrivateEndpoint 'Microsoft.Kusto/clusters/managedPrivateEndpoints@2023-05-02' = { + parent: cluster + name: resource_name + properties: { + groupId: 'blob' + privateLinkResourceId: storageAccount.id + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: { + accessTier: 'Hot' + allowBlobPublicAccess: true + allowCrossTenantReplication: true + allowSharedKeyAccess: true + defaultToOAuthAuthentication: false + encryption: { + keySource: 'Microsoft.Storage' + services: { + queue: { + keyType: 'Service' + } + table: { + keyType: 'Service' + } + } + } + isHnsEnabled: false + isNfsV3Enabled: false + isSftpEnabled: false + minimumTlsVersion: 'TLS1_2' + networkAcls: { + defaultAction: 'Allow' + } + publicNetworkAccess: 'Enabled' + supportsHttpsTrafficOnly: true + } + sku: { + name: 'Standard_LRS' + } +} + diff --git a/settings/remarks/microsoft.kusto/remarks.json b/settings/remarks/microsoft.kusto/remarks.json new file mode 100644 index 0000000..3905933 --- /dev/null +++ b/settings/remarks/microsoft.kusto/remarks.json @@ -0,0 +1,40 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.Kusto/clusters", + "Path": "clusters/main.bicep", + "Description": "Basic sample for Microsoft.Kusto/clusters@2022-12-29." + }, + { + "ResourceType": "Microsoft.Kusto/clusters", + "Path": "clusters/main.bicep", + "Description": "Basic sample for Microsoft.Kusto/clusters@2023-05-02." + }, + { + "ResourceType": "Microsoft.Kusto/clusters", + "Path": "clusters/databases/main.bicep", + "Description": "Basic sample for Microsoft.Kusto/clusters/databases@2022-12-29." + }, + { + "ResourceType": "Microsoft.Kusto/clusters", + "Path": "clusters/databases/main.bicep", + "Description": "Basic sample for Microsoft.Kusto/clusters/databases@2023-05-02." + }, + { + "ResourceType": "Microsoft.Kusto/clusters", + "Path": "clusters/databases/scripts/main.bicep", + "Description": "Basic sample for Microsoft.Kusto/clusters/databases/scripts@2022-12-29." + }, + { + "ResourceType": "Microsoft.Kusto/clusters", + "Path": "clusters/databases/scripts/main.bicep", + "Description": "Basic sample for Microsoft.Kusto/clusters/databases/scripts@2023-05-02." + }, + { + "ResourceType": "Microsoft.Kusto/clusters", + "Path": "clusters/managedprivateendpoints/main.bicep", + "Description": "Basic sample for Microsoft.Kusto/clusters/managedPrivateEndpoints@2023-05-02." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.labservices/labplans/main.bicep b/settings/remarks/microsoft.labservices/labplans/main.bicep new file mode 100644 index 0000000..154ff7a --- /dev/null +++ b/settings/remarks/microsoft.labservices/labplans/main.bicep @@ -0,0 +1,13 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource labPlan 'Microsoft.LabServices/labPlans@2022-08-01' = { + location: location + name: resource_name + properties: { + allowedRegions: [ + location + ] + } +} + diff --git a/settings/remarks/microsoft.labservices/labs/main.bicep b/settings/remarks/microsoft.labservices/labs/main.bicep new file mode 100644 index 0000000..91f6350 --- /dev/null +++ b/settings/remarks/microsoft.labservices/labs/main.bicep @@ -0,0 +1,47 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource lab 'Microsoft.LabServices/labs@2022-08-01' = { + location: location + name: resource_name + properties: { + autoShutdownProfile: { + shutdownOnDisconnect: 'Disabled' + shutdownOnIdle: 'None' + shutdownWhenNotConnected: 'Disabled' + } + connectionProfile: { + clientRdpAccess: 'None' + clientSshAccess: 'None' + webRdpAccess: 'None' + webSshAccess: 'None' + } + securityProfile: { + openAccess: 'Disabled' + } + title: 'Test Title' + virtualMachineProfile: { + additionalCapabilities: { + installGpuDrivers: 'Disabled' + } + adminUser: { + password: 'Password1234!' + username: 'testadmin' + } + createOption: 'Image' + imageReference: { + offer: '0001-com-ubuntu-server-focal' + publisher: 'canonical' + sku: '20_04-lts' + version: 'latest' + } + sku: { + capacity: 1 + name: 'Classic_Fsv2_2_4GB_128_S_SSD' + } + usageQuota: 'PT0S' + useSharedPassword: 'Disabled' + } + } +} + diff --git a/settings/remarks/microsoft.labservices/labs/schedules/main.bicep b/settings/remarks/microsoft.labservices/labs/schedules/main.bicep new file mode 100644 index 0000000..a1c5d59 --- /dev/null +++ b/settings/remarks/microsoft.labservices/labs/schedules/main.bicep @@ -0,0 +1,56 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource lab 'Microsoft.LabServices/labs@2022-08-01' = { + location: location + name: resource_name + properties: { + autoShutdownProfile: { + shutdownOnDisconnect: 'Disabled' + shutdownOnIdle: 'None' + shutdownWhenNotConnected: 'Disabled' + } + connectionProfile: { + clientRdpAccess: 'None' + clientSshAccess: 'None' + webRdpAccess: 'None' + webSshAccess: 'None' + } + securityProfile: { + openAccess: 'Disabled' + } + title: 'Test Title' + virtualMachineProfile: { + additionalCapabilities: { + installGpuDrivers: 'Disabled' + } + adminUser: { + password: 'Password1234!' + username: 'testadmin' + } + createOption: 'Image' + imageReference: { + offer: '0001-com-ubuntu-server-focal' + publisher: 'canonical' + sku: '20_04-lts' + version: 'latest' + } + sku: { + capacity: 1 + name: 'Classic_Fsv2_2_4GB_128_S_SSD' + } + usageQuota: 'PT0S' + useSharedPassword: 'Disabled' + } + } +} + +resource schedule 'Microsoft.LabServices/labs/schedules@2022-08-01' = { + parent: lab + name: resource_name + properties: { + stopAt: '2023-06-30T04:33:55Z' + timeZoneId: 'America/Los_Angeles' + } +} + diff --git a/settings/remarks/microsoft.labservices/labs/users/main.bicep b/settings/remarks/microsoft.labservices/labs/users/main.bicep new file mode 100644 index 0000000..ac00f0a --- /dev/null +++ b/settings/remarks/microsoft.labservices/labs/users/main.bicep @@ -0,0 +1,56 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource lab 'Microsoft.LabServices/labs@2022-08-01' = { + location: location + name: resource_name + properties: { + autoShutdownProfile: { + shutdownOnDisconnect: 'Disabled' + shutdownOnIdle: 'None' + shutdownWhenNotConnected: 'Disabled' + } + connectionProfile: { + clientRdpAccess: 'None' + clientSshAccess: 'None' + webRdpAccess: 'None' + webSshAccess: 'None' + } + securityProfile: { + openAccess: 'Disabled' + } + title: 'Test Title' + virtualMachineProfile: { + additionalCapabilities: { + installGpuDrivers: 'Disabled' + } + adminUser: { + password: 'Password1234!' + username: 'testadmin' + } + createOption: 'Image' + imageReference: { + offer: '0001-com-ubuntu-server-focal' + publisher: 'canonical' + sku: '20_04-lts' + version: 'latest' + } + sku: { + capacity: 1 + name: 'Classic_Fsv2_2_4GB_128_S_SSD' + } + usageQuota: 'PT0S' + useSharedPassword: 'Disabled' + } + } +} + +resource user 'Microsoft.LabServices/labs/users@2022-08-01' = { + parent: lab + name: resource_name + properties: { + additionalUsageQuota: 'PT0S' + email: 'terraform-acctest@hashicorp.com' + } +} + diff --git a/settings/remarks/microsoft.labservices/remarks.json b/settings/remarks/microsoft.labservices/remarks.json new file mode 100644 index 0000000..6ff7799 --- /dev/null +++ b/settings/remarks/microsoft.labservices/remarks.json @@ -0,0 +1,25 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.LabServices/labPlans", + "Path": "labplans/main.bicep", + "Description": "Basic sample for Microsoft.LabServices/labPlans@2022-08-01." + }, + { + "ResourceType": "Microsoft.LabServices/labs", + "Path": "labs/main.bicep", + "Description": "Basic sample for Microsoft.LabServices/labs@2022-08-01." + }, + { + "ResourceType": "Microsoft.LabServices/labs", + "Path": "labs/schedules/main.bicep", + "Description": "Basic sample for Microsoft.LabServices/labs/schedules@2022-08-01." + }, + { + "ResourceType": "Microsoft.LabServices/labs", + "Path": "labs/users/main.bicep", + "Description": "Basic sample for Microsoft.LabServices/labs/users@2022-08-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.loadtestservice/loadtests/main.bicep b/settings/remarks/microsoft.loadtestservice/loadtests/main.bicep new file mode 100644 index 0000000..a529e95 --- /dev/null +++ b/settings/remarks/microsoft.loadtestservice/loadtests/main.bicep @@ -0,0 +1,20 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource loadTest 'Microsoft.LoadTestService/loadTests@2022-12-01' = { + identity: [ + { + identity_ids: [] + type: 'SystemAssigned' + } + ] + location: location + name: resource_name + tags: { + Team: 'Dev Exp' + } + properties: { + description: 'This is new load test' + } +} + diff --git a/settings/remarks/microsoft.loadtestservice/remarks.json b/settings/remarks/microsoft.loadtestservice/remarks.json new file mode 100644 index 0000000..6f3f241 --- /dev/null +++ b/settings/remarks/microsoft.loadtestservice/remarks.json @@ -0,0 +1,10 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.LoadTestService/loadTests", + "Path": "loadtests/main.bicep", + "Description": "Basic sample for Microsoft.LoadTestService/loadTests@2022-12-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.logic/integrationaccounts/agreements/main.bicep b/settings/remarks/microsoft.logic/integrationaccounts/agreements/main.bicep new file mode 100644 index 0000000..22596e6 --- /dev/null +++ b/settings/remarks/microsoft.logic/integrationaccounts/agreements/main.bicep @@ -0,0 +1,200 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource agreement 'Microsoft.Logic/integrationAccounts/agreements@2019-05-01' = { + parent: integrationAccount + name: resource_name + properties: { + agreementType: 'AS2' + content: { + aS2: { + receiveAgreement: { + protocolSettings: { + acknowledgementConnectionSettings: { + ignoreCertificateNameMismatch: false + keepHttpConnectionAlive: false + supportHttpStatusCodeContinue: false + unfoldHttpHeaders: false + } + envelopeSettings: { + autogenerateFileName: false + fileNameTemplate: '%FILE().ReceivedFileName%' + messageContentType: 'text/plain' + suspendMessageOnFileNameGenerationError: true + transmitFileNameInMimeHeader: false + } + errorSettings: { + resendIfMDNNotReceived: false + suspendDuplicateMessage: false + } + mdnSettings: { + dispositionNotificationTo: 'http://localhost' + micHashingAlgorithm: 'SHA1' + needMDN: false + sendInboundMDNToMessageBox: true + sendMDNAsynchronously: false + signMDN: false + signOutboundMDNIfOptional: false + } + messageConnectionSettings: { + ignoreCertificateNameMismatch: false + keepHttpConnectionAlive: true + supportHttpStatusCodeContinue: true + unfoldHttpHeaders: true + } + securitySettings: { + enableNRRForInboundDecodedMessages: false + enableNRRForInboundEncodedMessages: false + enableNRRForInboundMDN: false + enableNRRForOutboundDecodedMessages: false + enableNRRForOutboundEncodedMessages: false + enableNRRForOutboundMDN: false + overrideGroupSigningCertificate: false + } + validationSettings: { + checkCertificateRevocationListOnReceive: false + checkCertificateRevocationListOnSend: false + checkDuplicateMessage: false + compressMessage: false + encryptMessage: false + encryptionAlgorithm: 'DES3' + interchangeDuplicatesValidityDays: 5 + overrideMessageProperties: false + signMessage: false + signingAlgorithm: 'Default' + } + } + receiverBusinessIdentity: { + qualifier: 'AS2Identity' + value: 'FabrikamNY' + } + senderBusinessIdentity: { + qualifier: 'AS2Identity' + value: 'FabrikamDC' + } + } + sendAgreement: { + protocolSettings: { + acknowledgementConnectionSettings: { + ignoreCertificateNameMismatch: false + keepHttpConnectionAlive: false + supportHttpStatusCodeContinue: false + unfoldHttpHeaders: false + } + envelopeSettings: { + autogenerateFileName: false + fileNameTemplate: '%FILE().ReceivedFileName%' + messageContentType: 'text/plain' + suspendMessageOnFileNameGenerationError: true + transmitFileNameInMimeHeader: false + } + errorSettings: { + resendIfMDNNotReceived: false + suspendDuplicateMessage: false + } + mdnSettings: { + dispositionNotificationTo: 'http://localhost' + micHashingAlgorithm: 'SHA1' + needMDN: false + sendInboundMDNToMessageBox: true + sendMDNAsynchronously: false + signMDN: false + signOutboundMDNIfOptional: false + } + messageConnectionSettings: { + ignoreCertificateNameMismatch: false + keepHttpConnectionAlive: true + supportHttpStatusCodeContinue: true + unfoldHttpHeaders: true + } + securitySettings: { + enableNRRForInboundDecodedMessages: false + enableNRRForInboundEncodedMessages: false + enableNRRForInboundMDN: false + enableNRRForOutboundDecodedMessages: false + enableNRRForOutboundEncodedMessages: false + enableNRRForOutboundMDN: false + overrideGroupSigningCertificate: false + } + validationSettings: { + checkCertificateRevocationListOnReceive: false + checkCertificateRevocationListOnSend: false + checkDuplicateMessage: false + compressMessage: false + encryptMessage: false + encryptionAlgorithm: 'DES3' + interchangeDuplicatesValidityDays: 5 + overrideMessageProperties: false + signMessage: false + signingAlgorithm: 'Default' + } + } + receiverBusinessIdentity: { + qualifier: 'AS2Identity' + value: 'FabrikamDC' + } + senderBusinessIdentity: { + qualifier: 'AS2Identity' + value: 'FabrikamNY' + } + } + } + } + guestIdentity: { + qualifier: 'AS2Identity' + value: 'FabrikamDC' + } + guestPartner: partner2.name + hostIdentity: { + qualifier: 'AS2Identity' + value: 'FabrikamNY' + } + hostPartner: partner.name + } +} + +resource integrationAccount 'Microsoft.Logic/integrationAccounts@2019-05-01' = { + location: location + name: resource_name + properties: {} + sku: { + name: 'Standard' + } +} + +resource partner 'Microsoft.Logic/integrationAccounts/partners@2019-05-01' = { + parent: integrationAccount + name: resource_name + properties: { + content: { + b2b: { + businessIdentities: [ + { + qualifier: 'AS2Identity' + value: 'FabrikamNY' + } + ] + } + } + partnerType: 'B2B' + } +} + +resource partner2 'Microsoft.Logic/integrationAccounts/partners@2019-05-01' = { + parent: integrationAccount + name: '${resource_name}another' + properties: { + content: { + b2b: { + businessIdentities: [ + { + qualifier: 'AS2Identity' + value: 'FabrikamNY' + } + ] + } + } + partnerType: 'B2B' + } +} + diff --git a/settings/remarks/microsoft.logic/integrationaccounts/batchconfigurations/main.bicep b/settings/remarks/microsoft.logic/integrationaccounts/batchconfigurations/main.bicep new file mode 100644 index 0000000..f033900 --- /dev/null +++ b/settings/remarks/microsoft.logic/integrationaccounts/batchconfigurations/main.bicep @@ -0,0 +1,23 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource batchConfiguration 'Microsoft.Logic/integrationAccounts/batchConfigurations@2019-05-01' = { + parent: integrationAccount + name: resource_name + properties: { + batchGroupName: 'TestBatchGroup' + releaseCriteria: { + messageCount: 80 + } + } +} + +resource integrationAccount 'Microsoft.Logic/integrationAccounts@2019-05-01' = { + location: location + name: resource_name + properties: {} + sku: { + name: 'Standard' + } +} + diff --git a/settings/remarks/microsoft.logic/integrationaccounts/main.bicep b/settings/remarks/microsoft.logic/integrationaccounts/main.bicep new file mode 100644 index 0000000..9ac663e --- /dev/null +++ b/settings/remarks/microsoft.logic/integrationaccounts/main.bicep @@ -0,0 +1,12 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource integrationAccount 'Microsoft.Logic/integrationAccounts@2019-05-01' = { + location: location + name: resource_name + properties: {} + sku: { + name: 'Basic' + } +} + diff --git a/settings/remarks/microsoft.logic/integrationaccounts/maps/main.bicep b/settings/remarks/microsoft.logic/integrationaccounts/maps/main.bicep new file mode 100644 index 0000000..e89b17d --- /dev/null +++ b/settings/remarks/microsoft.logic/integrationaccounts/maps/main.bicep @@ -0,0 +1,22 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource integrationAccount 'Microsoft.Logic/integrationAccounts@2019-05-01' = { + location: location + name: resource_name + properties: {} + sku: { + name: 'Basic' + } +} + +resource map 'Microsoft.Logic/integrationAccounts/maps@2019-05-01' = { + parent: integrationAccount + name: resource_name + properties: { + content: '\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n' + contentType: 'application/xml' + mapType: 'Xslt' + } +} + diff --git a/settings/remarks/microsoft.logic/integrationaccounts/partners/main.bicep b/settings/remarks/microsoft.logic/integrationaccounts/partners/main.bicep new file mode 100644 index 0000000..8ee2f99 --- /dev/null +++ b/settings/remarks/microsoft.logic/integrationaccounts/partners/main.bicep @@ -0,0 +1,30 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource integrationAccount 'Microsoft.Logic/integrationAccounts@2019-05-01' = { + location: location + name: resource_name + properties: {} + sku: { + name: 'Standard' + } +} + +resource partner 'Microsoft.Logic/integrationAccounts/partners@2019-05-01' = { + parent: integrationAccount + name: resource_name + properties: { + content: { + b2b: { + businessIdentities: [ + { + qualifier: 'AS2Identity' + value: 'FabrikamNY' + } + ] + } + } + partnerType: 'B2B' + } +} + diff --git a/settings/remarks/microsoft.logic/integrationaccounts/schemas/main.bicep b/settings/remarks/microsoft.logic/integrationaccounts/schemas/main.bicep new file mode 100644 index 0000000..ca5da06 --- /dev/null +++ b/settings/remarks/microsoft.logic/integrationaccounts/schemas/main.bicep @@ -0,0 +1,22 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource integrationAccount 'Microsoft.Logic/integrationAccounts@2019-05-01' = { + location: location + name: resource_name + properties: {} + sku: { + name: 'Basic' + } +} + +resource schema 'Microsoft.Logic/integrationAccounts/schemas@2019-05-01' = { + parent: integrationAccount + name: resource_name + properties: { + content: '\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n' + contentType: 'application/xml' + schemaType: 'Xml' + } +} + diff --git a/settings/remarks/microsoft.logic/integrationaccounts/sessions/main.bicep b/settings/remarks/microsoft.logic/integrationaccounts/sessions/main.bicep new file mode 100644 index 0000000..6e73b2c --- /dev/null +++ b/settings/remarks/microsoft.logic/integrationaccounts/sessions/main.bicep @@ -0,0 +1,20 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource integrationAccount 'Microsoft.Logic/integrationAccounts@2019-05-01' = { + location: location + name: resource_name + properties: {} + sku: { + name: 'Basic' + } +} + +resource session 'Microsoft.Logic/integrationAccounts/sessions@2019-05-01' = { + parent: integrationAccount + name: resource_name + properties: { + content: '\t{\n "controlNumber": "1234"\n }\n' + } +} + diff --git a/settings/remarks/microsoft.logic/remarks.json b/settings/remarks/microsoft.logic/remarks.json new file mode 100644 index 0000000..ed82bc6 --- /dev/null +++ b/settings/remarks/microsoft.logic/remarks.json @@ -0,0 +1,45 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.Logic/integrationAccounts", + "Path": "integrationaccounts/main.bicep", + "Description": "Basic sample for Microsoft.Logic/integrationAccounts@2019-05-01." + }, + { + "ResourceType": "Microsoft.Logic/integrationAccounts", + "Path": "integrationaccounts/agreements/main.bicep", + "Description": "Basic sample for Microsoft.Logic/integrationAccounts/agreements@2019-05-01." + }, + { + "ResourceType": "Microsoft.Logic/integrationAccounts", + "Path": "integrationaccounts/batchconfigurations/main.bicep", + "Description": "Basic sample for Microsoft.Logic/integrationAccounts/batchConfigurations@2019-05-01." + }, + { + "ResourceType": "Microsoft.Logic/integrationAccounts", + "Path": "integrationaccounts/maps/main.bicep", + "Description": "Basic sample for Microsoft.Logic/integrationAccounts/maps@2019-05-01." + }, + { + "ResourceType": "Microsoft.Logic/integrationAccounts", + "Path": "integrationaccounts/partners/main.bicep", + "Description": "Basic sample for Microsoft.Logic/integrationAccounts/partners@2019-05-01." + }, + { + "ResourceType": "Microsoft.Logic/integrationAccounts", + "Path": "integrationaccounts/schemas/main.bicep", + "Description": "Basic sample for Microsoft.Logic/integrationAccounts/schemas@2019-05-01." + }, + { + "ResourceType": "Microsoft.Logic/integrationAccounts", + "Path": "integrationaccounts/sessions/main.bicep", + "Description": "Basic sample for Microsoft.Logic/integrationAccounts/sessions@2019-05-01." + }, + { + "ResourceType": "Microsoft.Logic/workflows", + "Path": "workflows/main.bicep", + "Description": "Basic sample for Microsoft.Logic/workflows@2019-05-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.logic/workflows/main.bicep b/settings/remarks/microsoft.logic/workflows/main.bicep new file mode 100644 index 0000000..5219fc3 --- /dev/null +++ b/settings/remarks/microsoft.logic/workflows/main.bicep @@ -0,0 +1,19 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource workflow 'Microsoft.Logic/workflows@2019-05-01' = { + location: location + name: resource_name + properties: { + definition: { + '$schema': 'https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#' + actions: {} + contentVersion: '1.0.0.0' + parameters: null + triggers: {} + } + parameters: {} + state: 'Enabled' + } +} + diff --git a/settings/remarks/microsoft.maintenance/maintenanceconfigurations/main.bicep b/settings/remarks/microsoft.maintenance/maintenanceconfigurations/main.bicep new file mode 100644 index 0000000..1e6196c --- /dev/null +++ b/settings/remarks/microsoft.maintenance/maintenanceconfigurations/main.bicep @@ -0,0 +1,14 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource maintenanceConfiguration 'Microsoft.Maintenance/maintenanceConfigurations@2022-07-01-preview' = { + location: location + name: resource_name + properties: { + extensionProperties: {} + maintenanceScope: 'SQLDB' + namespace: 'Microsoft.Maintenance' + visibility: 'Custom' + } +} + diff --git a/settings/remarks/microsoft.maintenance/remarks.json b/settings/remarks/microsoft.maintenance/remarks.json new file mode 100644 index 0000000..fe35166 --- /dev/null +++ b/settings/remarks/microsoft.maintenance/remarks.json @@ -0,0 +1,10 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.Maintenance/maintenanceConfigurations", + "Path": "maintenanceconfigurations/main.bicep", + "Description": "Basic sample for Microsoft.Maintenance/maintenanceConfigurations@2022-07-01-preview." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.managedidentity/remarks.json b/settings/remarks/microsoft.managedidentity/remarks.json new file mode 100644 index 0000000..8723bad --- /dev/null +++ b/settings/remarks/microsoft.managedidentity/remarks.json @@ -0,0 +1,15 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.ManagedIdentity/userAssignedIdentities", + "Path": "userassignedidentities/main.bicep", + "Description": "Basic sample for Microsoft.ManagedIdentity/userAssignedIdentities@2023-01-31." + }, + { + "ResourceType": "Microsoft.ManagedIdentity/userAssignedIdentities", + "Path": "userassignedidentities/federatedidentitycredentials/main.bicep", + "Description": "Basic sample for Microsoft.ManagedIdentity/userAssignedIdentities/federatedIdentityCredentials@2023-01-31." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.managedidentity/userassignedidentities/federatedidentitycredentials/main.bicep b/settings/remarks/microsoft.managedidentity/userassignedidentities/federatedidentitycredentials/main.bicep new file mode 100644 index 0000000..d41570e --- /dev/null +++ b/settings/remarks/microsoft.managedidentity/userassignedidentities/federatedidentitycredentials/main.bicep @@ -0,0 +1,21 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource federatedIdentityCredential 'Microsoft.ManagedIdentity/userAssignedIdentities/federatedIdentityCredentials@2022-01-31-preview' = { + parent: userAssignedIdentity + location: location + name: resource_name + properties: { + audiences: [ + 'foo' + ] + issuer: 'https://foo' + subject: 'foo' + } +} + +resource userAssignedIdentity 'Microsoft.ManagedIdentity/userAssignedIdentities@2023-01-31' = { + location: location + name: resource_name +} + diff --git a/settings/remarks/microsoft.managedidentity/userassignedidentities/main.bicep b/settings/remarks/microsoft.managedidentity/userassignedidentities/main.bicep new file mode 100644 index 0000000..4f682df --- /dev/null +++ b/settings/remarks/microsoft.managedidentity/userassignedidentities/main.bicep @@ -0,0 +1,8 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource userAssignedIdentity 'Microsoft.ManagedIdentity/userAssignedIdentities@2023-01-31' = { + location: location + name: resource_name +} + diff --git a/settings/remarks/microsoft.maps/accounts/creators/main.bicep b/settings/remarks/microsoft.maps/accounts/creators/main.bicep new file mode 100644 index 0000000..af938d4 --- /dev/null +++ b/settings/remarks/microsoft.maps/accounts/creators/main.bicep @@ -0,0 +1,20 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource account 'Microsoft.Maps/accounts@2021-02-01' = { + location: 'global' + name: resource_name + sku: { + name: 'G2' + } +} + +resource creator 'Microsoft.Maps/accounts/creators@2021-02-01' = { + parent: account + location: location + name: resource_name + properties: { + storageUnits: 1 + } +} + diff --git a/settings/remarks/microsoft.maps/accounts/main.bicep b/settings/remarks/microsoft.maps/accounts/main.bicep new file mode 100644 index 0000000..672a68d --- /dev/null +++ b/settings/remarks/microsoft.maps/accounts/main.bicep @@ -0,0 +1,11 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource account 'Microsoft.Maps/accounts@2021-02-01' = { + location: 'global' + name: resource_name + sku: { + name: 'G2' + } +} + diff --git a/settings/remarks/microsoft.maps/remarks.json b/settings/remarks/microsoft.maps/remarks.json new file mode 100644 index 0000000..983991b --- /dev/null +++ b/settings/remarks/microsoft.maps/remarks.json @@ -0,0 +1,15 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.Maps/accounts", + "Path": "accounts/main.bicep", + "Description": "Basic sample for Microsoft.Maps/accounts@2021-02-01." + }, + { + "ResourceType": "Microsoft.Maps/accounts", + "Path": "accounts/creators/main.bicep", + "Description": "Basic sample for Microsoft.Maps/accounts/creators@2021-02-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.media/mediaservices/accountfilters/main.bicep b/settings/remarks/microsoft.media/mediaservices/accountfilters/main.bicep new file mode 100644 index 0000000..1a9c095 --- /dev/null +++ b/settings/remarks/microsoft.media/mediaservices/accountfilters/main.bicep @@ -0,0 +1,61 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource accountFilter 'Microsoft.Media/mediaServices/accountFilters@2022-08-01' = { + parent: mediaService + name: 'Filter-1' + properties: { + tracks: [] + } +} + +resource mediaService 'Microsoft.Media/mediaServices@2021-11-01' = { + location: location + name: resource_name + properties: { + publicNetworkAccess: 'Enabled' + storageAccounts: [ + { + id: storageAccount.id + type: 'Primary' + } + ] + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: { + accessTier: 'Hot' + allowBlobPublicAccess: true + allowCrossTenantReplication: true + allowSharedKeyAccess: true + defaultToOAuthAuthentication: false + encryption: { + keySource: 'Microsoft.Storage' + services: { + queue: { + keyType: 'Service' + } + table: { + keyType: 'Service' + } + } + } + isHnsEnabled: false + isNfsV3Enabled: false + isSftpEnabled: false + minimumTlsVersion: 'TLS1_2' + networkAcls: { + defaultAction: 'Allow' + } + publicNetworkAccess: 'Enabled' + supportsHttpsTrafficOnly: true + } + sku: { + name: 'Standard_GRS' + } +} + diff --git a/settings/remarks/microsoft.media/mediaservices/assets/assetfilters/main.bicep b/settings/remarks/microsoft.media/mediaservices/assets/assetfilters/main.bicep new file mode 100644 index 0000000..acb2817 --- /dev/null +++ b/settings/remarks/microsoft.media/mediaservices/assets/assetfilters/main.bicep @@ -0,0 +1,71 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource asset 'Microsoft.Media/mediaServices/assets@2022-08-01' = { + parent: mediaService + name: resource_name + properties: { + description: '' + } +} + +resource assetFilter 'Microsoft.Media/mediaServices/assets/assetFilters@2022-08-01' = { + parent: asset + name: resource_name + properties: { + firstQuality: { + bitrate: 0 + } + } +} + +resource mediaService 'Microsoft.Media/mediaServices@2021-11-01' = { + location: location + name: resource_name + properties: { + publicNetworkAccess: 'Enabled' + storageAccounts: [ + { + id: storageAccount.id + type: 'Primary' + } + ] + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: { + accessTier: 'Hot' + allowBlobPublicAccess: true + allowCrossTenantReplication: true + allowSharedKeyAccess: true + defaultToOAuthAuthentication: false + encryption: { + keySource: 'Microsoft.Storage' + services: { + queue: { + keyType: 'Service' + } + table: { + keyType: 'Service' + } + } + } + isHnsEnabled: false + isNfsV3Enabled: false + isSftpEnabled: false + minimumTlsVersion: 'TLS1_2' + networkAcls: { + defaultAction: 'Allow' + } + publicNetworkAccess: 'Enabled' + supportsHttpsTrafficOnly: true + } + sku: { + name: 'Standard_GRS' + } +} + diff --git a/settings/remarks/microsoft.media/mediaservices/assets/main.bicep b/settings/remarks/microsoft.media/mediaservices/assets/main.bicep new file mode 100644 index 0000000..15f7528 --- /dev/null +++ b/settings/remarks/microsoft.media/mediaservices/assets/main.bicep @@ -0,0 +1,61 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource asset 'Microsoft.Media/mediaServices/assets@2022-08-01' = { + parent: mediaService + name: resource_name + properties: { + description: '' + } +} + +resource mediaService 'Microsoft.Media/mediaServices@2021-11-01' = { + location: location + name: resource_name + properties: { + publicNetworkAccess: 'Enabled' + storageAccounts: [ + { + id: storageAccount.id + type: 'Primary' + } + ] + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: { + accessTier: 'Hot' + allowBlobPublicAccess: true + allowCrossTenantReplication: true + allowSharedKeyAccess: true + defaultToOAuthAuthentication: false + encryption: { + keySource: 'Microsoft.Storage' + services: { + queue: { + keyType: 'Service' + } + table: { + keyType: 'Service' + } + } + } + isHnsEnabled: false + isNfsV3Enabled: false + isSftpEnabled: false + minimumTlsVersion: 'TLS1_2' + networkAcls: { + defaultAction: 'Allow' + } + publicNetworkAccess: 'Enabled' + supportsHttpsTrafficOnly: true + } + sku: { + name: 'Standard_GRS' + } +} + diff --git a/settings/remarks/microsoft.media/mediaservices/contentkeypolicies/main.bicep b/settings/remarks/microsoft.media/mediaservices/contentkeypolicies/main.bicep new file mode 100644 index 0000000..bf4514e --- /dev/null +++ b/settings/remarks/microsoft.media/mediaservices/contentkeypolicies/main.bicep @@ -0,0 +1,80 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource contentKeyPolicy 'Microsoft.Media/mediaServices/contentKeyPolicies@2022-08-01' = { + parent: mediaService + name: resource_name + properties: { + description: 'My Policy Description' + options: [ + { + configuration: { + '@odata.type': '#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration' + } + name: 'ClearKeyOption' + restriction: { + '@odata.type': '#Microsoft.Media.ContentKeyPolicyTokenRestriction' + audience: 'urn:audience' + issuer: 'urn:issuer' + primaryVerificationKey: { + '@odata.type': '#Microsoft.Media.ContentKeyPolicySymmetricTokenKey' + keyValue: 'AAAAAAAAAAAAAAAAAAAAAA==' + } + requiredClaims: [] + restrictionTokenType: 'Swt' + } + } + ] + } +} + +resource mediaService 'Microsoft.Media/mediaServices@2021-11-01' = { + location: location + name: resource_name + properties: { + publicNetworkAccess: 'Enabled' + storageAccounts: [ + { + id: storageAccount.id + type: 'Primary' + } + ] + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: { + accessTier: 'Hot' + allowBlobPublicAccess: true + allowCrossTenantReplication: true + allowSharedKeyAccess: true + defaultToOAuthAuthentication: false + encryption: { + keySource: 'Microsoft.Storage' + services: { + queue: { + keyType: 'Service' + } + table: { + keyType: 'Service' + } + } + } + isHnsEnabled: false + isNfsV3Enabled: false + isSftpEnabled: false + minimumTlsVersion: 'TLS1_2' + networkAcls: { + defaultAction: 'Allow' + } + publicNetworkAccess: 'Enabled' + supportsHttpsTrafficOnly: true + } + sku: { + name: 'Standard_GRS' + } +} + diff --git a/settings/remarks/microsoft.media/mediaservices/liveevents/main.bicep b/settings/remarks/microsoft.media/mediaservices/liveevents/main.bicep new file mode 100644 index 0000000..1e1e988 --- /dev/null +++ b/settings/remarks/microsoft.media/mediaservices/liveevents/main.bicep @@ -0,0 +1,49 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource liveEvent 'Microsoft.Media/mediaServices/liveEvents@2022-08-01' = { + parent: mediaService + location: location + name: resource_name + properties: { + input: { + accessControl: { + ip: { + allow: [ + { + address: '0.0.0.0' + name: 'AllowAll' + subnetPrefixLength: 0 + } + ] + } + } + keyFrameIntervalDuration: 'PT6S' + streamingProtocol: 'RTMP' + } + } +} + +resource mediaService 'Microsoft.Media/mediaServices@2021-11-01' = { + location: location + name: resource_name + properties: { + publicNetworkAccess: 'Enabled' + storageAccounts: [ + { + id: storageAccount.id + type: 'Primary' + } + ] + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + sku: { + name: 'Standard_GRS' + } +} + diff --git a/settings/remarks/microsoft.media/mediaservices/main.bicep b/settings/remarks/microsoft.media/mediaservices/main.bicep new file mode 100644 index 0000000..e702a62 --- /dev/null +++ b/settings/remarks/microsoft.media/mediaservices/main.bicep @@ -0,0 +1,53 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource mediaService 'Microsoft.Media/mediaServices@2021-11-01' = { + location: location + name: resource_name + properties: { + publicNetworkAccess: 'Enabled' + storageAccounts: [ + { + id: storageAccount.id + type: 'Primary' + } + ] + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: { + accessTier: 'Hot' + allowBlobPublicAccess: true + allowCrossTenantReplication: true + allowSharedKeyAccess: true + defaultToOAuthAuthentication: false + encryption: { + keySource: 'Microsoft.Storage' + services: { + queue: { + keyType: 'Service' + } + table: { + keyType: 'Service' + } + } + } + isHnsEnabled: false + isNfsV3Enabled: false + isSftpEnabled: false + minimumTlsVersion: 'TLS1_2' + networkAcls: { + defaultAction: 'Allow' + } + publicNetworkAccess: 'Enabled' + supportsHttpsTrafficOnly: true + } + sku: { + name: 'Standard_GRS' + } +} + diff --git a/settings/remarks/microsoft.media/mediaservices/streamingendpoints/main.bicep b/settings/remarks/microsoft.media/mediaservices/streamingendpoints/main.bicep new file mode 100644 index 0000000..395f9a3 --- /dev/null +++ b/settings/remarks/microsoft.media/mediaservices/streamingendpoints/main.bicep @@ -0,0 +1,65 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource mediaService 'Microsoft.Media/mediaServices@2021-11-01' = { + location: location + name: resource_name + properties: { + publicNetworkAccess: 'Enabled' + storageAccounts: [ + { + id: storageAccount.id + type: 'Primary' + } + ] + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: { + accessTier: 'Hot' + allowBlobPublicAccess: true + allowCrossTenantReplication: true + allowSharedKeyAccess: true + defaultToOAuthAuthentication: false + encryption: { + keySource: 'Microsoft.Storage' + services: { + queue: { + keyType: 'Service' + } + table: { + keyType: 'Service' + } + } + } + isHnsEnabled: false + isNfsV3Enabled: false + isSftpEnabled: false + minimumTlsVersion: 'TLS1_2' + networkAcls: { + defaultAction: 'Allow' + } + publicNetworkAccess: 'Enabled' + supportsHttpsTrafficOnly: true + } + sku: { + name: 'Standard_GRS' + } +} + +resource streamingEndpoint 'Microsoft.Media/mediaServices/streamingEndpoints@2022-08-01' = { + parent: mediaService + location: location + name: resource_name + properties: { + scaleUnits: 1 + } + tags: { + env: 'test' + } +} + diff --git a/settings/remarks/microsoft.media/mediaservices/streaminglocators/main.bicep b/settings/remarks/microsoft.media/mediaservices/streaminglocators/main.bicep new file mode 100644 index 0000000..a030a32 --- /dev/null +++ b/settings/remarks/microsoft.media/mediaservices/streaminglocators/main.bicep @@ -0,0 +1,70 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource asset 'Microsoft.Media/mediaServices/assets@2022-08-01' = { + parent: mediaService + name: resource_name + properties: { + description: '' + } +} + +resource mediaService 'Microsoft.Media/mediaServices@2021-11-01' = { + location: location + name: resource_name + properties: { + publicNetworkAccess: 'Enabled' + storageAccounts: [ + { + id: storageAccount.id + type: 'Primary' + } + ] + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: { + accessTier: 'Hot' + allowBlobPublicAccess: true + allowCrossTenantReplication: true + allowSharedKeyAccess: true + defaultToOAuthAuthentication: false + encryption: { + keySource: 'Microsoft.Storage' + services: { + queue: { + keyType: 'Service' + } + table: { + keyType: 'Service' + } + } + } + isHnsEnabled: false + isNfsV3Enabled: false + isSftpEnabled: false + minimumTlsVersion: 'TLS1_2' + networkAcls: { + defaultAction: 'Allow' + } + publicNetworkAccess: 'Enabled' + supportsHttpsTrafficOnly: true + } + sku: { + name: 'Standard_GRS' + } +} + +resource streamingLocator 'Microsoft.Media/mediaServices/streamingLocators@2022-08-01' = { + parent: mediaService + name: resource_name + properties: { + assetName: asset.name + streamingPolicyName: 'Predefined_ClearStreamingOnly' + } +} + diff --git a/settings/remarks/microsoft.media/mediaservices/streamingpolicies/main.bicep b/settings/remarks/microsoft.media/mediaservices/streamingpolicies/main.bicep new file mode 100644 index 0000000..bb33c27 --- /dev/null +++ b/settings/remarks/microsoft.media/mediaservices/streamingpolicies/main.bicep @@ -0,0 +1,68 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource mediaService 'Microsoft.Media/mediaServices@2021-11-01' = { + location: location + name: resource_name + properties: { + publicNetworkAccess: 'Enabled' + storageAccounts: [ + { + id: storageAccount.id + type: 'Primary' + } + ] + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: { + accessTier: 'Hot' + allowBlobPublicAccess: true + allowCrossTenantReplication: true + allowSharedKeyAccess: true + defaultToOAuthAuthentication: false + encryption: { + keySource: 'Microsoft.Storage' + services: { + queue: { + keyType: 'Service' + } + table: { + keyType: 'Service' + } + } + } + isHnsEnabled: false + isNfsV3Enabled: false + isSftpEnabled: false + minimumTlsVersion: 'TLS1_2' + networkAcls: { + defaultAction: 'Allow' + } + publicNetworkAccess: 'Enabled' + supportsHttpsTrafficOnly: true + } + sku: { + name: 'Standard_GRS' + } +} + +resource streamingPolicy 'Microsoft.Media/mediaServices/streamingPolicies@2022-08-01' = { + parent: mediaService + name: resource_name + properties: { + noEncryption: { + enabledProtocols: { + dash: true + download: true + hls: true + smoothStreaming: true + } + } + } +} + diff --git a/settings/remarks/microsoft.media/mediaservices/transforms/main.bicep b/settings/remarks/microsoft.media/mediaservices/transforms/main.bicep new file mode 100644 index 0000000..4d7e311 --- /dev/null +++ b/settings/remarks/microsoft.media/mediaservices/transforms/main.bicep @@ -0,0 +1,71 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource mediaService 'Microsoft.Media/mediaServices@2021-11-01' = { + location: location + name: resource_name + properties: { + publicNetworkAccess: 'Enabled' + storageAccounts: [ + { + id: storageAccount.id + type: 'Primary' + } + ] + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: { + accessTier: 'Hot' + allowBlobPublicAccess: true + allowCrossTenantReplication: true + allowSharedKeyAccess: true + defaultToOAuthAuthentication: false + encryption: { + keySource: 'Microsoft.Storage' + services: { + queue: { + keyType: 'Service' + } + table: { + keyType: 'Service' + } + } + } + isHnsEnabled: false + isNfsV3Enabled: false + isSftpEnabled: false + minimumTlsVersion: 'TLS1_2' + networkAcls: { + defaultAction: 'Allow' + } + publicNetworkAccess: 'Enabled' + supportsHttpsTrafficOnly: true + } + sku: { + name: 'Standard_GRS' + } +} + +resource transform 'Microsoft.Media/mediaServices/transforms@2022-07-01' = { + parent: mediaService + name: resource_name + properties: { + description: '' + outputs: [ + { + onError: 'ContinueJob' + preset: { + '@odata.type': '#Microsoft.Media.BuiltInStandardEncoderPreset' + presetName: 'AACGoodQualityAudio' + } + relativePriority: 'Normal' + } + ] + } +} + diff --git a/settings/remarks/microsoft.media/remarks.json b/settings/remarks/microsoft.media/remarks.json new file mode 100644 index 0000000..12c316d --- /dev/null +++ b/settings/remarks/microsoft.media/remarks.json @@ -0,0 +1,55 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.Media/mediaServices", + "Path": "mediaservices/main.bicep", + "Description": "Basic sample for Microsoft.Media/mediaServices@2021-11-01." + }, + { + "ResourceType": "Microsoft.Media/mediaServices", + "Path": "mediaservices/accountfilters/main.bicep", + "Description": "Basic sample for Microsoft.Media/mediaServices/accountFilters@2022-08-01." + }, + { + "ResourceType": "Microsoft.Media/mediaServices", + "Path": "mediaservices/assets/main.bicep", + "Description": "Basic sample for Microsoft.Media/mediaServices/assets@2022-08-01." + }, + { + "ResourceType": "Microsoft.Media/mediaServices", + "Path": "mediaservices/assets/assetfilters/main.bicep", + "Description": "Basic sample for Microsoft.Media/mediaServices/assets/assetFilters@2022-08-01." + }, + { + "ResourceType": "Microsoft.Media/mediaServices", + "Path": "mediaservices/contentkeypolicies/main.bicep", + "Description": "Basic sample for Microsoft.Media/mediaServices/contentKeyPolicies@2022-08-01." + }, + { + "ResourceType": "Microsoft.Media/mediaServices", + "Path": "mediaservices/liveevents/main.bicep", + "Description": "Basic sample for Microsoft.Media/mediaServices/liveEvents@2022-08-01." + }, + { + "ResourceType": "Microsoft.Media/mediaServices", + "Path": "mediaservices/streamingendpoints/main.bicep", + "Description": "Basic sample for Microsoft.Media/mediaServices/streamingEndpoints@2022-08-01." + }, + { + "ResourceType": "Microsoft.Media/mediaServices", + "Path": "mediaservices/streaminglocators/main.bicep", + "Description": "Basic sample for Microsoft.Media/mediaServices/streamingLocators@2022-08-01." + }, + { + "ResourceType": "Microsoft.Media/mediaServices", + "Path": "mediaservices/streamingpolicies/main.bicep", + "Description": "Basic sample for Microsoft.Media/mediaServices/streamingPolicies@2022-08-01." + }, + { + "ResourceType": "Microsoft.Media/mediaServices", + "Path": "mediaservices/transforms/main.bicep", + "Description": "Basic sample for Microsoft.Media/mediaServices/transforms@2022-07-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.migrate/migrateprojects/main.bicep b/settings/remarks/microsoft.migrate/migrateprojects/main.bicep new file mode 100644 index 0000000..6413cd8 --- /dev/null +++ b/settings/remarks/microsoft.migrate/migrateprojects/main.bicep @@ -0,0 +1,48 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource project 'Microsoft.Migrate/migrateProjects@2020-05-01' = { + location: location + name: resource_name + properties: { + publicNetworkAccess: 'Enabled' + utilityStorageAccountId: storageAccount.id + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: { + accessTier: 'Hot' + allowBlobPublicAccess: true + allowCrossTenantReplication: true + allowSharedKeyAccess: true + defaultToOAuthAuthentication: false + encryption: { + keySource: 'Microsoft.Storage' + services: { + queue: { + keyType: 'Service' + } + table: { + keyType: 'Service' + } + } + } + isHnsEnabled: false + isNfsV3Enabled: false + isSftpEnabled: false + minimumTlsVersion: 'TLS1_2' + networkAcls: { + defaultAction: 'Allow' + } + publicNetworkAccess: 'Enabled' + supportsHttpsTrafficOnly: true + } + sku: { + name: 'Standard_LRS' + } +} + diff --git a/settings/remarks/microsoft.migrate/migrateprojects/solutions/main.bicep b/settings/remarks/microsoft.migrate/migrateprojects/solutions/main.bicep new file mode 100644 index 0000000..90f40eb --- /dev/null +++ b/settings/remarks/microsoft.migrate/migrateprojects/solutions/main.bicep @@ -0,0 +1,59 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource project 'Microsoft.Migrate/migrateProjects@2020-05-01' = { + location: location + name: resource_name + properties: { + publicNetworkAccess: 'Enabled' + utilityStorageAccountId: storageAccount.id + } +} + +resource solution 'Microsoft.Migrate/migrateProjects/solutions@2018-09-01-preview' = { + parent: project + name: resource_name + properties: { + summary: { + instanceType: 'Servers' + migratedCount: 0 + } + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: { + accessTier: 'Hot' + allowBlobPublicAccess: true + allowCrossTenantReplication: true + allowSharedKeyAccess: true + defaultToOAuthAuthentication: false + encryption: { + keySource: 'Microsoft.Storage' + services: { + queue: { + keyType: 'Service' + } + table: { + keyType: 'Service' + } + } + } + isHnsEnabled: false + isNfsV3Enabled: false + isSftpEnabled: false + minimumTlsVersion: 'TLS1_2' + networkAcls: { + defaultAction: 'Allow' + } + publicNetworkAccess: 'Enabled' + supportsHttpsTrafficOnly: true + } + sku: { + name: 'Standard_LRS' + } +} + diff --git a/settings/remarks/microsoft.migrate/remarks.json b/settings/remarks/microsoft.migrate/remarks.json new file mode 100644 index 0000000..2344491 --- /dev/null +++ b/settings/remarks/microsoft.migrate/remarks.json @@ -0,0 +1,15 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.Migrate/migrateProjects", + "Path": "migrateprojects/main.bicep", + "Description": "Basic sample for Microsoft.Migrate/migrateProjects@2018-09-01-preview." + }, + { + "ResourceType": "Microsoft.Migrate/migrateProjects", + "Path": "migrateprojects/solutions/main.bicep", + "Description": "Basic sample for Microsoft.Migrate/migrateProjects/solutions@2018-09-01-preview." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.mixedreality/remarks.json b/settings/remarks/microsoft.mixedreality/remarks.json new file mode 100644 index 0000000..6764ab6 --- /dev/null +++ b/settings/remarks/microsoft.mixedreality/remarks.json @@ -0,0 +1,10 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.MixedReality/spatialAnchorsAccounts", + "Path": "spatialanchorsaccounts/main.bicep", + "Description": "Basic sample for Microsoft.MixedReality/spatialAnchorsAccounts@2021-01-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.mixedreality/spatialanchorsaccounts/main.bicep b/settings/remarks/microsoft.mixedreality/spatialanchorsaccounts/main.bicep new file mode 100644 index 0000000..cad0356 --- /dev/null +++ b/settings/remarks/microsoft.mixedreality/spatialanchorsaccounts/main.bicep @@ -0,0 +1,8 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource spatialAnchorsAccount 'Microsoft.MixedReality/spatialAnchorsAccounts@2021-01-01' = { + location: location + name: resource_name +} + diff --git a/settings/remarks/microsoft.mobilenetwork/mobilenetworks/datanetworks/main.bicep b/settings/remarks/microsoft.mobilenetwork/mobilenetworks/datanetworks/main.bicep new file mode 100644 index 0000000..eaaf8fd --- /dev/null +++ b/settings/remarks/microsoft.mobilenetwork/mobilenetworks/datanetworks/main.bicep @@ -0,0 +1,21 @@ +param location string = 'eastus' +param resource_name string = 'acctest0001' + +resource dataNetwork 'Microsoft.MobileNetwork/mobileNetworks/dataNetworks@2022-11-01' = { + parent: mobileNetwork + location: location + name: resource_name + properties: {} +} + +resource mobileNetwork 'Microsoft.MobileNetwork/mobileNetworks@2022-11-01' = { + location: location + name: resource_name + properties: { + publicLandMobileNetworkIdentifier: { + mcc: '001' + mnc: '01' + } + } +} + diff --git a/settings/remarks/microsoft.mobilenetwork/mobilenetworks/main.bicep b/settings/remarks/microsoft.mobilenetwork/mobilenetworks/main.bicep new file mode 100644 index 0000000..610e9dd --- /dev/null +++ b/settings/remarks/microsoft.mobilenetwork/mobilenetworks/main.bicep @@ -0,0 +1,14 @@ +param location string = 'eastus' +param resource_name string = 'acctest0001' + +resource mobileNetwork 'Microsoft.MobileNetwork/mobileNetworks@2022-11-01' = { + location: location + name: resource_name + properties: { + publicLandMobileNetworkIdentifier: { + mcc: '001' + mnc: '01' + } + } +} + diff --git a/settings/remarks/microsoft.mobilenetwork/mobilenetworks/services/main.bicep b/settings/remarks/microsoft.mobilenetwork/mobilenetworks/services/main.bicep new file mode 100644 index 0000000..8670fba --- /dev/null +++ b/settings/remarks/microsoft.mobilenetwork/mobilenetworks/services/main.bicep @@ -0,0 +1,43 @@ +param location string = 'eastus' +param resource_name string = 'acctest0001' + +resource mobileNetwork 'Microsoft.MobileNetwork/mobileNetworks@2022-11-01' = { + location: location + name: resource_name + properties: { + publicLandMobileNetworkIdentifier: { + mcc: '001' + mnc: '01' + } + } +} + +resource service 'Microsoft.MobileNetwork/mobileNetworks/services@2022-11-01' = { + parent: mobileNetwork + location: location + name: resource_name + properties: { + pccRules: [ + { + ruleName: 'default-rule' + rulePrecedence: 1 + serviceDataFlowTemplates: [ + { + direction: 'Uplink' + ports: [] + protocol: [ + 'ip' + ] + remoteIpList: [ + '10.3.4.0/24' + ] + templateName: 'IP-to-server' + } + ] + trafficControl: 'Enabled' + } + ] + servicePrecedence: 0 + } +} + diff --git a/settings/remarks/microsoft.mobilenetwork/mobilenetworks/simpolicies/main.bicep b/settings/remarks/microsoft.mobilenetwork/mobilenetworks/simpolicies/main.bicep new file mode 100644 index 0000000..2778661 --- /dev/null +++ b/settings/remarks/microsoft.mobilenetwork/mobilenetworks/simpolicies/main.bicep @@ -0,0 +1,113 @@ +param location string = 'eastus' +param resource_name string = 'acctest0001' + +resource dataNetwork 'Microsoft.MobileNetwork/mobileNetworks/dataNetworks@2022-11-01' = { + parent: mobileNetwork + location: location + name: resource_name + properties: {} +} + +resource mobileNetwork 'Microsoft.MobileNetwork/mobileNetworks@2022-11-01' = { + location: location + name: resource_name + properties: { + publicLandMobileNetworkIdentifier: { + mcc: '001' + mnc: '01' + } + } +} + +resource service 'Microsoft.MobileNetwork/mobileNetworks/services@2022-11-01' = { + parent: mobileNetwork + location: location + name: resource_name + properties: { + pccRules: [ + { + ruleName: 'default-rule' + rulePrecedence: 1 + serviceDataFlowTemplates: [ + { + direction: 'Uplink' + ports: [] + protocol: [ + 'ip' + ] + remoteIpList: [ + '10.3.4.0/24' + ] + templateName: 'IP-to-server' + } + ] + trafficControl: 'Enabled' + } + ] + servicePrecedence: 0 + } +} + +resource simPolicy 'Microsoft.MobileNetwork/mobileNetworks/simPolicies@2022-11-01' = { + parent: mobileNetwork + location: location + name: resource_name + properties: { + defaultSlice: { + id: slice.id + } + registrationTimer: 3240 + sliceConfigurations: [ + { + dataNetworkConfigurations: [ + { + '5qi': 9 + additionalAllowedSessionTypes: null + allocationAndRetentionPriorityLevel: 9 + allowedServices: [ + { + id: service.id + } + ] + dataNetwork: { + id: dataNetwork.id + } + defaultSessionType: 'IPv4' + maximumNumberOfBufferedPackets: 10 + preemptionCapability: 'NotPreempt' + preemptionVulnerability: 'Preemptable' + sessionAmbr: { + downlink: '1 Gbps' + uplink: '500 Mbps' + } + } + ] + defaultDataNetwork: { + id: dataNetwork.id + } + slice: { + id: slice.id + } + } + ] + ueAmbr: { + downlink: '1 Gbps' + uplink: '500 Mbps' + } + } + tags: { + key: 'value' + } +} + +resource slice 'Microsoft.MobileNetwork/mobileNetworks/slices@2022-11-01' = { + parent: mobileNetwork + location: location + name: resource_name + properties: { + snssai: { + sst: 1 + } + } +} + diff --git a/settings/remarks/microsoft.mobilenetwork/mobilenetworks/sites/main.bicep b/settings/remarks/microsoft.mobilenetwork/mobilenetworks/sites/main.bicep new file mode 100644 index 0000000..cf8a108 --- /dev/null +++ b/settings/remarks/microsoft.mobilenetwork/mobilenetworks/sites/main.bicep @@ -0,0 +1,21 @@ +param location string = 'eastus' +param resource_name string = 'acctest0001' + +resource mobileNetwork 'Microsoft.MobileNetwork/mobileNetworks@2022-11-01' = { + location: location + name: resource_name + properties: { + publicLandMobileNetworkIdentifier: { + mcc: '001' + mnc: '01' + } + } +} + +resource site 'Microsoft.MobileNetwork/mobileNetworks/sites@2022-11-01' = { + parent: mobileNetwork + location: location + name: resource_name + properties: {} +} + diff --git a/settings/remarks/microsoft.mobilenetwork/mobilenetworks/slices/main.bicep b/settings/remarks/microsoft.mobilenetwork/mobilenetworks/slices/main.bicep new file mode 100644 index 0000000..de22572 --- /dev/null +++ b/settings/remarks/microsoft.mobilenetwork/mobilenetworks/slices/main.bicep @@ -0,0 +1,25 @@ +param location string = 'eastus' +param resource_name string = 'acctest0001' + +resource mobileNetwork 'Microsoft.MobileNetwork/mobileNetworks@2022-11-01' = { + location: location + name: resource_name + properties: { + publicLandMobileNetworkIdentifier: { + mcc: '001' + mnc: '01' + } + } +} + +resource slice 'Microsoft.MobileNetwork/mobileNetworks/slices@2022-11-01' = { + parent: mobileNetwork + location: location + name: resource_name + properties: { + snssai: { + sst: 1 + } + } +} + diff --git a/settings/remarks/microsoft.mobilenetwork/packetcorecontrolplanes/main.bicep b/settings/remarks/microsoft.mobilenetwork/packetcorecontrolplanes/main.bicep new file mode 100644 index 0000000..3dccc65 --- /dev/null +++ b/settings/remarks/microsoft.mobilenetwork/packetcorecontrolplanes/main.bicep @@ -0,0 +1,54 @@ +param location string = 'eastus' +param resource_name string = 'acctest0001' + +resource dataBoxEdgeDevice 'Microsoft.DataBoxEdge/dataBoxEdgeDevices@2022-03-01' = { + location: location + name: resource_name + sku: { + name: 'EdgeP_Base' + tier: 'Standard' + } +} + +resource mobileNetwork 'Microsoft.MobileNetwork/mobileNetworks@2022-11-01' = { + location: location + name: resource_name + properties: { + publicLandMobileNetworkIdentifier: { + mcc: '001' + mnc: '01' + } + } +} + +resource packetCoreControlPlane 'Microsoft.MobileNetwork/packetCoreControlPlanes@2022-11-01' = { + location: location + name: resource_name + properties: { + controlPlaneAccessInterface: {} + localDiagnosticsAccess: { + authenticationType: 'AAD' + } + platform: { + azureStackEdgeDevice: { + id: dataBoxEdgeDevice.id + } + type: 'AKS-HCI' + } + sites: [ + { + id: site.id + } + ] + sku: 'G0' + ueMtu: 1440 + } +} + +resource site 'Microsoft.MobileNetwork/mobileNetworks/sites@2022-11-01' = { + parent: mobileNetwork + location: location + name: resource_name + properties: {} +} + diff --git a/settings/remarks/microsoft.mobilenetwork/packetcorecontrolplanes/packetcoredataplanes/main.bicep b/settings/remarks/microsoft.mobilenetwork/packetcorecontrolplanes/packetcoredataplanes/main.bicep new file mode 100644 index 0000000..8bbddea --- /dev/null +++ b/settings/remarks/microsoft.mobilenetwork/packetcorecontrolplanes/packetcoredataplanes/main.bicep @@ -0,0 +1,63 @@ +param location string = 'eastus' +param resource_name string = 'acctest0001' + +resource dataBoxEdgeDevice 'Microsoft.DataBoxEdge/dataBoxEdgeDevices@2022-03-01' = { + location: location + name: resource_name + sku: { + name: 'EdgeP_Base' + tier: 'Standard' + } +} + +resource mobileNetwork 'Microsoft.MobileNetwork/mobileNetworks@2022-11-01' = { + location: location + name: resource_name + properties: { + publicLandMobileNetworkIdentifier: { + mcc: '001' + mnc: '01' + } + } +} + +resource packetCoreControlPlane 'Microsoft.MobileNetwork/packetCoreControlPlanes@2022-11-01' = { + location: location + name: resource_name + properties: { + controlPlaneAccessInterface: {} + localDiagnosticsAccess: { + authenticationType: 'AAD' + } + platform: { + azureStackEdgeDevice: { + id: dataBoxEdgeDevice.id + } + type: 'AKS-HCI' + } + sites: [ + { + id: site.id + } + ] + sku: 'G0' + ueMtu: 1440 + } +} + +resource packetCoreDataPlane 'Microsoft.MobileNetwork/packetCoreControlPlanes/packetCoreDataPlanes@2022-11-01' = { + parent: packetCoreControlPlane + location: location + name: resource_name + properties: { + userPlaneAccessInterface: {} + } +} + +resource site 'Microsoft.MobileNetwork/mobileNetworks/sites@2022-11-01' = { + parent: mobileNetwork + location: location + name: resource_name + properties: {} +} + diff --git a/settings/remarks/microsoft.mobilenetwork/remarks.json b/settings/remarks/microsoft.mobilenetwork/remarks.json new file mode 100644 index 0000000..bbe6fcd --- /dev/null +++ b/settings/remarks/microsoft.mobilenetwork/remarks.json @@ -0,0 +1,50 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.MobileNetwork/mobileNetworks", + "Path": "mobilenetworks/main.bicep", + "Description": "Basic sample for Microsoft.MobileNetwork/mobileNetworks@2022-11-01." + }, + { + "ResourceType": "Microsoft.MobileNetwork/mobileNetworks", + "Path": "mobilenetworks/datanetworks/main.bicep", + "Description": "Basic sample for Microsoft.MobileNetwork/mobileNetworks/dataNetworks@2022-11-01." + }, + { + "ResourceType": "Microsoft.MobileNetwork/mobileNetworks", + "Path": "mobilenetworks/services/main.bicep", + "Description": "Basic sample for Microsoft.MobileNetwork/mobileNetworks/services@2022-11-01." + }, + { + "ResourceType": "Microsoft.MobileNetwork/mobileNetworks", + "Path": "mobilenetworks/simpolicies/main.bicep", + "Description": "Basic sample for Microsoft.MobileNetwork/mobileNetworks/simPolicies@2022-11-01." + }, + { + "ResourceType": "Microsoft.MobileNetwork/mobileNetworks", + "Path": "mobilenetworks/sites/main.bicep", + "Description": "Basic sample for Microsoft.MobileNetwork/mobileNetworks/sites@2022-11-01." + }, + { + "ResourceType": "Microsoft.MobileNetwork/mobileNetworks", + "Path": "mobilenetworks/slices/main.bicep", + "Description": "Basic sample for Microsoft.MobileNetwork/mobileNetworks/slices@2022-11-01." + }, + { + "ResourceType": "Microsoft.MobileNetwork/packetCoreControlPlanes", + "Path": "packetcorecontrolplanes/main.bicep", + "Description": "Basic sample for Microsoft.MobileNetwork/packetCoreControlPlanes@2022-11-01." + }, + { + "ResourceType": "Microsoft.MobileNetwork/packetCoreControlPlanes", + "Path": "packetcorecontrolplanes/packetcoredataplanes/main.bicep", + "Description": "Basic sample for Microsoft.MobileNetwork/packetCoreControlPlanes/packetCoreDataPlanes@2022-11-01." + }, + { + "ResourceType": "Microsoft.MobileNetwork/simGroups", + "Path": "simgroups/main.bicep", + "Description": "Basic sample for Microsoft.MobileNetwork/simGroups@2022-11-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.mobilenetwork/simgroups/main.bicep b/settings/remarks/microsoft.mobilenetwork/simgroups/main.bicep new file mode 100644 index 0000000..3d0001e --- /dev/null +++ b/settings/remarks/microsoft.mobilenetwork/simgroups/main.bicep @@ -0,0 +1,24 @@ +param location string = 'eastus' +param resource_name string = 'acctest0001' + +resource mobileNetwork 'Microsoft.MobileNetwork/mobileNetworks@2022-11-01' = { + location: location + name: resource_name + properties: { + publicLandMobileNetworkIdentifier: { + mcc: '001' + mnc: '01' + } + } +} + +resource simGroup 'Microsoft.MobileNetwork/simGroups@2022-11-01' = { + location: location + name: resource_name + properties: { + mobileNetwork: { + id: mobileNetwork.id + } + } +} + diff --git a/settings/remarks/microsoft.monitor/accounts/main.bicep b/settings/remarks/microsoft.monitor/accounts/main.bicep new file mode 100644 index 0000000..1dfdd58 --- /dev/null +++ b/settings/remarks/microsoft.monitor/accounts/main.bicep @@ -0,0 +1,11 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource account 'Microsoft.Monitor/accounts@2023-04-03' = { + location: location + name: resource_name + properties: { + publicNetworkAccess: 'Enabled' + } +} + diff --git a/settings/remarks/microsoft.monitor/accounts/privateendpointconnections/main.bicep b/settings/remarks/microsoft.monitor/accounts/privateendpointconnections/main.bicep new file mode 100644 index 0000000..5ce44cc --- /dev/null +++ b/settings/remarks/microsoft.monitor/accounts/privateendpointconnections/main.bicep @@ -0,0 +1,50 @@ +param location string = 'eastus' +param resource_name string = 'acctest0001' + +resource account 'Microsoft.Monitor/accounts@2023-04-03' = { + location: location + name: resource_name + properties: { + publicNetworkAccess: 'Disabled' + } +} + +resource grafana 'Microsoft.Dashboard/grafana@2023-09-01' = { + location: location + name: resource_name + identity: { + type: 'None' + userAssignedIdentities: null + } + properties: { + apiKey: 'Disabled' + autoGeneratedDomainNameLabelScope: 'TenantReuse' + deterministicOutboundIP: 'Disabled' + grafanaIntegrations: { + azureMonitorWorkspaceIntegrations: [ + { + azureMonitorWorkspaceResourceId: account.id + } + ] + } + publicNetworkAccess: 'Disabled' + zoneRedundancy: 'Disabled' + } + sku: { + name: 'Standard' + } +} + +resource managedPrivateEndpoint 'Microsoft.Dashboard/grafana/managedPrivateEndpoints@2023-09-01' = { + parent: grafana + location: location + name: resource_name + properties: { + groupIds: [ + 'prometheusMetrics' + ] + privateLinkResourceId: account.id + privateLinkResourceRegion: location + } +} + diff --git a/settings/remarks/microsoft.monitor/remarks.json b/settings/remarks/microsoft.monitor/remarks.json new file mode 100644 index 0000000..23a1c53 --- /dev/null +++ b/settings/remarks/microsoft.monitor/remarks.json @@ -0,0 +1,15 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.Monitor/accounts", + "Path": "accounts/main.bicep", + "Description": "Basic sample for Microsoft.Monitor/accounts@2023-04-03." + }, + { + "ResourceType": "Microsoft.Monitor/accounts", + "Path": "accounts/privateendpointconnections/main.bicep", + "Description": "Basic sample for Microsoft.Monitor/accounts/privateEndpointConnections@2023-04-03." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.netapp/netappaccounts/capacitypools/main.bicep b/settings/remarks/microsoft.netapp/netappaccounts/capacitypools/main.bicep new file mode 100644 index 0000000..bf4eb24 --- /dev/null +++ b/settings/remarks/microsoft.netapp/netappaccounts/capacitypools/main.bicep @@ -0,0 +1,27 @@ +param location string = 'centralus' +param resource_name string = 'acctest0001' + +resource capacityPool 'Microsoft.NetApp/netAppAccounts/capacityPools@2022-05-01' = { + parent: netAppAccount + location: location + name: resource_name + properties: { + serviceLevel: 'Standard' + size: 4398046511104 + } + tags: { + SkipASMAzSecPack: 'true' + } +} + +resource netAppAccount 'Microsoft.NetApp/netAppAccounts@2022-05-01' = { + location: location + name: resource_name + properties: { + activeDirectories: [] + } + tags: { + SkipASMAzSecPack: 'true' + } +} + diff --git a/settings/remarks/microsoft.netapp/netappaccounts/capacitypools/volumes/main.bicep b/settings/remarks/microsoft.netapp/netappaccounts/capacitypools/volumes/main.bicep new file mode 100644 index 0000000..ac1926b --- /dev/null +++ b/settings/remarks/microsoft.netapp/netappaccounts/capacitypools/volumes/main.bicep @@ -0,0 +1,117 @@ +param location string = 'centralus' +param resource_name string = 'acctest0001' + +resource capacityPool 'Microsoft.NetApp/netAppAccounts/capacityPools@2022-05-01' = { + parent: netAppAccount + location: location + name: resource_name + properties: { + serviceLevel: 'Standard' + size: 4398046511104 + } + tags: { + SkipASMAzSecPack: 'true' + } +} + +resource netAppAccount 'Microsoft.NetApp/netAppAccounts@2022-05-01' = { + location: location + name: resource_name + properties: { + activeDirectories: [] + } + tags: { + SkipASMAzSecPack: 'true' + } +} + +resource subnet 'Microsoft.Network/virtualNetworks/subnets@2022-07-01' = { + parent: virtualNetwork + name: 'GatewaySubnet' + properties: { + addressPrefix: '10.6.1.0/24' + delegations: [] + privateEndpointNetworkPolicies: 'Enabled' + privateLinkServiceNetworkPolicies: 'Enabled' + serviceEndpointPolicies: [] + serviceEndpoints: [] + } +} + +resource subnet2 'Microsoft.Network/virtualNetworks/subnets@2022-07-01' = { + parent: virtualNetwork + name: resource_name + properties: { + addressPrefix: '10.6.2.0/24' + delegations: [ + { + name: 'testdelegation' + properties: { + serviceName: 'Microsoft.Netapp/volumes' + } + } + ] + privateEndpointNetworkPolicies: 'Enabled' + privateLinkServiceNetworkPolicies: 'Enabled' + serviceEndpointPolicies: [] + serviceEndpoints: [] + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.6.0.0/16' + ] + } + dhcpOptions: { + dnsServers: [] + } + subnets: [] + } + tags: { + SkipASMAzSecPack: 'true' + } +} + +resource volume 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes@2022-05-01' = { + parent: capacityPool + location: location + name: resource_name + properties: { + avsDataStore: 'Enabled' + creationToken: 'my-unique-file-path-230630034120103726' + dataProtection: {} + exportPolicy: { + rules: [ + { + allowedClients: '0.0.0.0/0' + cifs: false + hasRootAccess: true + nfsv3: true + nfsv41: false + ruleIndex: 1 + unixReadOnly: false + unixReadWrite: true + } + ] + } + networkFeatures: 'Basic' + protocolTypes: [ + 'NFSv3' + ] + serviceLevel: 'Standard' + snapshotDirectoryVisible: true + subnetId: subnet2.id + usageThreshold: 107374182400 + volumeType: '' + } + tags: { + SkipASMAzSecPack: 'true' + } + zones: [] +} + diff --git a/settings/remarks/microsoft.netapp/netappaccounts/capacitypools/volumes/snapshots/main.bicep b/settings/remarks/microsoft.netapp/netappaccounts/capacitypools/volumes/snapshots/main.bicep new file mode 100644 index 0000000..b2307d7 --- /dev/null +++ b/settings/remarks/microsoft.netapp/netappaccounts/capacitypools/volumes/snapshots/main.bicep @@ -0,0 +1,89 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource capacityPool 'Microsoft.NetApp/netAppAccounts/capacityPools@2022-05-01' = { + parent: netAppAccount + location: location + name: resource_name + properties: { + serviceLevel: 'Premium' + size: 4398046511104 + } +} + +resource netAppAccount 'Microsoft.NetApp/netAppAccounts@2022-05-01' = { + location: location + name: resource_name + properties: { + activeDirectories: [] + } +} + +resource snapshot 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots@2022-05-01' = { + parent: volume + location: location + name: resource_name +} + +resource subnet 'Microsoft.Network/virtualNetworks/subnets@2022-07-01' = { + parent: virtualNetwork + name: resource_name + properties: { + addressPrefix: '10.0.2.0/24' + delegations: [ + { + name: 'netapp' + properties: { + serviceName: 'Microsoft.Netapp/volumes' + } + } + ] + privateEndpointNetworkPolicies: 'Enabled' + privateLinkServiceNetworkPolicies: 'Enabled' + serviceEndpointPolicies: [] + serviceEndpoints: [] + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.0.0.0/16' + ] + } + dhcpOptions: { + dnsServers: [] + } + subnets: [] + } +} + +resource volume 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes@2022-05-01' = { + parent: capacityPool + location: location + name: resource_name + properties: { + avsDataStore: 'Disabled' + creationToken: 'my-unique-file-path-230630033642692134' + dataProtection: {} + exportPolicy: { + rules: [] + } + networkFeatures: 'Basic' + protocolTypes: [ + 'NFSv3' + ] + securityStyle: 'Unix' + serviceLevel: 'Premium' + snapshotDirectoryVisible: false + snapshotId: '' + subnetId: subnet.id + usageThreshold: 107374182400 + volumeType: '' + } + zones: [] +} + diff --git a/settings/remarks/microsoft.netapp/netappaccounts/main.bicep b/settings/remarks/microsoft.netapp/netappaccounts/main.bicep new file mode 100644 index 0000000..6cc16e3 --- /dev/null +++ b/settings/remarks/microsoft.netapp/netappaccounts/main.bicep @@ -0,0 +1,14 @@ +param location string = 'centralus' +param resource_name string = 'acctest0001' + +resource netAppAccount 'Microsoft.NetApp/netAppAccounts@2022-05-01' = { + location: location + name: resource_name + properties: { + activeDirectories: [] + } + tags: { + SkipASMAzSecPack: 'true' + } +} + diff --git a/settings/remarks/microsoft.netapp/netappaccounts/snapshotpolicies/main.bicep b/settings/remarks/microsoft.netapp/netappaccounts/snapshotpolicies/main.bicep new file mode 100644 index 0000000..5ef364a --- /dev/null +++ b/settings/remarks/microsoft.netapp/netappaccounts/snapshotpolicies/main.bicep @@ -0,0 +1,41 @@ +param location string = 'eastus2' +param resource_name string = 'acctest0001' + +resource netAppAccount 'Microsoft.NetApp/netAppAccounts@2022-05-01' = { + location: location + name: resource_name + properties: { + activeDirectories: [] + } +} + +resource snapshotPolicy 'Microsoft.NetApp/netAppAccounts/snapshotPolicies@2022-05-01' = { + parent: netAppAccount + location: location + name: resource_name + properties: { + dailySchedule: { + hour: 22 + minute: 15 + snapshotsToKeep: 1 + } + enabled: true + hourlySchedule: { + minute: 15 + snapshotsToKeep: 1 + } + monthlySchedule: { + daysOfMonth: '30,15,1' + hour: 5 + minute: 0 + snapshotsToKeep: 1 + } + weeklySchedule: { + day: 'Monday,Friday' + hour: 23 + minute: 0 + snapshotsToKeep: 1 + } + } +} + diff --git a/settings/remarks/microsoft.netapp/remarks.json b/settings/remarks/microsoft.netapp/remarks.json new file mode 100644 index 0000000..275687c --- /dev/null +++ b/settings/remarks/microsoft.netapp/remarks.json @@ -0,0 +1,30 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.NetApp/netAppAccounts", + "Path": "netappaccounts/main.bicep", + "Description": "Basic sample for Microsoft.NetApp/netAppAccounts@2022-05-01." + }, + { + "ResourceType": "Microsoft.NetApp/netAppAccounts", + "Path": "netappaccounts/capacitypools/main.bicep", + "Description": "Basic sample for Microsoft.NetApp/netAppAccounts/capacityPools@2022-05-01." + }, + { + "ResourceType": "Microsoft.NetApp/netAppAccounts", + "Path": "netappaccounts/capacitypools/volumes/main.bicep", + "Description": "Basic sample for Microsoft.NetApp/netAppAccounts/capacityPools/volumes@2022-05-01." + }, + { + "ResourceType": "Microsoft.NetApp/netAppAccounts", + "Path": "netappaccounts/capacitypools/volumes/snapshots/main.bicep", + "Description": "Basic sample for Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots@2022-05-01." + }, + { + "ResourceType": "Microsoft.NetApp/netAppAccounts", + "Path": "netappaccounts/snapshotpolicies/main.bicep", + "Description": "Basic sample for Microsoft.NetApp/netAppAccounts/snapshotPolicies@2022-05-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.network/applicationgatewaywebapplicationfirewallpolicies/main.bicep b/settings/remarks/microsoft.network/applicationgatewaywebapplicationfirewallpolicies/main.bicep new file mode 100644 index 0000000..8955491 --- /dev/null +++ b/settings/remarks/microsoft.network/applicationgatewaywebapplicationfirewallpolicies/main.bicep @@ -0,0 +1,28 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource ApplicationGatewayWebApplicationFirewallPolicy 'Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies@2022-07-01' = { + location: location + name: resource_name + properties: { + customRules: [] + managedRules: { + exclusions: [] + managedRuleSets: [ + { + ruleGroupOverrides: [] + ruleSetType: 'OWASP' + ruleSetVersion: '3.1' + } + ] + } + policySettings: { + fileUploadLimitInMb: 100 + maxRequestBodySizeInKb: 128 + mode: 'Detection' + requestBodyCheck: true + state: 'Enabled' + } + } +} + diff --git a/settings/remarks/microsoft.network/applicationsecuritygroups/main.bicep b/settings/remarks/microsoft.network/applicationsecuritygroups/main.bicep new file mode 100644 index 0000000..2b68a34 --- /dev/null +++ b/settings/remarks/microsoft.network/applicationsecuritygroups/main.bicep @@ -0,0 +1,8 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource applicationSecurityGroup 'Microsoft.Network/applicationSecurityGroups@2022-09-01' = { + location: location + name: resource_name +} + diff --git a/settings/remarks/microsoft.network/azurefirewalls/main.bicep b/settings/remarks/microsoft.network/azurefirewalls/main.bicep new file mode 100644 index 0000000..942458a --- /dev/null +++ b/settings/remarks/microsoft.network/azurefirewalls/main.bicep @@ -0,0 +1,75 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource azureFirewall 'Microsoft.Network/azureFirewalls@2022-07-01' = { + location: location + name: resource_name + properties: { + additionalProperties: {} + ipConfigurations: [ + { + name: 'configuration' + properties: { + publicIPAddress: { + id: publicIPAddress.id + } + subnet: { + id: subnet.id + } + } + } + ] + sku: { + name: 'AZFW_VNet' + tier: 'Standard' + } + threatIntelMode: 'Deny' + } +} + +resource publicIPAddress 'Microsoft.Network/publicIPAddresses@2022-07-01' = { + location: location + name: resource_name + properties: { + ddosSettings: { + protectionMode: 'VirtualNetworkInherited' + } + idleTimeoutInMinutes: 4 + publicIPAddressVersion: 'IPv4' + publicIPAllocationMethod: 'Static' + } + sku: { + name: 'Standard' + tier: 'Regional' + } +} + +resource subnet 'Microsoft.Network/virtualNetworks/subnets@2022-07-01' = { + parent: virtualNetwork + name: 'AzureFirewallSubnet' + properties: { + addressPrefix: '10.0.1.0/24' + delegations: [] + privateEndpointNetworkPolicies: 'Enabled' + privateLinkServiceNetworkPolicies: 'Enabled' + serviceEndpointPolicies: [] + serviceEndpoints: [] + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.0.0.0/16' + ] + } + dhcpOptions: { + dnsServers: [] + } + subnets: [] + } +} + diff --git a/settings/remarks/microsoft.network/bastionhosts/main.bicep b/settings/remarks/microsoft.network/bastionhosts/main.bicep new file mode 100644 index 0000000..31ea5b7 --- /dev/null +++ b/settings/remarks/microsoft.network/bastionhosts/main.bicep @@ -0,0 +1,78 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource bastionHost 'Microsoft.Network/bastionHosts@2022-07-01' = { + location: location + name: resource_name + properties: { + disableCopyPaste: false + enableFileCopy: false + enableIpConnect: false + enableShareableLink: false + enableTunneling: false + ipConfigurations: [ + { + name: 'ip-configuration' + properties: { + publicIPAddress: { + id: publicIPAddress.id + } + subnet: { + id: subnet.id + } + } + } + ] + scaleUnits: 2 + } + sku: { + name: 'Basic' + } +} + +resource publicIPAddress 'Microsoft.Network/publicIPAddresses@2022-07-01' = { + location: location + name: resource_name + properties: { + ddosSettings: { + protectionMode: 'VirtualNetworkInherited' + } + idleTimeoutInMinutes: 4 + publicIPAddressVersion: 'IPv4' + publicIPAllocationMethod: 'Static' + } + sku: { + name: 'Standard' + tier: 'Regional' + } +} + +resource subnet 'Microsoft.Network/virtualNetworks/subnets@2022-07-01' = { + parent: virtualNetwork + name: 'AzureBastionSubnet' + properties: { + addressPrefix: '192.168.1.224/27' + delegations: [] + privateEndpointNetworkPolicies: 'Enabled' + privateLinkServiceNetworkPolicies: 'Enabled' + serviceEndpointPolicies: [] + serviceEndpoints: [] + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '192.168.1.0/24' + ] + } + dhcpOptions: { + dnsServers: [] + } + subnets: [] + } +} + diff --git a/settings/remarks/microsoft.network/ddosprotectionplans/main.bicep b/settings/remarks/microsoft.network/ddosprotectionplans/main.bicep new file mode 100644 index 0000000..394b388 --- /dev/null +++ b/settings/remarks/microsoft.network/ddosprotectionplans/main.bicep @@ -0,0 +1,8 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource ddosProtectionPlan 'Microsoft.Network/ddosProtectionPlans@2022-07-01' = { + location: location + name: resource_name +} + diff --git a/settings/remarks/microsoft.network/dnsforwardingrulesets/forwardingrules/main.bicep b/settings/remarks/microsoft.network/dnsforwardingrulesets/forwardingrules/main.bicep new file mode 100644 index 0000000..0bb6fcc --- /dev/null +++ b/settings/remarks/microsoft.network/dnsforwardingrulesets/forwardingrules/main.bicep @@ -0,0 +1,88 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource dnsForwardingRuleset 'Microsoft.Network/dnsForwardingRulesets@2022-07-01' = { + location: location + name: resource_name + properties: { + dnsResolverOutboundEndpoints: [ + { + id: outboundEndpoint.id + } + ] + } +} + +resource dnsResolver 'Microsoft.Network/dnsResolvers@2022-07-01' = { + location: location + name: resource_name + properties: { + virtualNetwork: { + id: virtualNetwork.id + } + } +} + +resource forwardingRule 'Microsoft.Network/dnsForwardingRulesets/forwardingRules@2022-07-01' = { + parent: dnsForwardingRuleset + name: resource_name + properties: { + domainName: 'onprem.local.' + forwardingRuleState: 'Enabled' + metadata: null + targetDnsServers: [ + { + ipAddress: '10.10.0.1' + port: 53 + } + ] + } +} + +resource outboundEndpoint 'Microsoft.Network/dnsResolvers/outboundEndpoints@2022-07-01' = { + parent: dnsResolver + location: location + name: resource_name + properties: { + subnet: { + id: subnet.id + } + } +} + +resource subnet 'Microsoft.Network/virtualNetworks/subnets@2022-07-01' = { + parent: virtualNetwork + name: 'outbounddns' + properties: { + addressPrefix: '10.0.0.64/28' + delegations: [ + { + name: 'Microsoft.Network.dnsResolvers' + properties: { + serviceName: 'Microsoft.Network/dnsResolvers' + } + } + ] + privateEndpointNetworkPolicies: 'Enabled' + privateLinkServiceNetworkPolicies: 'Enabled' + serviceEndpointPolicies: [] + serviceEndpoints: [] + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.0.0.0/16' + ] + } + dhcpOptions: { + dnsServers: [] + } + subnets: [] + } +} + diff --git a/settings/remarks/microsoft.network/dnsforwardingrulesets/main.bicep b/settings/remarks/microsoft.network/dnsforwardingrulesets/main.bicep new file mode 100644 index 0000000..9b434e7 --- /dev/null +++ b/settings/remarks/microsoft.network/dnsforwardingrulesets/main.bicep @@ -0,0 +1,72 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource dnsForwardingRuleset 'Microsoft.Network/dnsForwardingRulesets@2022-07-01' = { + location: location + name: resource_name + properties: { + dnsResolverOutboundEndpoints: [ + { + id: outboundEndpoint.id + } + ] + } +} + +resource dnsResolver 'Microsoft.Network/dnsResolvers@2022-07-01' = { + location: location + name: resource_name + properties: { + virtualNetwork: { + id: virtualNetwork.id + } + } +} + +resource outboundEndpoint 'Microsoft.Network/dnsResolvers/outboundEndpoints@2022-07-01' = { + parent: dnsResolver + location: location + name: resource_name + properties: { + subnet: { + id: subnet.id + } + } +} + +resource subnet 'Microsoft.Network/virtualNetworks/subnets@2022-07-01' = { + parent: virtualNetwork + name: 'outbounddns' + properties: { + addressPrefix: '10.0.0.64/28' + delegations: [ + { + name: 'Microsoft.Network.dnsResolvers' + properties: { + serviceName: 'Microsoft.Network/dnsResolvers' + } + } + ] + privateEndpointNetworkPolicies: 'Enabled' + privateLinkServiceNetworkPolicies: 'Enabled' + serviceEndpointPolicies: [] + serviceEndpoints: [] + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.0.0.0/16' + ] + } + dhcpOptions: { + dnsServers: [] + } + subnets: [] + } +} + diff --git a/settings/remarks/microsoft.network/dnsforwardingrulesets/virtualnetworklinks/main.bicep b/settings/remarks/microsoft.network/dnsforwardingrulesets/virtualnetworklinks/main.bicep new file mode 100644 index 0000000..94b281f --- /dev/null +++ b/settings/remarks/microsoft.network/dnsforwardingrulesets/virtualnetworklinks/main.bicep @@ -0,0 +1,83 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource dnsForwardingRuleset 'Microsoft.Network/dnsForwardingRulesets@2022-07-01' = { + location: location + name: resource_name + properties: { + dnsResolverOutboundEndpoints: [ + { + id: outboundEndpoint.id + } + ] + } +} + +resource dnsResolver 'Microsoft.Network/dnsResolvers@2022-07-01' = { + location: location + name: resource_name + properties: { + virtualNetwork: { + id: virtualNetwork.id + } + } +} + +resource outboundEndpoint 'Microsoft.Network/dnsResolvers/outboundEndpoints@2022-07-01' = { + parent: dnsResolver + location: location + name: resource_name + properties: { + subnet: { + id: subnet.id + } + } +} + +resource subnet 'Microsoft.Network/virtualNetworks/subnets@2022-07-01' = { + parent: virtualNetwork + name: 'outbounddns' + properties: { + addressPrefix: '10.0.0.64/28' + delegations: [ + { + name: 'Microsoft.Network.dnsResolvers' + properties: { + serviceName: 'Microsoft.Network/dnsResolvers' + } + } + ] + privateEndpointNetworkPolicies: 'Enabled' + privateLinkServiceNetworkPolicies: 'Enabled' + serviceEndpointPolicies: [] + serviceEndpoints: [] + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.0.0.0/16' + ] + } + dhcpOptions: { + dnsServers: [] + } + subnets: [] + } +} + +resource virtualNetworkLink 'Microsoft.Network/dnsForwardingRulesets/virtualNetworkLinks@2022-07-01' = { + parent: dnsForwardingRuleset + name: resource_name + properties: { + metadata: null + virtualNetwork: { + id: virtualNetwork.id + } + } +} + diff --git a/settings/remarks/microsoft.network/dnsresolvers/inboundendpoints/main.bicep b/settings/remarks/microsoft.network/dnsresolvers/inboundendpoints/main.bicep new file mode 100644 index 0000000..82e84a8 --- /dev/null +++ b/settings/remarks/microsoft.network/dnsresolvers/inboundendpoints/main.bicep @@ -0,0 +1,65 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource dnsResolver 'Microsoft.Network/dnsResolvers@2022-07-01' = { + location: location + name: resource_name + properties: { + virtualNetwork: { + id: virtualNetwork.id + } + } +} + +resource inboundEndpoint 'Microsoft.Network/dnsResolvers/inboundEndpoints@2022-07-01' = { + parent: dnsResolver + location: location + name: resource_name + properties: { + ipConfigurations: [ + { + privateIpAllocationMethod: 'Dynamic' + subnet: { + id: subnet.id + } + } + ] + } +} + +resource subnet 'Microsoft.Network/virtualNetworks/subnets@2022-07-01' = { + parent: virtualNetwork + name: 'inbounddns' + properties: { + addressPrefix: '10.0.0.0/28' + delegations: [ + { + name: 'Microsoft.Network.dnsResolvers' + properties: { + serviceName: 'Microsoft.Network/dnsResolvers' + } + } + ] + privateEndpointNetworkPolicies: 'Enabled' + privateLinkServiceNetworkPolicies: 'Enabled' + serviceEndpointPolicies: [] + serviceEndpoints: [] + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.0.0.0/16' + ] + } + dhcpOptions: { + dnsServers: [] + } + subnets: [] + } +} + diff --git a/settings/remarks/microsoft.network/dnsresolvers/main.bicep b/settings/remarks/microsoft.network/dnsresolvers/main.bicep new file mode 100644 index 0000000..1666e1a --- /dev/null +++ b/settings/remarks/microsoft.network/dnsresolvers/main.bicep @@ -0,0 +1,29 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource dnsResolver 'Microsoft.Network/dnsResolvers@2022-07-01' = { + location: location + name: resource_name + properties: { + virtualNetwork: { + id: virtualNetwork.id + } + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.0.0.0/16' + ] + } + dhcpOptions: { + dnsServers: [] + } + subnets: [] + } +} + diff --git a/settings/remarks/microsoft.network/dnsresolvers/outboundendpoints/main.bicep b/settings/remarks/microsoft.network/dnsresolvers/outboundendpoints/main.bicep new file mode 100644 index 0000000..c007308 --- /dev/null +++ b/settings/remarks/microsoft.network/dnsresolvers/outboundendpoints/main.bicep @@ -0,0 +1,60 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource dnsResolver 'Microsoft.Network/dnsResolvers@2022-07-01' = { + location: location + name: resource_name + properties: { + virtualNetwork: { + id: virtualNetwork.id + } + } +} + +resource outboundEndpoint 'Microsoft.Network/dnsResolvers/outboundEndpoints@2022-07-01' = { + parent: dnsResolver + location: location + name: resource_name + properties: { + subnet: { + id: subnet.id + } + } +} + +resource subnet 'Microsoft.Network/virtualNetworks/subnets@2022-07-01' = { + parent: virtualNetwork + name: 'outbounddns' + properties: { + addressPrefix: '10.0.0.64/28' + delegations: [ + { + name: 'Microsoft.Network.dnsResolvers' + properties: { + serviceName: 'Microsoft.Network/dnsResolvers' + } + } + ] + privateEndpointNetworkPolicies: 'Enabled' + privateLinkServiceNetworkPolicies: 'Enabled' + serviceEndpointPolicies: [] + serviceEndpoints: [] + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.0.0.0/16' + ] + } + dhcpOptions: { + dnsServers: [] + } + subnets: [] + } +} + diff --git a/settings/remarks/microsoft.network/dnszones/a/main.bicep b/settings/remarks/microsoft.network/dnszones/a/main.bicep new file mode 100644 index 0000000..dfb71cc --- /dev/null +++ b/settings/remarks/microsoft.network/dnszones/a/main.bicep @@ -0,0 +1,26 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource A 'Microsoft.Network/dnsZones/A@2018-05-01' = { + parent: dnsZone + name: resource_name + properties: { + ARecords: [ + { + ipv4Address: '1.2.4.5' + } + { + ipv4Address: '1.2.3.4' + } + ] + TTL: 300 + metadata: {} + targetResource: {} + } +} + +resource dnsZone 'Microsoft.Network/dnsZones@2018-05-01' = { + location: 'global' + name: '${resource_name}.com' +} + diff --git a/settings/remarks/microsoft.network/dnszones/aaaa/main.bicep b/settings/remarks/microsoft.network/dnszones/aaaa/main.bicep new file mode 100644 index 0000000..27d4248 --- /dev/null +++ b/settings/remarks/microsoft.network/dnszones/aaaa/main.bicep @@ -0,0 +1,26 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource AAAA 'Microsoft.Network/dnsZones/AAAA@2018-05-01' = { + parent: dnsZone + name: resource_name + properties: { + AAAARecords: [ + { + ipv6Address: '2607:f8b0:4009:1803::1005' + } + { + ipv6Address: '2607:f8b0:4009:1803::1006' + } + ] + TTL: 300 + metadata: {} + targetResource: {} + } +} + +resource dnsZone 'Microsoft.Network/dnsZones@2018-05-01' = { + location: 'global' + name: '${resource_name}.com' +} + diff --git a/settings/remarks/microsoft.network/dnszones/caa/main.bicep b/settings/remarks/microsoft.network/dnszones/caa/main.bicep new file mode 100644 index 0000000..b32eb25 --- /dev/null +++ b/settings/remarks/microsoft.network/dnszones/caa/main.bicep @@ -0,0 +1,39 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource CAA 'Microsoft.Network/dnsZones/CAA@2018-05-01' = { + parent: dnsZone + name: resource_name + properties: { + TTL: 300 + caaRecords: [ + { + flags: 1 + tag: 'issuewild' + value: ';' + } + { + flags: 0 + tag: 'iodef' + value: 'mailto:terraform@nonexist.tld' + } + { + flags: 0 + tag: 'issue' + value: 'example.com' + } + { + flags: 0 + tag: 'issue' + value: 'example.net' + } + ] + metadata: {} + } +} + +resource dnsZone 'Microsoft.Network/dnsZones@2018-05-01' = { + location: 'global' + name: '${resource_name}.com' +} + diff --git a/settings/remarks/microsoft.network/dnszones/cname/main.bicep b/settings/remarks/microsoft.network/dnszones/cname/main.bicep new file mode 100644 index 0000000..27a85c2 --- /dev/null +++ b/settings/remarks/microsoft.network/dnszones/cname/main.bicep @@ -0,0 +1,21 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource CNAME 'Microsoft.Network/dnsZones/CNAME@2018-05-01' = { + parent: dnsZone + name: resource_name + properties: { + CNAMERecord: { + cname: '${resource_name}.webpubsub.azure.com' + } + TTL: 3600 + metadata: {} + targetResource: {} + } +} + +resource dnsZone 'Microsoft.Network/dnsZones@2018-05-01' = { + location: 'global' + name: '${resource_name}.com' +} + diff --git a/settings/remarks/microsoft.network/dnszones/main.bicep b/settings/remarks/microsoft.network/dnszones/main.bicep new file mode 100644 index 0000000..e976713 --- /dev/null +++ b/settings/remarks/microsoft.network/dnszones/main.bicep @@ -0,0 +1,8 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource dnsZone 'Microsoft.Network/dnsZones@2018-05-01' = { + location: 'global' + name: '${resource_name}.com' +} + diff --git a/settings/remarks/microsoft.network/dnszones/mx/main.bicep b/settings/remarks/microsoft.network/dnszones/mx/main.bicep new file mode 100644 index 0000000..3b8e75c --- /dev/null +++ b/settings/remarks/microsoft.network/dnszones/mx/main.bicep @@ -0,0 +1,27 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource MX 'Microsoft.Network/dnsZones/MX@2018-05-01' = { + parent: dnsZone + name: resource_name + properties: { + MXRecords: [ + { + exchange: 'mail2.contoso.com' + preference: 20 + } + { + exchange: 'mail1.contoso.com' + preference: 10 + } + ] + TTL: 300 + metadata: {} + } +} + +resource dnsZone 'Microsoft.Network/dnsZones@2018-05-01' = { + location: 'global' + name: '${resource_name}.com' +} + diff --git a/settings/remarks/microsoft.network/dnszones/ns/main.bicep b/settings/remarks/microsoft.network/dnszones/ns/main.bicep new file mode 100644 index 0000000..52806e0 --- /dev/null +++ b/settings/remarks/microsoft.network/dnszones/ns/main.bicep @@ -0,0 +1,25 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource N 'Microsoft.Network/dnsZones/NS@2018-05-01' = { + parent: dnsZone + name: resource_name + properties: { + NSRecords: [ + { + nsdname: 'ns1.contoso.com' + } + { + nsdname: 'ns2.contoso.com' + } + ] + TTL: 300 + metadata: {} + } +} + +resource dnsZone 'Microsoft.Network/dnsZones@2018-05-01' = { + location: 'global' + name: '${resource_name}.com' +} + diff --git a/settings/remarks/microsoft.network/dnszones/ptr/main.bicep b/settings/remarks/microsoft.network/dnszones/ptr/main.bicep new file mode 100644 index 0000000..d9d4c36 --- /dev/null +++ b/settings/remarks/microsoft.network/dnszones/ptr/main.bicep @@ -0,0 +1,25 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource PTR 'Microsoft.Network/dnsZones/PTR@2018-05-01' = { + parent: dnsZone + name: resource_name + properties: { + PTRRecords: [ + { + ptrdname: 'hashicorp.com' + } + { + ptrdname: 'microsoft.com' + } + ] + TTL: 300 + metadata: {} + } +} + +resource dnsZone 'Microsoft.Network/dnsZones@2018-05-01' = { + location: 'global' + name: '${resource_name}.com' +} + diff --git a/settings/remarks/microsoft.network/dnszones/srv/main.bicep b/settings/remarks/microsoft.network/dnszones/srv/main.bicep new file mode 100644 index 0000000..98bb2f4 --- /dev/null +++ b/settings/remarks/microsoft.network/dnszones/srv/main.bicep @@ -0,0 +1,31 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource SRV 'Microsoft.Network/dnsZones/SRV@2018-05-01' = { + parent: dnsZone + name: resource_name + properties: { + SRVRecords: [ + { + port: 8080 + priority: 2 + target: 'target2.contoso.com' + weight: 25 + } + { + port: 8080 + priority: 1 + target: 'target1.contoso.com' + weight: 5 + } + ] + TTL: 300 + metadata: {} + } +} + +resource dnsZone 'Microsoft.Network/dnsZones@2018-05-01' = { + location: 'global' + name: '${resource_name}.com' +} + diff --git a/settings/remarks/microsoft.network/dnszones/txt/main.bicep b/settings/remarks/microsoft.network/dnszones/txt/main.bicep new file mode 100644 index 0000000..1168136 --- /dev/null +++ b/settings/remarks/microsoft.network/dnszones/txt/main.bicep @@ -0,0 +1,31 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource TXT 'Microsoft.Network/dnsZones/TXT@2018-05-01' = { + parent: dnsZone + name: resource_name + properties: { + TTL: 300 + TXTRecords: [ + { + value: [ + 'Quick brown fox' + ] + } + { + value: [ + 'A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text.....' + '.A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text....' + '..A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......' + ] + } + ] + metadata: {} + } +} + +resource dnsZone 'Microsoft.Network/dnsZones@2018-05-01' = { + location: 'global' + name: '${resource_name}.com' +} + diff --git a/settings/remarks/microsoft.network/expressroutecircuits/authorizations/main.bicep b/settings/remarks/microsoft.network/expressroutecircuits/authorizations/main.bicep new file mode 100644 index 0000000..93aafd1 --- /dev/null +++ b/settings/remarks/microsoft.network/expressroutecircuits/authorizations/main.bicep @@ -0,0 +1,31 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource authorization 'Microsoft.Network/expressRouteCircuits/authorizations@2022-07-01' = { + parent: expressRouteCircuit + name: resource_name + properties: {} +} + +resource expressRouteCircuit 'Microsoft.Network/expressRouteCircuits@2022-07-01' = { + location: location + name: resource_name + properties: { + authorizationKey: '' + serviceProviderProperties: { + bandwidthInMbps: 50 + peeringLocation: 'Silicon Valley' + serviceProviderName: 'Equinix' + } + } + sku: { + family: 'MeteredData' + name: 'Standard_MeteredData' + tier: 'Standard' + } + tags: { + Environment: 'production' + Purpose: 'AcceptanceTests' + } +} + diff --git a/settings/remarks/microsoft.network/expressroutecircuits/main.bicep b/settings/remarks/microsoft.network/expressroutecircuits/main.bicep new file mode 100644 index 0000000..eb63b8f --- /dev/null +++ b/settings/remarks/microsoft.network/expressroutecircuits/main.bicep @@ -0,0 +1,30 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource ExpressRoutePort 'Microsoft.Network/ExpressRoutePorts@2022-07-01' = { + location: location + name: resource_name + properties: { + bandwidthInGbps: 10 + encapsulation: 'Dot1Q' + peeringLocation: 'CDC-Canberra' + } +} + +resource expressRouteCircuit 'Microsoft.Network/expressRouteCircuits@2022-07-01' = { + location: location + name: resource_name + properties: { + authorizationKey: '' + bandwidthInGbps: 5 + expressRoutePort: { + id: ExpressRoutePort.id + } + } + sku: { + family: 'MeteredData' + name: 'Premium_MeteredData' + tier: 'Premium' + } +} + diff --git a/settings/remarks/microsoft.network/expressroutecircuits/peerings/connections/main.bicep b/settings/remarks/microsoft.network/expressroutecircuits/peerings/connections/main.bicep new file mode 100644 index 0000000..8e7f285 --- /dev/null +++ b/settings/remarks/microsoft.network/expressroutecircuits/peerings/connections/main.bicep @@ -0,0 +1,103 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource ExpressRoutePort 'Microsoft.Network/ExpressRoutePorts@2022-07-01' = { + location: location + name: resource_name + properties: { + bandwidthInGbps: 10 + encapsulation: 'Dot1Q' + peeringLocation: 'Airtel-Chennai2-CLS' + } +} + +resource ExpressRoutePort2 'Microsoft.Network/ExpressRoutePorts@2022-07-01' = { + location: location + name: resource_name + properties: { + bandwidthInGbps: 10 + encapsulation: 'Dot1Q' + peeringLocation: 'CDC-Canberra' + } +} + +resource connection 'Microsoft.Network/expressRouteCircuits/peerings/connections@2022-07-01' = { + parent: peering + name: resource_name + properties: { + addressPrefix: '192.169.8.0/29' + expressRouteCircuitPeering: { + id: peering.id + } + peerExpressRouteCircuitPeering: { + id: peering2.id + } + } +} + +resource expressRouteCircuit 'Microsoft.Network/expressRouteCircuits@2022-07-01' = { + location: location + name: resource_name + properties: { + authorizationKey: '' + bandwidthInGbps: 5 + expressRoutePort: { + id: ExpressRoutePort.id + } + } + sku: { + family: 'MeteredData' + name: 'Standard_MeteredData' + tier: 'Standard' + } +} + +resource expressRouteCircuit2 'Microsoft.Network/expressRouteCircuits@2022-07-01' = { + location: location + name: resource_name + properties: { + authorizationKey: '' + bandwidthInGbps: 5 + expressRoutePort: { + id: ExpressRoutePort2.id + } + } + sku: { + family: 'MeteredData' + name: 'Standard_MeteredData' + tier: 'Standard' + } +} + +resource peering 'Microsoft.Network/expressRouteCircuits/peerings@2022-07-01' = { + parent: expressRouteCircuit + name: 'AzurePrivatePeering' + properties: { + azureASN: 12076 + gatewayManagerEtag: '' + peerASN: 100 + peeringType: 'AzurePrivatePeering' + primaryPeerAddressPrefix: '192.168.1.0/30' + secondaryPeerAddressPrefix: '192.168.1.0/30' + sharedKey: 'ItsASecret' + state: 'Enabled' + vlanId: 100 + } +} + +resource peering2 'Microsoft.Network/expressRouteCircuits/peerings@2022-07-01' = { + parent: expressRouteCircuit2 + name: 'AzurePrivatePeering' + properties: { + azureASN: 12076 + gatewayManagerEtag: '' + peerASN: 100 + peeringType: 'AzurePrivatePeering' + primaryPeerAddressPrefix: '192.168.1.0/30' + secondaryPeerAddressPrefix: '192.168.1.0/30' + sharedKey: 'ItsASecret' + state: 'Enabled' + vlanId: 100 + } +} + diff --git a/settings/remarks/microsoft.network/expressroutecircuits/peerings/main.bicep b/settings/remarks/microsoft.network/expressroutecircuits/peerings/main.bicep new file mode 100644 index 0000000..5882489 --- /dev/null +++ b/settings/remarks/microsoft.network/expressroutecircuits/peerings/main.bicep @@ -0,0 +1,46 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource ExpressRoutePort 'Microsoft.Network/ExpressRoutePorts@2022-07-01' = { + location: location + name: resource_name + properties: { + bandwidthInGbps: 10 + encapsulation: 'Dot1Q' + peeringLocation: 'CDC-Canberra' + } +} + +resource expressRouteCircuit 'Microsoft.Network/expressRouteCircuits@2022-07-01' = { + location: location + name: resource_name + properties: { + authorizationKey: '' + bandwidthInGbps: 5 + expressRoutePort: { + id: ExpressRoutePort.id + } + } + sku: { + family: 'MeteredData' + name: 'Premium_MeteredData' + tier: 'Premium' + } +} + +resource peering 'Microsoft.Network/expressRouteCircuits/peerings@2022-07-01' = { + parent: expressRouteCircuit + name: 'AzurePrivatePeering' + properties: { + azureASN: 12076 + gatewayManagerEtag: '' + peerASN: 100 + peeringType: 'AzurePrivatePeering' + primaryPeerAddressPrefix: '192.168.1.0/30' + secondaryPeerAddressPrefix: '192.168.2.0/30' + sharedKey: 'ItsASecret' + state: 'Enabled' + vlanId: 100 + } +} + diff --git a/settings/remarks/microsoft.network/expressroutegateways/expressrouteconnections/main.bicep b/settings/remarks/microsoft.network/expressroutegateways/expressrouteconnections/main.bicep new file mode 100644 index 0000000..8f93ff6 --- /dev/null +++ b/settings/remarks/microsoft.network/expressroutegateways/expressrouteconnections/main.bicep @@ -0,0 +1,102 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource ExpressRoutePort 'Microsoft.Network/ExpressRoutePorts@2022-07-01' = { + location: location + name: resource_name + properties: { + bandwidthInGbps: 10 + encapsulation: 'Dot1Q' + peeringLocation: 'CDC-Canberra' + } +} + +resource expressRouteCircuit 'Microsoft.Network/expressRouteCircuits@2022-07-01' = { + location: location + name: resource_name + properties: { + authorizationKey: '' + bandwidthInGbps: 5 + expressRoutePort: { + id: ExpressRoutePort.id + } + } + sku: { + family: 'MeteredData' + name: 'Premium_MeteredData' + tier: 'Premium' + } +} + +resource expressRouteConnection 'Microsoft.Network/expressRouteGateways/expressRouteConnections@2022-07-01' = { + parent: expressRouteGateway + name: resource_name + properties: { + enableInternetSecurity: false + expressRouteCircuitPeering: { + id: peering.id + } + expressRouteGatewayBypass: false + routingConfiguration: {} + routingWeight: 0 + } +} + +resource expressRouteGateway 'Microsoft.Network/expressRouteGateways@2022-07-01' = { + location: location + name: resource_name + properties: { + allowNonVirtualWanTraffic: false + autoScaleConfiguration: { + bounds: { + min: 1 + } + } + virtualHub: { + id: virtualHub.id + } + } +} + +resource peering 'Microsoft.Network/expressRouteCircuits/peerings@2022-07-01' = { + parent: expressRouteCircuit + name: 'AzurePrivatePeering' + properties: { + azureASN: 12076 + gatewayManagerEtag: '' + peerASN: 100 + peeringType: 'AzurePrivatePeering' + primaryPeerAddressPrefix: '192.168.1.0/30' + secondaryPeerAddressPrefix: '192.168.2.0/30' + sharedKey: 'ItsASecret' + state: 'Enabled' + vlanId: 100 + } +} + +resource virtualHub 'Microsoft.Network/virtualHubs@2022-07-01' = { + location: location + name: resource_name + properties: { + addressPrefix: '10.0.1.0/24' + hubRoutingPreference: 'ExpressRoute' + virtualRouterAutoScaleConfiguration: { + minCapacity: 2 + } + virtualWan: { + id: virtualWan.id + } + } +} + +resource virtualWan 'Microsoft.Network/virtualWans@2022-07-01' = { + location: location + name: resource_name + properties: { + allowBranchToBranchTraffic: true + disableVpnEncryption: false + office365LocalBreakoutCategory: 'None' + type: 'Standard' + } +} + diff --git a/settings/remarks/microsoft.network/expressroutegateways/main.bicep b/settings/remarks/microsoft.network/expressroutegateways/main.bicep new file mode 100644 index 0000000..8813657 --- /dev/null +++ b/settings/remarks/microsoft.network/expressroutegateways/main.bicep @@ -0,0 +1,45 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource expressRouteGateway 'Microsoft.Network/expressRouteGateways@2022-07-01' = { + location: location + name: resource_name + properties: { + allowNonVirtualWanTraffic: false + autoScaleConfiguration: { + bounds: { + min: 1 + } + } + virtualHub: { + id: virtualHub.id + } + } +} + +resource virtualHub 'Microsoft.Network/virtualHubs@2022-07-01' = { + location: location + name: resource_name + properties: { + addressPrefix: '10.0.1.0/24' + hubRoutingPreference: 'ExpressRoute' + virtualRouterAutoScaleConfiguration: { + minCapacity: 2 + } + virtualWan: { + id: virtualWan.id + } + } +} + +resource virtualWan 'Microsoft.Network/virtualWans@2022-07-01' = { + location: location + name: resource_name + properties: { + allowBranchToBranchTraffic: true + disableVpnEncryption: false + office365LocalBreakoutCategory: 'None' + type: 'Standard' + } +} + diff --git a/settings/remarks/microsoft.network/expressrouteports/authorizations/main.bicep b/settings/remarks/microsoft.network/expressrouteports/authorizations/main.bicep new file mode 100644 index 0000000..b9ef2e2 --- /dev/null +++ b/settings/remarks/microsoft.network/expressrouteports/authorizations/main.bicep @@ -0,0 +1,23 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource ExpressRoutePort 'Microsoft.Network/ExpressRoutePorts@2022-07-01' = { + location: location + name: resource_name + properties: { + bandwidthInGbps: 10 + billingType: 'MeteredData' + encapsulation: 'Dot1Q' + peeringLocation: 'Airtel-Chennai2-CLS' + } + tags: { + ENV: 'Test' + } +} + +resource authorization 'Microsoft.Network/expressRoutePorts/authorizations@2022-07-01' = { + parent: ExpressRoutePort + name: resource_name + properties: {} +} + diff --git a/settings/remarks/microsoft.network/expressrouteports/main.bicep b/settings/remarks/microsoft.network/expressrouteports/main.bicep new file mode 100644 index 0000000..47687b0 --- /dev/null +++ b/settings/remarks/microsoft.network/expressrouteports/main.bicep @@ -0,0 +1,17 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource ExpressRoutePort 'Microsoft.Network/ExpressRoutePorts@2022-07-01' = { + location: location + name: resource_name + properties: { + bandwidthInGbps: 10 + billingType: 'MeteredData' + encapsulation: 'Dot1Q' + peeringLocation: 'Airtel-Chennai2-CLS' + } + tags: { + ENV: 'Test' + } +} + diff --git a/settings/remarks/microsoft.network/firewallpolicies/main.bicep b/settings/remarks/microsoft.network/firewallpolicies/main.bicep new file mode 100644 index 0000000..288dc3f --- /dev/null +++ b/settings/remarks/microsoft.network/firewallpolicies/main.bicep @@ -0,0 +1,11 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource firewallPolicy 'Microsoft.Network/firewallPolicies@2022-07-01' = { + location: location + name: resource_name + properties: { + threatIntelMode: 'Alert' + } +} + diff --git a/settings/remarks/microsoft.network/firewallpolicies/rulecollectiongroups/main.bicep b/settings/remarks/microsoft.network/firewallpolicies/rulecollectiongroups/main.bicep new file mode 100644 index 0000000..c59d929 --- /dev/null +++ b/settings/remarks/microsoft.network/firewallpolicies/rulecollectiongroups/main.bicep @@ -0,0 +1,20 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource firewallPolicy 'Microsoft.Network/firewallPolicies@2022-07-01' = { + location: location + name: resource_name + properties: { + threatIntelMode: 'Alert' + } +} + +resource ruleCollectionGroup 'Microsoft.Network/firewallPolicies/ruleCollectionGroups@2022-07-01' = { + parent: firewallPolicy + name: resource_name + properties: { + priority: 500 + ruleCollections: [] + } +} + diff --git a/settings/remarks/microsoft.network/frontdoors/rulesengines/main.bicep b/settings/remarks/microsoft.network/frontdoors/rulesengines/main.bicep new file mode 100644 index 0000000..03d5ddd --- /dev/null +++ b/settings/remarks/microsoft.network/frontdoors/rulesengines/main.bicep @@ -0,0 +1,24 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource rulesEngine 'Microsoft.Network/frontDoors/rulesEngines@2020-05-01' = { + name: resource_name + properties: { + rules: [ + { + action: { + routeConfigurationOverride: { + '@odata.type': '#Microsoft.Azure.FrontDoor.Models.FrontdoorRedirectConfiguration' + customHost: 'customhost.org' + redirectProtocol: 'HttpsOnly' + redirectType: 'Found' + } + } + matchProcessingBehavior: 'Continue' + name: resource_name + priority: 0 + } + ] + } +} + diff --git a/settings/remarks/microsoft.network/frontdoorwebapplicationfirewallpolicies/main.bicep b/settings/remarks/microsoft.network/frontdoorwebapplicationfirewallpolicies/main.bicep new file mode 100644 index 0000000..305f8da --- /dev/null +++ b/settings/remarks/microsoft.network/frontdoorwebapplicationfirewallpolicies/main.bicep @@ -0,0 +1,70 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource FrontDoorWebApplicationFirewallPolicy 'Microsoft.Network/FrontDoorWebApplicationFirewallPolicies@2020-11-01' = { + location: 'global' + name: resource_name + properties: { + customRules: { + rules: [ + { + action: 'Block' + enabledState: 'Enabled' + matchConditions: [ + { + matchValue: [ + '192.168.1.0/24' + '10.0.0.0/24' + ] + matchVariable: 'RemoteAddr' + negateCondition: false + operator: 'IPMatch' + } + ] + name: 'Rule1' + priority: 1 + rateLimitDurationInMinutes: 1 + rateLimitThreshold: 10 + ruleType: 'MatchRule' + } + ] + } + managedRules: { + managedRuleSets: [ + { + ruleGroupOverrides: [ + { + ruleGroupName: 'PHP' + rules: [ + { + action: 'Block' + enabledState: 'Disabled' + ruleId: '933111' + } + ] + } + ] + ruleSetAction: 'Block' + ruleSetType: 'DefaultRuleSet' + ruleSetVersion: 'preview-0.1' + } + { + ruleSetAction: 'Block' + ruleSetType: 'BotProtection' + ruleSetVersion: 'preview-0.1' + } + ] + } + policySettings: { + customBlockResponseBody: 'PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==' + customBlockResponseStatusCode: 403 + enabledState: 'Enabled' + mode: 'Prevention' + redirectUrl: 'https://www.fabrikam.com' + } + } + sku: { + name: 'Premium_AzureFrontDoor' + } +} + diff --git a/settings/remarks/microsoft.network/ipgroups/main.bicep b/settings/remarks/microsoft.network/ipgroups/main.bicep new file mode 100644 index 0000000..1a2035d --- /dev/null +++ b/settings/remarks/microsoft.network/ipgroups/main.bicep @@ -0,0 +1,14 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource ipGroup 'Microsoft.Network/ipGroups@2022-07-01' = { + location: location + name: resource_name + properties: { + ipAddresses: [] + } + tags: { + env: 'prod' + } +} + diff --git a/settings/remarks/microsoft.network/loadbalancers/backendaddresspools/main.bicep b/settings/remarks/microsoft.network/loadbalancers/backendaddresspools/main.bicep new file mode 100644 index 0000000..53500e3 --- /dev/null +++ b/settings/remarks/microsoft.network/loadbalancers/backendaddresspools/main.bicep @@ -0,0 +1,47 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource backendAddressPool 'Microsoft.Network/loadBalancers/backendAddressPools@2022-07-01' = { + parent: loadBalancer + name: resource_name + properties: {} +} + +resource loadBalancer 'Microsoft.Network/loadBalancers@2022-07-01' = { + location: location + name: resource_name + properties: { + frontendIPConfigurations: [ + { + name: 'internal' + properties: { + publicIPAddress: { + id: publicIPAddress.id + } + } + } + ] + } + sku: { + name: 'Standard' + tier: 'Regional' + } +} + +resource publicIPAddress 'Microsoft.Network/publicIPAddresses@2022-07-01' = { + location: location + name: resource_name + properties: { + ddosSettings: { + protectionMode: 'VirtualNetworkInherited' + } + idleTimeoutInMinutes: 4 + publicIPAddressVersion: 'IPv4' + publicIPAllocationMethod: 'Static' + } + sku: { + name: 'Standard' + tier: 'Regional' + } +} + diff --git a/settings/remarks/microsoft.network/loadbalancers/main.bicep b/settings/remarks/microsoft.network/loadbalancers/main.bicep new file mode 100644 index 0000000..559068f --- /dev/null +++ b/settings/remarks/microsoft.network/loadbalancers/main.bicep @@ -0,0 +1,41 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource loadBalancer 'Microsoft.Network/loadBalancers@2022-07-01' = { + location: location + name: resource_name + properties: { + frontendIPConfigurations: [ + { + name: resource_name + properties: { + publicIPAddress: { + id: publicIPAddress.id + } + } + } + ] + } + sku: { + name: 'Standard' + tier: 'Regional' + } +} + +resource publicIPAddress 'Microsoft.Network/publicIPAddresses@2022-07-01' = { + location: location + name: resource_name + properties: { + ddosSettings: { + protectionMode: 'VirtualNetworkInherited' + } + idleTimeoutInMinutes: 4 + publicIPAddressVersion: 'IPv4' + publicIPAllocationMethod: 'Static' + } + sku: { + name: 'Standard' + tier: 'Regional' + } +} + diff --git a/settings/remarks/microsoft.network/localnetworkgateways/main.bicep b/settings/remarks/microsoft.network/localnetworkgateways/main.bicep new file mode 100644 index 0000000..c44fae1 --- /dev/null +++ b/settings/remarks/microsoft.network/localnetworkgateways/main.bicep @@ -0,0 +1,16 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource localNetworkGateway 'Microsoft.Network/localNetworkGateways@2022-07-01' = { + location: location + name: resource_name + properties: { + gatewayIpAddress: '168.62.225.23' + localNetworkAddressSpace: { + addressPrefixes: [ + '10.1.1.0/24' + ] + } + } +} + diff --git a/settings/remarks/microsoft.network/natgateways/main.bicep b/settings/remarks/microsoft.network/natgateways/main.bicep new file mode 100644 index 0000000..0aa2513 --- /dev/null +++ b/settings/remarks/microsoft.network/natgateways/main.bicep @@ -0,0 +1,14 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource natGateway 'Microsoft.Network/natGateways@2022-07-01' = { + location: location + name: resource_name + properties: { + idleTimeoutInMinutes: 10 + } + sku: { + name: 'Standard' + } +} + diff --git a/settings/remarks/microsoft.network/networkinterfaces/main.bicep b/settings/remarks/microsoft.network/networkinterfaces/main.bicep new file mode 100644 index 0000000..a1557de --- /dev/null +++ b/settings/remarks/microsoft.network/networkinterfaces/main.bicep @@ -0,0 +1,54 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource networkInterface 'Microsoft.Network/networkInterfaces@2022-07-01' = { + location: location + name: resource_name + properties: { + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: [ + { + name: 'testconfiguration1' + properties: { + primary: true + privateIPAddressVersion: 'IPv4' + privateIPAllocationMethod: 'Dynamic' + subnet: { + id: subnet.id + } + } + } + ] + } +} + +resource subnet 'Microsoft.Network/virtualNetworks/subnets@2022-07-01' = { + parent: virtualNetwork + name: resource_name + properties: { + addressPrefix: '10.0.2.0/24' + delegations: [] + privateEndpointNetworkPolicies: 'Enabled' + privateLinkServiceNetworkPolicies: 'Enabled' + serviceEndpointPolicies: [] + serviceEndpoints: [] + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.0.0.0/16' + ] + } + dhcpOptions: { + dnsServers: [] + } + subnets: [] + } +} + diff --git a/settings/remarks/microsoft.network/networkprofiles/main.bicep b/settings/remarks/microsoft.network/networkprofiles/main.bicep new file mode 100644 index 0000000..644b017 --- /dev/null +++ b/settings/remarks/microsoft.network/networkprofiles/main.bicep @@ -0,0 +1,63 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource networkProfile 'Microsoft.Network/networkProfiles@2022-07-01' = { + location: location + name: resource_name + properties: { + containerNetworkInterfaceConfigurations: [ + { + name: 'acctesteth-230630033653886950' + properties: { + ipConfigurations: [ + { + name: 'acctestipconfig-230630033653886950' + properties: { + subnet: { + id: subnet.id + } + } + } + ] + } + } + ] + } +} + +resource subnet 'Microsoft.Network/virtualNetworks/subnets@2022-07-01' = { + parent: virtualNetwork + name: resource_name + properties: { + addressPrefix: '10.1.0.0/24' + delegations: [ + { + name: 'acctestdelegation-230630033653886950' + properties: { + serviceName: 'Microsoft.ContainerInstance/containerGroups' + } + } + ] + privateEndpointNetworkPolicies: 'Enabled' + privateLinkServiceNetworkPolicies: 'Enabled' + serviceEndpointPolicies: [] + serviceEndpoints: [] + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.1.0.0/16' + ] + } + dhcpOptions: { + dnsServers: [] + } + subnets: [] + } +} + diff --git a/settings/remarks/microsoft.network/networksecuritygroups/main.bicep b/settings/remarks/microsoft.network/networksecuritygroups/main.bicep new file mode 100644 index 0000000..2141c1c --- /dev/null +++ b/settings/remarks/microsoft.network/networksecuritygroups/main.bicep @@ -0,0 +1,11 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource networkSecurityGroup 'Microsoft.Network/networkSecurityGroups@2022-07-01' = { + location: location + name: resource_name + properties: { + securityRules: [] + } +} + diff --git a/settings/remarks/microsoft.network/networksecuritygroups/securityrules/main.bicep b/settings/remarks/microsoft.network/networksecuritygroups/securityrules/main.bicep new file mode 100644 index 0000000..4221e72 --- /dev/null +++ b/settings/remarks/microsoft.network/networksecuritygroups/securityrules/main.bicep @@ -0,0 +1,33 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource networkSecurityGroup 'Microsoft.Network/networkSecurityGroups@2022-07-01' = { + location: location + name: 'mi-security-group1-230630034008554952' + properties: { + securityRules: [] + } +} + +resource securityRule 'Microsoft.Network/networkSecurityGroups/securityRules@2022-09-01' = { + parent: networkSecurityGroup + name: 'allow_management_inbound' + properties: { + access: 'Allow' + destinationAddressPrefix: '*' + destinationPortRange: '' + destinationPortRanges: [ + '9000' + '1438' + '1440' + '9003' + '1452' + ] + direction: 'Inbound' + priority: 106 + protocol: 'Tcp' + sourceAddressPrefix: '*' + sourcePortRange: '*' + } +} + diff --git a/settings/remarks/microsoft.network/networkwatchers/flowlogs/main.bicep b/settings/remarks/microsoft.network/networkwatchers/flowlogs/main.bicep new file mode 100644 index 0000000..a87276a --- /dev/null +++ b/settings/remarks/microsoft.network/networkwatchers/flowlogs/main.bicep @@ -0,0 +1,85 @@ +param location string = 'eastus2' +param resource_name string = 'acctest0001' + +resource flowLog 'Microsoft.Network/networkWatchers/flowLogs@2023-11-01' = { + parent: networkWatchers + location: location + name: resource_name + properties: { + enabled: true + flowAnalyticsConfiguration: { + networkWatcherFlowAnalyticsConfiguration: { + enabled: false + } + } + format: { + type: 'JSON' + version: 2 + } + retentionPolicy: { + days: 7 + enabled: true + } + storageId: storageAccount.id + targetResourceId: virtualNetwork.id + } +} + +resource networkWatchers 'Microsoft.Network/networkWatchers@2023-11-01' = { + location: location + name: resource_name + properties: {} +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: { + accessTier: 'Hot' + allowBlobPublicAccess: true + allowCrossTenantReplication: true + allowSharedKeyAccess: true + defaultToOAuthAuthentication: false + encryption: { + keySource: 'Microsoft.Storage' + services: { + queue: { + keyType: 'Service' + } + table: { + keyType: 'Service' + } + } + } + isHnsEnabled: false + isNfsV3Enabled: false + isSftpEnabled: false + minimumTlsVersion: 'TLS1_2' + networkAcls: { + defaultAction: 'Allow' + } + publicNetworkAccess: 'Enabled' + supportsHttpsTrafficOnly: true + } + sku: { + name: 'Standard_LRS' + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.0.0.0/16' + ] + } + dhcpOptions: { + dnsServers: [] + } + subnets: [] + } +} + diff --git a/settings/remarks/microsoft.network/p2svpngateways/main.bicep b/settings/remarks/microsoft.network/p2svpngateways/main.bicep new file mode 100644 index 0000000..93c1f2c --- /dev/null +++ b/settings/remarks/microsoft.network/p2svpngateways/main.bicep @@ -0,0 +1,79 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource p2svpnGateway 'Microsoft.Network/p2svpnGateways@2022-07-01' = { + location: location + name: resource_name + properties: { + isRoutingPreferenceInternet: false + p2SConnectionConfigurations: [ + { + name: 'first' + properties: { + enableInternetSecurity: false + vpnClientAddressPool: { + addressPrefixes: [ + '172.100.0.0/14' + ] + } + } + } + ] + virtualHub: { + id: virtualHub.id + } + vpnGatewayScaleUnit: 1 + vpnServerConfiguration: { + id: vpnServerConfiguration.id + } + } +} + +resource virtualHub 'Microsoft.Network/virtualHubs@2022-07-01' = { + location: location + name: resource_name + properties: { + addressPrefix: '10.0.1.0/24' + hubRoutingPreference: 'ExpressRoute' + virtualRouterAutoScaleConfiguration: { + minCapacity: 2 + } + virtualWan: { + id: virtualWan.id + } + } +} + +resource virtualWan 'Microsoft.Network/virtualWans@2022-07-01' = { + location: location + name: resource_name + properties: { + allowBranchToBranchTraffic: true + disableVpnEncryption: false + office365LocalBreakoutCategory: 'None' + type: 'Standard' + } +} + +resource vpnServerConfiguration 'Microsoft.Network/vpnServerConfigurations@2022-07-01' = { + location: location + name: resource_name + properties: { + vpnAuthenticationTypes: [ + 'Certificate' + ] + vpnClientIpsecPolicies: [] + vpnClientRevokedCertificates: [] + vpnClientRootCertificates: [ + { + name: 'DigiCert-Federated-ID-Root-CA' + publicCertData: 'MIIDuzCCAqOgAwIBAgIQCHTZWCM+IlfFIRXIvyKSrjANBgkqhkiG9w0BAQsFADBn\nMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3\nd3cuZGlnaWNlcnQuY29tMSYwJAYDVQQDEx1EaWdpQ2VydCBGZWRlcmF0ZWQgSUQg\nUm9vdCBDQTAeFw0xMzAxMTUxMjAwMDBaFw0zMzAxMTUxMjAwMDBaMGcxCzAJBgNV\nBAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdp\nY2VydC5jb20xJjAkBgNVBAMTHURpZ2lDZXJ0IEZlZGVyYXRlZCBJRCBSb290IENB\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvAEB4pcCqnNNOWE6Ur5j\nQPUH+1y1F9KdHTRSza6k5iDlXq1kGS1qAkuKtw9JsiNRrjltmFnzMZRBbX8Tlfl8\nzAhBmb6dDduDGED01kBsTkgywYPxXVTKec0WxYEEF0oMn4wSYNl0lt2eJAKHXjNf\nGTwiibdP8CUR2ghSM2sUTI8Nt1Omfc4SMHhGhYD64uJMbX98THQ/4LMGuYegou+d\nGTiahfHtjn7AboSEknwAMJHCh5RlYZZ6B1O4QbKJ+34Q0eKgnI3X6Vc9u0zf6DH8\nDk+4zQDYRRTqTnVO3VT8jzqDlCRuNtq6YvryOWN74/dq8LQhUnXHvFyrsdMaE1X2\nDwIDAQABo2MwYTAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjAdBgNV\nHQ4EFgQUGRdkFnbGt1EWjKwbUne+5OaZvRYwHwYDVR0jBBgwFoAUGRdkFnbGt1EW\njKwbUne+5OaZvRYwDQYJKoZIhvcNAQELBQADggEBAHcqsHkrjpESqfuVTRiptJfP\n9JbdtWqRTmOf6uJi2c8YVqI6XlKXsD8C1dUUaaHKLUJzvKiazibVuBwMIT84AyqR\nQELn3e0BtgEymEygMU569b01ZPxoFSnNXc7qDZBDef8WfqAV/sxkTi8L9BkmFYfL\nuGLOhRJOFprPdoDIUBB+tmCl3oDcBy3vnUeOEioz8zAkprcb3GHwHAK+vHmmfgcn\nWsfMLH4JCLa/tRYL+Rw/N3ybCkDp00s0WUZ+AoDywSl0Q/ZEnNY0MsFiw6LyIdbq\nM/s/1JRtO3bDSzD9TazRVzn2oBqzSa8VgIo5C1nOnoAKJTlsClJKvIhnRlaLQqk=\n' + } + ] + vpnProtocols: [ + 'OpenVPN' + 'IkeV2' + ] + } +} + diff --git a/settings/remarks/microsoft.network/privatednszones/a/main.bicep b/settings/remarks/microsoft.network/privatednszones/a/main.bicep new file mode 100644 index 0000000..830272c --- /dev/null +++ b/settings/remarks/microsoft.network/privatednszones/a/main.bicep @@ -0,0 +1,25 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource A 'Microsoft.Network/privateDnsZones/A@2018-09-01' = { + parent: privateDnsZone + name: resource_name + properties: { + aRecords: [ + { + ipv4Address: '1.2.4.5' + } + { + ipv4Address: '1.2.3.4' + } + ] + metadata: {} + ttl: 300 + } +} + +resource privateDnsZone 'Microsoft.Network/privateDnsZones@2018-09-01' = { + location: 'global' + name: '${resource_name}.com' +} + diff --git a/settings/remarks/microsoft.network/privatednszones/aaaa/main.bicep b/settings/remarks/microsoft.network/privatednszones/aaaa/main.bicep new file mode 100644 index 0000000..5d81a8a --- /dev/null +++ b/settings/remarks/microsoft.network/privatednszones/aaaa/main.bicep @@ -0,0 +1,25 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource AAAA 'Microsoft.Network/privateDnsZones/AAAA@2018-09-01' = { + parent: privateDnsZone + name: resource_name + properties: { + aaaaRecords: [ + { + ipv6Address: 'fd5d:70bc:930e:d008:0000:0000:0000:7334' + } + { + ipv6Address: 'fd5d:70bc:930e:d008::7335' + } + ] + metadata: {} + ttl: 300 + } +} + +resource privateDnsZone 'Microsoft.Network/privateDnsZones@2018-09-01' = { + location: 'global' + name: '${resource_name}.com' +} + diff --git a/settings/remarks/microsoft.network/privatednszones/cname/main.bicep b/settings/remarks/microsoft.network/privatednszones/cname/main.bicep new file mode 100644 index 0000000..65dbd21 --- /dev/null +++ b/settings/remarks/microsoft.network/privatednszones/cname/main.bicep @@ -0,0 +1,20 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource CNAME 'Microsoft.Network/privateDnsZones/CNAME@2018-09-01' = { + parent: privateDnsZone + name: resource_name + properties: { + cnameRecord: { + cname: 'contoso.com' + } + metadata: {} + ttl: 300 + } +} + +resource privateDnsZone 'Microsoft.Network/privateDnsZones@2018-09-01' = { + location: 'global' + name: '${resource_name}.com' +} + diff --git a/settings/remarks/microsoft.network/privatednszones/main.bicep b/settings/remarks/microsoft.network/privatednszones/main.bicep new file mode 100644 index 0000000..bcffdff --- /dev/null +++ b/settings/remarks/microsoft.network/privatednszones/main.bicep @@ -0,0 +1,8 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource privateDnsZone 'Microsoft.Network/privateDnsZones@2018-09-01' = { + location: 'global' + name: '${resource_name}.com' +} + diff --git a/settings/remarks/microsoft.network/privatednszones/mx/main.bicep b/settings/remarks/microsoft.network/privatednszones/mx/main.bicep new file mode 100644 index 0000000..d8dbe2f --- /dev/null +++ b/settings/remarks/microsoft.network/privatednszones/mx/main.bicep @@ -0,0 +1,27 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource MX 'Microsoft.Network/privateDnsZones/MX@2018-09-01' = { + parent: privateDnsZone + name: resource_name + properties: { + metadata: {} + mxRecords: [ + { + exchange: 'mx1.contoso.com' + preference: 10 + } + { + exchange: 'mx2.contoso.com' + preference: 10 + } + ] + ttl: 300 + } +} + +resource privateDnsZone 'Microsoft.Network/privateDnsZones@2018-09-01' = { + location: 'global' + name: '${resource_name}.com' +} + diff --git a/settings/remarks/microsoft.network/privatednszones/ptr/main.bicep b/settings/remarks/microsoft.network/privatednszones/ptr/main.bicep new file mode 100644 index 0000000..65fcf2c --- /dev/null +++ b/settings/remarks/microsoft.network/privatednszones/ptr/main.bicep @@ -0,0 +1,25 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource PTR 'Microsoft.Network/privateDnsZones/PTR@2018-09-01' = { + parent: privateDnsZone + name: resource_name + properties: { + metadata: {} + ptrRecords: [ + { + ptrdname: 'test2.contoso.com' + } + { + ptrdname: 'test.contoso.com' + } + ] + ttl: 300 + } +} + +resource privateDnsZone 'Microsoft.Network/privateDnsZones@2018-09-01' = { + location: 'global' + name: '230630033756174960.0.10.in-addr.arpa' +} + diff --git a/settings/remarks/microsoft.network/privatednszones/srv/main.bicep b/settings/remarks/microsoft.network/privatednszones/srv/main.bicep new file mode 100644 index 0000000..c99acbe --- /dev/null +++ b/settings/remarks/microsoft.network/privatednszones/srv/main.bicep @@ -0,0 +1,31 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource SRV 'Microsoft.Network/privateDnsZones/SRV@2018-09-01' = { + parent: privateDnsZone + name: resource_name + properties: { + metadata: {} + srvRecords: [ + { + port: 8080 + priority: 10 + target: 'target2.contoso.com' + weight: 10 + } + { + port: 8080 + priority: 1 + target: 'target1.contoso.com' + weight: 5 + } + ] + ttl: 300 + } +} + +resource privateDnsZone 'Microsoft.Network/privateDnsZones@2018-09-01' = { + location: 'global' + name: '${resource_name}.com' +} + diff --git a/settings/remarks/microsoft.network/privatednszones/txt/main.bicep b/settings/remarks/microsoft.network/privatednszones/txt/main.bicep new file mode 100644 index 0000000..ba37624 --- /dev/null +++ b/settings/remarks/microsoft.network/privatednszones/txt/main.bicep @@ -0,0 +1,31 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource TXT 'Microsoft.Network/privateDnsZones/TXT@2018-09-01' = { + parent: privateDnsZone + name: resource_name + properties: { + metadata: {} + ttl: 300 + txtRecords: [ + { + value: [ + 'Quick brown fox' + ] + } + { + value: [ + 'A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text.....' + '.A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text....' + '..A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......' + ] + } + ] + } +} + +resource privateDnsZone 'Microsoft.Network/privateDnsZones@2018-09-01' = { + location: 'global' + name: '${resource_name}.com' +} + diff --git a/settings/remarks/microsoft.network/privatednszones/virtualnetworklinks/main.bicep b/settings/remarks/microsoft.network/privatednszones/virtualnetworklinks/main.bicep new file mode 100644 index 0000000..3c5fb44 --- /dev/null +++ b/settings/remarks/microsoft.network/privatednszones/virtualnetworklinks/main.bicep @@ -0,0 +1,43 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource privateDnsZone 'Microsoft.Network/privateDnsZones@2018-09-01' = { + location: 'global' + name: '${resource_name}.com' +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.0.0.0/16' + ] + } + dhcpOptions: { + dnsServers: [] + } + subnets: [ + { + name: 'subnet1' + properties: { + addressPrefix: '10.0.1.0/24' + } + } + ] + } +} + +resource virtualNetworkLink 'Microsoft.Network/privateDnsZones/virtualNetworkLinks@2018-09-01' = { + parent: privateDnsZone + location: 'global' + name: resource_name + properties: { + registrationEnabled: false + virtualNetwork: { + id: virtualNetwork.id + } + } +} + diff --git a/settings/remarks/microsoft.network/publicipaddresses/main.bicep b/settings/remarks/microsoft.network/publicipaddresses/main.bicep new file mode 100644 index 0000000..51dc630 --- /dev/null +++ b/settings/remarks/microsoft.network/publicipaddresses/main.bicep @@ -0,0 +1,20 @@ +param location string = 'centralus' +param resource_name string = 'acctest0001' + +resource publicIPAddress 'Microsoft.Network/publicIPAddresses@2022-07-01' = { + location: location + name: resource_name + properties: { + ddosSettings: { + protectionMode: 'VirtualNetworkInherited' + } + idleTimeoutInMinutes: 4 + publicIPAddressVersion: 'IPv4' + publicIPAllocationMethod: 'Static' + } + sku: { + name: 'Standard' + tier: 'Regional' + } +} + diff --git a/settings/remarks/microsoft.network/publicipprefixes/main.bicep b/settings/remarks/microsoft.network/publicipprefixes/main.bicep new file mode 100644 index 0000000..ff3d42e --- /dev/null +++ b/settings/remarks/microsoft.network/publicipprefixes/main.bicep @@ -0,0 +1,18 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource publicIPPrefix 'Microsoft.Network/publicIPPrefixes@2022-07-01' = { + location: location + name: resource_name + properties: { + prefixLength: 30 + publicIPAddressVersion: 'IPv4' + } + sku: { + name: 'Standard' + } + zones: [ + '1' + ] +} + diff --git a/settings/remarks/microsoft.network/remarks.json b/settings/remarks/microsoft.network/remarks.json index c24c8bc..798b77b 100644 --- a/settings/remarks/microsoft.network/remarks.json +++ b/settings/remarks/microsoft.network/remarks.json @@ -21,5 +21,392 @@ ], "Description": "For guidance on creating virtual networks and subnets, see [Create virtual network resources by using Bicep](/azure/azure-resource-manager/bicep/scenarios-virtual-networks)." } + ], + "BicepSamples": [ + { + "ResourceType": "Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies", + "Path": "applicationgatewaywebapplicationfirewallpolicies/main.bicep", + "Description": "Basic sample for Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/ExpressRoutePorts", + "Path": "expressrouteports/main.bicep", + "Description": "Basic sample for Microsoft.Network/ExpressRoutePorts@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/FrontDoorWebApplicationFirewallPolicies", + "Path": "frontdoorwebapplicationfirewallpolicies/main.bicep", + "Description": "Basic sample for Microsoft.Network/FrontDoorWebApplicationFirewallPolicies@2020-11-01." + }, + { + "ResourceType": "Microsoft.Network/applicationSecurityGroups", + "Path": "applicationsecuritygroups/main.bicep", + "Description": "Basic sample for Microsoft.Network/applicationSecurityGroups@2022-09-01." + }, + { + "ResourceType": "Microsoft.Network/azureFirewalls", + "Path": "azurefirewalls/main.bicep", + "Description": "Basic sample for Microsoft.Network/azureFirewalls@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/bastionHosts", + "Path": "bastionhosts/main.bicep", + "Description": "Basic sample for Microsoft.Network/bastionHosts@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/ddosProtectionPlans", + "Path": "ddosprotectionplans/main.bicep", + "Description": "Basic sample for Microsoft.Network/ddosProtectionPlans@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/dnsForwardingRulesets", + "Path": "dnsforwardingrulesets/main.bicep", + "Description": "Basic sample for Microsoft.Network/dnsForwardingRulesets@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/dnsForwardingRulesets", + "Path": "dnsforwardingrulesets/forwardingrules/main.bicep", + "Description": "Basic sample for Microsoft.Network/dnsForwardingRulesets/forwardingRules@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/dnsForwardingRulesets", + "Path": "dnsforwardingrulesets/virtualnetworklinks/main.bicep", + "Description": "Basic sample for Microsoft.Network/dnsForwardingRulesets/virtualNetworkLinks@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/dnsResolvers", + "Path": "dnsresolvers/main.bicep", + "Description": "Basic sample for Microsoft.Network/dnsResolvers@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/dnsResolvers", + "Path": "dnsresolvers/inboundendpoints/main.bicep", + "Description": "Basic sample for Microsoft.Network/dnsResolvers/inboundEndpoints@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/dnsResolvers", + "Path": "dnsresolvers/outboundendpoints/main.bicep", + "Description": "Basic sample for Microsoft.Network/dnsResolvers/outboundEndpoints@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/dnsZones", + "Path": "dnszones/main.bicep", + "Description": "Basic sample for Microsoft.Network/dnsZones@2018-05-01." + }, + { + "ResourceType": "Microsoft.Network/dnsZones", + "Path": "dnszones/a/main.bicep", + "Description": "Basic sample for Microsoft.Network/dnsZones/A@2018-05-01." + }, + { + "ResourceType": "Microsoft.Network/dnsZones", + "Path": "dnszones/aaaa/main.bicep", + "Description": "Basic sample for Microsoft.Network/dnsZones/AAAA@2018-05-01." + }, + { + "ResourceType": "Microsoft.Network/dnsZones", + "Path": "dnszones/caa/main.bicep", + "Description": "Basic sample for Microsoft.Network/dnsZones/CAA@2018-05-01." + }, + { + "ResourceType": "Microsoft.Network/dnsZones", + "Path": "dnszones/cname/main.bicep", + "Description": "Basic sample for Microsoft.Network/dnsZones/CNAME@2018-05-01." + }, + { + "ResourceType": "Microsoft.Network/dnsZones", + "Path": "dnszones/mx/main.bicep", + "Description": "Basic sample for Microsoft.Network/dnsZones/MX@2018-05-01." + }, + { + "ResourceType": "Microsoft.Network/dnsZones", + "Path": "dnszones/ns/main.bicep", + "Description": "Basic sample for Microsoft.Network/dnsZones/NS@2018-05-01." + }, + { + "ResourceType": "Microsoft.Network/dnsZones", + "Path": "dnszones/ptr/main.bicep", + "Description": "Basic sample for Microsoft.Network/dnsZones/PTR@2018-05-01." + }, + { + "ResourceType": "Microsoft.Network/dnsZones", + "Path": "dnszones/srv/main.bicep", + "Description": "Basic sample for Microsoft.Network/dnsZones/SRV@2018-05-01." + }, + { + "ResourceType": "Microsoft.Network/dnsZones", + "Path": "dnszones/txt/main.bicep", + "Description": "Basic sample for Microsoft.Network/dnsZones/TXT@2018-05-01." + }, + { + "ResourceType": "Microsoft.Network/expressRouteCircuits", + "Path": "expressroutecircuits/main.bicep", + "Description": "Basic sample for Microsoft.Network/expressRouteCircuits@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/expressRouteCircuits", + "Path": "expressroutecircuits/authorizations/main.bicep", + "Description": "Basic sample for Microsoft.Network/expressRouteCircuits/authorizations@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/expressRouteCircuits", + "Path": "expressroutecircuits/peerings/main.bicep", + "Description": "Basic sample for Microsoft.Network/expressRouteCircuits/peerings@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/expressRouteCircuits", + "Path": "expressroutecircuits/peerings/connections/main.bicep", + "Description": "Basic sample for Microsoft.Network/expressRouteCircuits/peerings/connections@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/expressRouteGateways", + "Path": "expressroutegateways/main.bicep", + "Description": "Basic sample for Microsoft.Network/expressRouteGateways@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/expressRouteGateways", + "Path": "expressroutegateways/expressrouteconnections/main.bicep", + "Description": "Basic sample for Microsoft.Network/expressRouteGateways/expressRouteConnections@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/expressRoutePorts", + "Path": "expressrouteports/authorizations/main.bicep", + "Description": "Basic sample for Microsoft.Network/expressRoutePorts/authorizations@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/firewallPolicies", + "Path": "firewallpolicies/main.bicep", + "Description": "Basic sample for Microsoft.Network/firewallPolicies@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/firewallPolicies", + "Path": "firewallpolicies/rulecollectiongroups/main.bicep", + "Description": "Basic sample for Microsoft.Network/firewallPolicies/ruleCollectionGroups@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/frontDoors", + "Path": "frontdoors/rulesengines/main.bicep", + "Description": "Basic sample for Microsoft.Network/frontDoors/rulesEngines@2020-05-01." + }, + { + "ResourceType": "Microsoft.Network/ipGroups", + "Path": "ipgroups/main.bicep", + "Description": "Basic sample for Microsoft.Network/ipGroups@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/loadBalancers", + "Path": "loadbalancers/main.bicep", + "Description": "Basic sample for Microsoft.Network/loadBalancers@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/loadBalancers", + "Path": "loadbalancers/backendaddresspools/main.bicep", + "Description": "Basic sample for Microsoft.Network/loadBalancers/backendAddressPools@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/localNetworkGateways", + "Path": "localnetworkgateways/main.bicep", + "Description": "Basic sample for Microsoft.Network/localNetworkGateways@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/natGateways", + "Path": "natgateways/main.bicep", + "Description": "Basic sample for Microsoft.Network/natGateways@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/networkInterfaces", + "Path": "networkinterfaces/main.bicep", + "Description": "Basic sample for Microsoft.Network/networkInterfaces@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/networkProfiles", + "Path": "networkprofiles/main.bicep", + "Description": "Basic sample for Microsoft.Network/networkProfiles@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/networkSecurityGroups", + "Path": "networksecuritygroups/main.bicep", + "Description": "Basic sample for Microsoft.Network/networkSecurityGroups@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/networkSecurityGroups", + "Path": "networksecuritygroups/securityrules/main.bicep", + "Description": "Basic sample for Microsoft.Network/networkSecurityGroups/securityRules@2022-09-01." + }, + { + "ResourceType": "Microsoft.Network/networkWatchers", + "Path": "networkwatchers/flowlogs/main.bicep", + "Description": "Basic sample for Microsoft.Network/networkWatchers/flowLogs@2023-11-01." + }, + { + "ResourceType": "Microsoft.Network/p2svpnGateways", + "Path": "p2svpngateways/main.bicep", + "Description": "Basic sample for Microsoft.Network/p2svpnGateways@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/privateDnsZones", + "Path": "privatednszones/main.bicep", + "Description": "Basic sample for Microsoft.Network/privateDnsZones@2018-09-01." + }, + { + "ResourceType": "Microsoft.Network/privateDnsZones", + "Path": "privatednszones/a/main.bicep", + "Description": "Basic sample for Microsoft.Network/privateDnsZones/A@2018-09-01." + }, + { + "ResourceType": "Microsoft.Network/privateDnsZones", + "Path": "privatednszones/aaaa/main.bicep", + "Description": "Basic sample for Microsoft.Network/privateDnsZones/AAAA@2018-09-01." + }, + { + "ResourceType": "Microsoft.Network/privateDnsZones", + "Path": "privatednszones/cname/main.bicep", + "Description": "Basic sample for Microsoft.Network/privateDnsZones/CNAME@2018-09-01." + }, + { + "ResourceType": "Microsoft.Network/privateDnsZones", + "Path": "privatednszones/mx/main.bicep", + "Description": "Basic sample for Microsoft.Network/privateDnsZones/MX@2018-09-01." + }, + { + "ResourceType": "Microsoft.Network/privateDnsZones", + "Path": "privatednszones/ptr/main.bicep", + "Description": "Basic sample for Microsoft.Network/privateDnsZones/PTR@2018-09-01." + }, + { + "ResourceType": "Microsoft.Network/privateDnsZones", + "Path": "privatednszones/srv/main.bicep", + "Description": "Basic sample for Microsoft.Network/privateDnsZones/SRV@2018-09-01." + }, + { + "ResourceType": "Microsoft.Network/privateDnsZones", + "Path": "privatednszones/txt/main.bicep", + "Description": "Basic sample for Microsoft.Network/privateDnsZones/TXT@2018-09-01." + }, + { + "ResourceType": "Microsoft.Network/privateDnsZones", + "Path": "privatednszones/virtualnetworklinks/main.bicep", + "Description": "Basic sample for Microsoft.Network/privateDnsZones/virtualNetworkLinks@2018-09-01." + }, + { + "ResourceType": "Microsoft.Network/publicIPAddresses", + "Path": "publicipaddresses/main.bicep", + "Description": "Basic sample for Microsoft.Network/publicIPAddresses@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/publicIPPrefixes", + "Path": "publicipprefixes/main.bicep", + "Description": "Basic sample for Microsoft.Network/publicIPPrefixes@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/routeFilters", + "Path": "routefilters/main.bicep", + "Description": "Basic sample for Microsoft.Network/routeFilters@2022-09-01." + }, + { + "ResourceType": "Microsoft.Network/routeTables", + "Path": "routetables/main.bicep", + "Description": "Basic sample for Microsoft.Network/routeTables@2022-09-01." + }, + { + "ResourceType": "Microsoft.Network/routeTables", + "Path": "routetables/routes/main.bicep", + "Description": "Basic sample for Microsoft.Network/routeTables/routes@2022-09-01." + }, + { + "ResourceType": "Microsoft.Network/securityPartnerProviders", + "Path": "securitypartnerproviders/main.bicep", + "Description": "Basic sample for Microsoft.Network/securityPartnerProviders@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/serviceEndpointPolicies", + "Path": "serviceendpointpolicies/main.bicep", + "Description": "Basic sample for Microsoft.Network/serviceEndpointPolicies@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/trafficManagerProfiles", + "Path": "trafficmanagerprofiles/main.bicep", + "Description": "Basic sample for Microsoft.Network/trafficManagerProfiles@2018-08-01." + }, + { + "ResourceType": "Microsoft.Network/trafficManagerProfiles", + "Path": "trafficmanagerprofiles/azureendpoints/main.bicep", + "Description": "Basic sample for Microsoft.Network/trafficManagerProfiles/AzureEndpoints@2018-08-01." + }, + { + "ResourceType": "Microsoft.Network/trafficManagerProfiles", + "Path": "trafficmanagerprofiles/externalendpoints/main.bicep", + "Description": "Basic sample for Microsoft.Network/trafficManagerProfiles/ExternalEndpoints@2018-08-01." + }, + { + "ResourceType": "Microsoft.Network/trafficManagerProfiles", + "Path": "trafficmanagerprofiles/nestedendpoints/main.bicep", + "Description": "Basic sample for Microsoft.Network/trafficManagerProfiles/NestedEndpoints@2018-08-01." + }, + { + "ResourceType": "Microsoft.Network/virtualHubs", + "Path": "virtualhubs/main.bicep", + "Description": "Basic sample for Microsoft.Network/virtualHubs@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/virtualHubs", + "Path": "virtualhubs/hubvirtualnetworkconnections/main.bicep", + "Description": "Basic sample for Microsoft.Network/virtualHubs/hubVirtualNetworkConnections@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/virtualHubs", + "Path": "virtualhubs/ipconfigurations/main.bicep", + "Description": "Basic sample for Microsoft.Network/virtualHubs/ipConfigurations@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/virtualNetworkGateways", + "Path": "virtualnetworkgateways/main.bicep", + "Description": "Basic sample for Microsoft.Network/virtualNetworkGateways@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/virtualNetworkGateways", + "Path": "virtualnetworkgateways/natrules/main.bicep", + "Description": "Basic sample for Microsoft.Network/virtualNetworkGateways/natRules@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/virtualNetworks", + "Path": "virtualnetworks/main.bicep", + "Description": "Basic sample for Microsoft.Network/virtualNetworks@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/virtualNetworks", + "Path": "virtualnetworks/subnets/main.bicep", + "Description": "Basic sample for Microsoft.Network/virtualNetworks/subnets@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/virtualWans", + "Path": "virtualwans/main.bicep", + "Description": "Basic sample for Microsoft.Network/virtualWans@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/vpnGateways", + "Path": "vpngateways/main.bicep", + "Description": "Basic sample for Microsoft.Network/vpnGateways@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/vpnGateways", + "Path": "vpngateways/natrules/main.bicep", + "Description": "Basic sample for Microsoft.Network/vpnGateways/natRules@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/vpnServerConfigurations", + "Path": "vpnserverconfigurations/main.bicep", + "Description": "Basic sample for Microsoft.Network/vpnServerConfigurations@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/vpnServerConfigurations", + "Path": "vpnserverconfigurations/configurationpolicygroups/main.bicep", + "Description": "Basic sample for Microsoft.Network/vpnServerConfigurations/configurationPolicyGroups@2022-07-01." + }, + { + "ResourceType": "Microsoft.Network/vpnSites", + "Path": "vpnsites/main.bicep", + "Description": "Basic sample for Microsoft.Network/vpnSites@2022-07-01." + } ] } \ No newline at end of file diff --git a/settings/remarks/microsoft.network/routefilters/main.bicep b/settings/remarks/microsoft.network/routefilters/main.bicep new file mode 100644 index 0000000..b168911 --- /dev/null +++ b/settings/remarks/microsoft.network/routefilters/main.bicep @@ -0,0 +1,11 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource routeFilter 'Microsoft.Network/routeFilters@2022-09-01' = { + location: location + name: resource_name + properties: { + rules: [] + } +} + diff --git a/settings/remarks/microsoft.network/routetables/main.bicep b/settings/remarks/microsoft.network/routetables/main.bicep new file mode 100644 index 0000000..4110ac9 --- /dev/null +++ b/settings/remarks/microsoft.network/routetables/main.bicep @@ -0,0 +1,21 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource routeTable 'Microsoft.Network/routeTables@2022-09-01' = { + location: location + name: resource_name + properties: { + disableBgpRoutePropagation: false + routes: [ + { + name: 'first' + properties: { + addressPrefix: '10.100.0.0/14' + nextHopIpAddress: '10.10.1.1' + nextHopType: 'VirtualAppliance' + } + } + ] + } +} + diff --git a/settings/remarks/microsoft.network/routetables/routes/main.bicep b/settings/remarks/microsoft.network/routetables/routes/main.bicep new file mode 100644 index 0000000..5174870 --- /dev/null +++ b/settings/remarks/microsoft.network/routetables/routes/main.bicep @@ -0,0 +1,20 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource route 'Microsoft.Network/routeTables/routes@2022-09-01' = { + parent: routeTable + name: resource_name + properties: { + addressPrefix: '10.1.0.0/16' + nextHopType: 'VnetLocal' + } +} + +resource routeTable 'Microsoft.Network/routeTables@2022-09-01' = { + location: location + name: resource_name + properties: { + disableBgpRoutePropagation: false + } +} + diff --git a/settings/remarks/microsoft.network/securitypartnerproviders/main.bicep b/settings/remarks/microsoft.network/securitypartnerproviders/main.bicep new file mode 100644 index 0000000..c93e44d --- /dev/null +++ b/settings/remarks/microsoft.network/securitypartnerproviders/main.bicep @@ -0,0 +1,11 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource securityPartnerProvider 'Microsoft.Network/securityPartnerProviders@2022-07-01' = { + location: location + name: resource_name + properties: { + securityProviderName: 'ZScaler' + } +} + diff --git a/settings/remarks/microsoft.network/serviceendpointpolicies/main.bicep b/settings/remarks/microsoft.network/serviceendpointpolicies/main.bicep new file mode 100644 index 0000000..76dff8b --- /dev/null +++ b/settings/remarks/microsoft.network/serviceendpointpolicies/main.bicep @@ -0,0 +1,9 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource serviceEndpointPolicy 'Microsoft.Network/serviceEndpointPolicies@2022-07-01' = { + location: location + name: resource_name + properties: {} +} + diff --git a/settings/remarks/microsoft.network/trafficmanagerprofiles/azureendpoints/main.bicep b/settings/remarks/microsoft.network/trafficmanagerprofiles/azureendpoints/main.bicep new file mode 100644 index 0000000..8fe356e --- /dev/null +++ b/settings/remarks/microsoft.network/trafficmanagerprofiles/azureendpoints/main.bicep @@ -0,0 +1,56 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource AzureEndpoint 'Microsoft.Network/trafficManagerProfiles/AzureEndpoints@2018-08-01' = { + parent: trafficManagerProfile + name: resource_name + properties: { + customHeaders: [] + endpointStatus: 'Enabled' + subnets: [] + targetResourceId: publicIPAddress.id + weight: 3 + } +} + +resource publicIPAddress 'Microsoft.Network/publicIPAddresses@2022-07-01' = { + location: location + name: resource_name + properties: { + ddosSettings: { + protectionMode: 'VirtualNetworkInherited' + } + dnsSettings: { + domainNameLabel: 'acctestpublicip-230630034107607730' + } + idleTimeoutInMinutes: 4 + publicIPAddressVersion: 'IPv4' + publicIPAllocationMethod: 'Static' + } + sku: { + name: 'Basic' + tier: 'Regional' + } +} + +resource trafficManagerProfile 'Microsoft.Network/trafficManagerProfiles@2018-08-01' = { + location: 'global' + name: resource_name + properties: { + dnsConfig: { + relativeName: 'acctest-tmp-230630034107607730' + ttl: 30 + } + monitorConfig: { + expectedStatusCodeRanges: [] + intervalInSeconds: 30 + path: '/' + port: 443 + protocol: 'HTTPS' + timeoutInSeconds: 10 + toleratedNumberOfFailures: 3 + } + trafficRoutingMethod: 'Weighted' + } +} + diff --git a/settings/remarks/microsoft.network/trafficmanagerprofiles/externalendpoints/main.bicep b/settings/remarks/microsoft.network/trafficmanagerprofiles/externalendpoints/main.bicep new file mode 100644 index 0000000..53ada49 --- /dev/null +++ b/settings/remarks/microsoft.network/trafficmanagerprofiles/externalendpoints/main.bicep @@ -0,0 +1,36 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource ExternalEndpoint 'Microsoft.Network/trafficManagerProfiles/ExternalEndpoints@2018-08-01' = { + parent: trafficManagerProfile + name: resource_name + properties: { + customHeaders: [] + endpointStatus: 'Enabled' + subnets: [] + target: 'www.example.com' + weight: 3 + } +} + +resource trafficManagerProfile 'Microsoft.Network/trafficManagerProfiles@2018-08-01' = { + location: 'global' + name: resource_name + properties: { + dnsConfig: { + relativeName: 'acctest-tmp-230630034107608613' + ttl: 30 + } + monitorConfig: { + expectedStatusCodeRanges: [] + intervalInSeconds: 30 + path: '/' + port: 443 + protocol: 'HTTPS' + timeoutInSeconds: 10 + toleratedNumberOfFailures: 3 + } + trafficRoutingMethod: 'Weighted' + } +} + diff --git a/settings/remarks/microsoft.network/trafficmanagerprofiles/main.bicep b/settings/remarks/microsoft.network/trafficmanagerprofiles/main.bicep new file mode 100644 index 0000000..ff7b990 --- /dev/null +++ b/settings/remarks/microsoft.network/trafficmanagerprofiles/main.bicep @@ -0,0 +1,24 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource trafficManagerProfile 'Microsoft.Network/trafficManagerProfiles@2018-08-01' = { + location: 'global' + name: resource_name + properties: { + dnsConfig: { + relativeName: 'acctest-tmp-230630034107605443' + ttl: 30 + } + monitorConfig: { + expectedStatusCodeRanges: [] + intervalInSeconds: 30 + path: '/' + port: 443 + protocol: 'HTTPS' + timeoutInSeconds: 10 + toleratedNumberOfFailures: 3 + } + trafficRoutingMethod: 'Weighted' + } +} + diff --git a/settings/remarks/microsoft.network/trafficmanagerprofiles/nestedendpoints/main.bicep b/settings/remarks/microsoft.network/trafficmanagerprofiles/nestedendpoints/main.bicep new file mode 100644 index 0000000..a0e44a6 --- /dev/null +++ b/settings/remarks/microsoft.network/trafficmanagerprofiles/nestedendpoints/main.bicep @@ -0,0 +1,58 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource NestedEndpoint 'Microsoft.Network/trafficManagerProfiles/NestedEndpoints@2018-08-01' = { + parent: trafficManagerProfile + name: resource_name + properties: { + customHeaders: [] + endpointStatus: 'Enabled' + minChildEndpoints: 5 + subnets: [] + targetResourceId: trafficManagerProfile2.id + weight: 3 + } +} + +resource trafficManagerProfile 'Microsoft.Network/trafficManagerProfiles@2018-08-01' = { + location: 'global' + name: resource_name + properties: { + dnsConfig: { + relativeName: 'acctest-tmp-230630034107605443' + ttl: 30 + } + monitorConfig: { + expectedStatusCodeRanges: [] + intervalInSeconds: 30 + path: '/' + port: 443 + protocol: 'HTTPS' + timeoutInSeconds: 10 + toleratedNumberOfFailures: 3 + } + trafficRoutingMethod: 'Weighted' + } +} + +resource trafficManagerProfile2 'Microsoft.Network/trafficManagerProfiles@2018-08-01' = { + location: 'global' + name: resource_name + properties: { + dnsConfig: { + relativeName: 'acctesttmpchild230630034107605443' + ttl: 30 + } + monitorConfig: { + expectedStatusCodeRanges: [] + intervalInSeconds: 30 + path: '/' + port: 443 + protocol: 'HTTPS' + timeoutInSeconds: 10 + toleratedNumberOfFailures: 3 + } + trafficRoutingMethod: 'Priority' + } +} + diff --git a/settings/remarks/microsoft.network/virtualhubs/hubvirtualnetworkconnections/main.bicep b/settings/remarks/microsoft.network/virtualhubs/hubvirtualnetworkconnections/main.bicep new file mode 100644 index 0000000..6087163 --- /dev/null +++ b/settings/remarks/microsoft.network/virtualhubs/hubvirtualnetworkconnections/main.bicep @@ -0,0 +1,56 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource hubVirtualNetworkConnection 'Microsoft.Network/virtualHubs/hubVirtualNetworkConnections@2022-07-01' = { + parent: virtualHub + name: resource_name + properties: { + enableInternetSecurity: false + remoteVirtualNetwork: { + id: virtualNetwork.id + } + } +} + +resource virtualHub 'Microsoft.Network/virtualHubs@2022-07-01' = { + location: location + name: resource_name + properties: { + addressPrefix: '10.0.2.0/24' + hubRoutingPreference: 'ExpressRoute' + virtualRouterAutoScaleConfiguration: { + minCapacity: 2 + } + virtualWan: { + id: virtualWan.id + } + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.5.0.0/16' + ] + } + dhcpOptions: { + dnsServers: [] + } + subnets: [] + } +} + +resource virtualWan 'Microsoft.Network/virtualWans@2022-07-01' = { + location: location + name: resource_name + properties: { + allowBranchToBranchTraffic: true + disableVpnEncryption: false + office365LocalBreakoutCategory: 'None' + type: 'Standard' + } +} + diff --git a/settings/remarks/microsoft.network/virtualhubs/ipconfigurations/main.bicep b/settings/remarks/microsoft.network/virtualhubs/ipconfigurations/main.bicep new file mode 100644 index 0000000..7209a66 --- /dev/null +++ b/settings/remarks/microsoft.network/virtualhubs/ipconfigurations/main.bicep @@ -0,0 +1,76 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource ipConfiguration 'Microsoft.Network/virtualHubs/ipConfigurations@2022-07-01' = { + parent: virtualHub + name: resource_name + properties: { + privateIPAddress: '10.5.1.18' + privateIPAllocationMethod: 'Static' + publicIPAddress: { + id: publicIPAddress.id + } + subnet: { + id: subnet.id + } + } +} + +resource publicIPAddress 'Microsoft.Network/publicIPAddresses@2022-07-01' = { + location: location + name: resource_name + properties: { + ddosSettings: { + protectionMode: 'VirtualNetworkInherited' + } + idleTimeoutInMinutes: 4 + publicIPAddressVersion: 'IPv4' + publicIPAllocationMethod: 'Static' + } + sku: { + name: 'Standard' + tier: 'Regional' + } +} + +resource subnet 'Microsoft.Network/virtualNetworks/subnets@2022-07-01' = { + parent: virtualNetwork + name: 'RouteServerSubnet' + properties: { + addressPrefix: '10.5.1.0/24' + delegations: [] + privateEndpointNetworkPolicies: 'Enabled' + privateLinkServiceNetworkPolicies: 'Enabled' + serviceEndpointPolicies: [] + serviceEndpoints: [] + } +} + +resource virtualHub 'Microsoft.Network/virtualHubs@2022-07-01' = { + location: location + name: resource_name + properties: { + hubRoutingPreference: 'ExpressRoute' + sku: 'Standard' + virtualRouterAutoScaleConfiguration: { + minCapacity: 2 + } + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.5.0.0/16' + ] + } + dhcpOptions: { + dnsServers: [] + } + subnets: [] + } +} + diff --git a/settings/remarks/microsoft.network/virtualhubs/main.bicep b/settings/remarks/microsoft.network/virtualhubs/main.bicep new file mode 100644 index 0000000..132966c --- /dev/null +++ b/settings/remarks/microsoft.network/virtualhubs/main.bicep @@ -0,0 +1,29 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource virtualHub 'Microsoft.Network/virtualHubs@2022-07-01' = { + location: location + name: resource_name + properties: { + addressPrefix: '10.0.0.0/24' + hubRoutingPreference: 'ExpressRoute' + virtualRouterAutoScaleConfiguration: { + minCapacity: 2 + } + virtualWan: { + id: virtualWan.id + } + } +} + +resource virtualWan 'Microsoft.Network/virtualWans@2022-07-01' = { + location: location + name: resource_name + properties: { + allowBranchToBranchTraffic: true + disableVpnEncryption: false + office365LocalBreakoutCategory: 'None' + type: 'Standard' + } +} + diff --git a/settings/remarks/microsoft.network/virtualnetworkgateways/main.bicep b/settings/remarks/microsoft.network/virtualnetworkgateways/main.bicep new file mode 100644 index 0000000..b683f9b --- /dev/null +++ b/settings/remarks/microsoft.network/virtualnetworkgateways/main.bicep @@ -0,0 +1,82 @@ +param location string = 'centralus' +param resource_name string = 'acctest0001' + +resource publicIPAddress 'Microsoft.Network/publicIPAddresses@2022-07-01' = { + location: location + name: resource_name + properties: { + ddosSettings: { + protectionMode: 'VirtualNetworkInherited' + } + idleTimeoutInMinutes: 4 + publicIPAddressVersion: 'IPv4' + publicIPAllocationMethod: 'Static' + } + sku: { + name: 'Standard' + tier: 'Regional' + } +} + +resource subnet 'Microsoft.Network/virtualNetworks/subnets@2022-07-01' = { + parent: virtualNetwork + name: 'GatewaySubnet' + properties: { + addressPrefix: '10.6.1.0/24' + delegations: [] + privateEndpointNetworkPolicies: 'Enabled' + privateLinkServiceNetworkPolicies: 'Enabled' + serviceEndpointPolicies: [] + serviceEndpoints: [] + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.6.0.0/16' + ] + } + dhcpOptions: { + dnsServers: [] + } + subnets: [] + } + tags: { + SkipASMAzSecPack: 'true' + } +} + +resource virtualNetworkGateway 'Microsoft.Network/virtualNetworkGateways@2022-07-01' = { + location: location + name: resource_name + properties: { + activeActive: false + enableBgp: false + enablePrivateIpAddress: false + gatewayType: 'ExpressRoute' + ipConfigurations: [ + { + name: 'vnetGatewayConfig' + properties: { + privateIPAllocationMethod: 'Dynamic' + publicIPAddress: { + id: publicIPAddress.id + } + subnet: { + id: subnet.id + } + } + } + ] + sku: { + name: 'Standard' + tier: 'Standard' + } + vpnType: 'RouteBased' + } +} + diff --git a/settings/remarks/microsoft.network/virtualnetworkgateways/natrules/main.bicep b/settings/remarks/microsoft.network/virtualnetworkgateways/natrules/main.bicep new file mode 100644 index 0000000..ceff9bc --- /dev/null +++ b/settings/remarks/microsoft.network/virtualnetworkgateways/natrules/main.bicep @@ -0,0 +1,98 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource natRule 'Microsoft.Network/virtualNetworkGateways/natRules@2022-07-01' = { + parent: virtualNetworkGateway + name: resource_name + properties: { + externalMappings: [ + { + addressSpace: '10.1.0.0/26' + } + ] + internalMappings: [ + { + addressSpace: '10.3.0.0/26' + } + ] + mode: 'EgressSnat' + type: 'Static' + } +} + +resource publicIPAddress 'Microsoft.Network/publicIPAddresses@2022-07-01' = { + location: location + name: resource_name + properties: { + ddosSettings: { + protectionMode: 'VirtualNetworkInherited' + } + idleTimeoutInMinutes: 4 + publicIPAddressVersion: 'IPv4' + publicIPAllocationMethod: 'Dynamic' + } + sku: { + name: 'Basic' + tier: 'Regional' + } +} + +resource subnet 'Microsoft.Network/virtualNetworks/subnets@2022-07-01' = { + parent: virtualNetwork + name: 'GatewaySubnet' + properties: { + addressPrefix: '10.0.1.0/24' + delegations: [] + privateEndpointNetworkPolicies: 'Enabled' + privateLinkServiceNetworkPolicies: 'Enabled' + serviceEndpointPolicies: [] + serviceEndpoints: [] + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.0.0.0/16' + ] + } + dhcpOptions: { + dnsServers: [] + } + subnets: [] + } +} + +resource virtualNetworkGateway 'Microsoft.Network/virtualNetworkGateways@2022-07-01' = { + location: location + name: resource_name + properties: { + activeActive: false + enableBgp: false + enablePrivateIpAddress: false + gatewayType: 'Vpn' + ipConfigurations: [ + { + name: 'vnetGatewayConfig' + properties: { + privateIPAllocationMethod: 'Dynamic' + publicIPAddress: { + id: publicIPAddress.id + } + subnet: { + id: subnet.id + } + } + } + ] + sku: { + name: 'Basic' + tier: 'Basic' + } + vpnType: 'RouteBased' + } +} + diff --git a/settings/remarks/microsoft.network/virtualnetworks/main.bicep b/settings/remarks/microsoft.network/virtualnetworks/main.bicep new file mode 100644 index 0000000..91909c9 --- /dev/null +++ b/settings/remarks/microsoft.network/virtualnetworks/main.bicep @@ -0,0 +1,19 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.0.0.0/16' + ] + } + dhcpOptions: { + dnsServers: [] + } + subnets: [] + } +} + diff --git a/settings/remarks/microsoft.network/virtualnetworks/subnets/main.bicep b/settings/remarks/microsoft.network/virtualnetworks/subnets/main.bicep new file mode 100644 index 0000000..6f137ec --- /dev/null +++ b/settings/remarks/microsoft.network/virtualnetworks/subnets/main.bicep @@ -0,0 +1,23 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource subnet 'Microsoft.Network/virtualNetworks/subnets@2022-07-01' = { + parent: virtualNetwork + name: resource_name + properties: { + addressPrefix: '10.0.2.0/24' + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.0.0.0/16' + ] + } + } +} + diff --git a/settings/remarks/microsoft.network/virtualwans/main.bicep b/settings/remarks/microsoft.network/virtualwans/main.bicep new file mode 100644 index 0000000..89ece9e --- /dev/null +++ b/settings/remarks/microsoft.network/virtualwans/main.bicep @@ -0,0 +1,14 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource virtualWan 'Microsoft.Network/virtualWans@2022-07-01' = { + location: location + name: resource_name + properties: { + allowBranchToBranchTraffic: true + disableVpnEncryption: false + office365LocalBreakoutCategory: 'None' + type: 'Standard' + } +} + diff --git a/settings/remarks/microsoft.network/vpngateways/main.bicep b/settings/remarks/microsoft.network/vpngateways/main.bicep new file mode 100644 index 0000000..bbe29f2 --- /dev/null +++ b/settings/remarks/microsoft.network/vpngateways/main.bicep @@ -0,0 +1,42 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource virtualHub 'Microsoft.Network/virtualHubs@2022-07-01' = { + location: location + name: resource_name + properties: { + addressPrefix: '10.0.0.0/24' + hubRoutingPreference: 'ExpressRoute' + virtualRouterAutoScaleConfiguration: { + minCapacity: 2 + } + virtualWan: { + id: virtualWan.id + } + } +} + +resource virtualWan 'Microsoft.Network/virtualWans@2022-07-01' = { + location: location + name: resource_name + properties: { + allowBranchToBranchTraffic: true + disableVpnEncryption: false + office365LocalBreakoutCategory: 'None' + type: 'Standard' + } +} + +resource vpnGateway 'Microsoft.Network/vpnGateways@2022-07-01' = { + location: location + name: resource_name + properties: { + enableBgpRouteTranslationForNat: false + isRoutingPreferenceInternet: false + virtualHub: { + id: virtualHub.id + } + vpnGatewayScaleUnit: 1 + } +} + diff --git a/settings/remarks/microsoft.network/vpngateways/natrules/main.bicep b/settings/remarks/microsoft.network/vpngateways/natrules/main.bicep new file mode 100644 index 0000000..f197f64 --- /dev/null +++ b/settings/remarks/microsoft.network/vpngateways/natrules/main.bicep @@ -0,0 +1,61 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource natRule 'Microsoft.Network/vpnGateways/natRules@2022-07-01' = { + parent: vpnGateway + name: resource_name + properties: { + externalMappings: [ + { + addressSpace: '192.168.21.0/26' + } + ] + internalMappings: [ + { + addressSpace: '10.4.0.0/26' + } + ] + mode: 'EgressSnat' + type: 'Static' + } +} + +resource virtualHub 'Microsoft.Network/virtualHubs@2022-07-01' = { + location: location + name: resource_name + properties: { + addressPrefix: '10.0.0.0/24' + hubRoutingPreference: 'ExpressRoute' + virtualRouterAutoScaleConfiguration: { + minCapacity: 2 + } + virtualWan: { + id: virtualWan.id + } + } +} + +resource virtualWan 'Microsoft.Network/virtualWans@2022-07-01' = { + location: location + name: resource_name + properties: { + allowBranchToBranchTraffic: true + disableVpnEncryption: false + office365LocalBreakoutCategory: 'None' + type: 'Standard' + } +} + +resource vpnGateway 'Microsoft.Network/vpnGateways@2022-07-01' = { + location: location + name: resource_name + properties: { + enableBgpRouteTranslationForNat: false + isRoutingPreferenceInternet: false + virtualHub: { + id: virtualHub.id + } + vpnGatewayScaleUnit: 1 + } +} + diff --git a/settings/remarks/microsoft.network/vpnserverconfigurations/configurationpolicygroups/main.bicep b/settings/remarks/microsoft.network/vpnserverconfigurations/configurationpolicygroups/main.bicep new file mode 100644 index 0000000..2f99854 --- /dev/null +++ b/settings/remarks/microsoft.network/vpnserverconfigurations/configurationpolicygroups/main.bicep @@ -0,0 +1,47 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource configurationPolicyGroup 'Microsoft.Network/vpnServerConfigurations/configurationPolicyGroups@2022-07-01' = { + parent: vpnServerConfiguration + name: resource_name + properties: { + isDefault: false + policyMembers: [ + { + attributeType: 'RadiusAzureGroupId' + attributeValue: '6ad1bd08' + name: 'policy1' + } + ] + priority: 0 + } +} + +resource vpnServerConfiguration 'Microsoft.Network/vpnServerConfigurations@2022-07-01' = { + location: location + name: resource_name + properties: { + radiusClientRootCertificates: [] + radiusServerAddress: '' + radiusServerRootCertificates: [] + radiusServerSecret: '' + radiusServers: [ + { + radiusServerAddress: '10.105.1.1' + radiusServerScore: 15 + radiusServerSecret: 'vindicators-the-return-of-worldender' + } + ] + vpnAuthenticationTypes: [ + 'Radius' + ] + vpnClientIpsecPolicies: [] + vpnClientRevokedCertificates: [] + vpnClientRootCertificates: [] + vpnProtocols: [ + 'OpenVPN' + 'IkeV2' + ] + } +} + diff --git a/settings/remarks/microsoft.network/vpnserverconfigurations/main.bicep b/settings/remarks/microsoft.network/vpnserverconfigurations/main.bicep new file mode 100644 index 0000000..43d45cf --- /dev/null +++ b/settings/remarks/microsoft.network/vpnserverconfigurations/main.bicep @@ -0,0 +1,31 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource vpnServerConfiguration 'Microsoft.Network/vpnServerConfigurations@2022-07-01' = { + location: location + name: resource_name + properties: { + radiusClientRootCertificates: [] + radiusServerAddress: '' + radiusServerRootCertificates: [] + radiusServerSecret: '' + radiusServers: [ + { + radiusServerAddress: '10.105.1.1' + radiusServerScore: 15 + radiusServerSecret: 'vindicators-the-return-of-worldender' + } + ] + vpnAuthenticationTypes: [ + 'Radius' + ] + vpnClientIpsecPolicies: [] + vpnClientRevokedCertificates: [] + vpnClientRootCertificates: [] + vpnProtocols: [ + 'OpenVPN' + 'IkeV2' + ] + } +} + diff --git a/settings/remarks/microsoft.network/vpnsites/main.bicep b/settings/remarks/microsoft.network/vpnsites/main.bicep new file mode 100644 index 0000000..14bb8bd --- /dev/null +++ b/settings/remarks/microsoft.network/vpnsites/main.bicep @@ -0,0 +1,53 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource virtualWan 'Microsoft.Network/virtualWans@2022-07-01' = { + location: location + name: resource_name + properties: { + allowBranchToBranchTraffic: true + disableVpnEncryption: false + office365LocalBreakoutCategory: 'None' + type: 'Standard' + } +} + +resource vpnSite 'Microsoft.Network/vpnSites@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.0.1.0/24' + ] + } + virtualWan: { + id: virtualWan.id + } + vpnSiteLinks: [ + { + name: 'link1' + properties: { + fqdn: '' + ipAddress: '10.0.1.1' + linkProperties: { + linkProviderName: '' + linkSpeedInMbps: 0 + } + } + } + { + name: 'link2' + properties: { + fqdn: '' + ipAddress: '10.0.1.2' + linkProperties: { + linkProviderName: '' + linkSpeedInMbps: 0 + } + } + } + ] + } +} + diff --git a/settings/remarks/microsoft.notificationhubs/namespaces/main.bicep b/settings/remarks/microsoft.notificationhubs/namespaces/main.bicep new file mode 100644 index 0000000..c901ca9 --- /dev/null +++ b/settings/remarks/microsoft.notificationhubs/namespaces/main.bicep @@ -0,0 +1,16 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource namespace 'Microsoft.NotificationHubs/namespaces@2017-04-01' = { + location: location + name: resource_name + properties: { + enabled: true + namespaceType: 'NotificationHub' + region: 'westeurope' + } + sku: { + name: 'Free' + } +} + diff --git a/settings/remarks/microsoft.notificationhubs/namespaces/notificationhubs/authorizationrules/main.bicep b/settings/remarks/microsoft.notificationhubs/namespaces/notificationhubs/authorizationrules/main.bicep new file mode 100644 index 0000000..79bdc11 --- /dev/null +++ b/settings/remarks/microsoft.notificationhubs/namespaces/notificationhubs/authorizationrules/main.bicep @@ -0,0 +1,33 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource authorizationRule 'Microsoft.NotificationHubs/namespaces/notificationHubs/authorizationRules@2017-04-01' = { + parent: notificationHub + name: resource_name + properties: { + rights: [ + 'Listen' + ] + } +} + +resource namespace 'Microsoft.NotificationHubs/namespaces@2017-04-01' = { + location: location + name: resource_name + properties: { + enabled: true + namespaceType: 'NotificationHub' + region: 'westeurope' + } + sku: { + name: 'Free' + } +} + +resource notificationHub 'Microsoft.NotificationHubs/namespaces/notificationHubs@2017-04-01' = { + parent: namespace + location: location + name: resource_name + properties: {} +} + diff --git a/settings/remarks/microsoft.notificationhubs/namespaces/notificationhubs/main.bicep b/settings/remarks/microsoft.notificationhubs/namespaces/notificationhubs/main.bicep new file mode 100644 index 0000000..730008b --- /dev/null +++ b/settings/remarks/microsoft.notificationhubs/namespaces/notificationhubs/main.bicep @@ -0,0 +1,23 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource namespace 'Microsoft.NotificationHubs/namespaces@2017-04-01' = { + location: location + name: resource_name + properties: { + enabled: true + namespaceType: 'NotificationHub' + region: 'westeurope' + } + sku: { + name: 'Free' + } +} + +resource notificationHub 'Microsoft.NotificationHubs/namespaces/notificationHubs@2017-04-01' = { + parent: namespace + location: location + name: resource_name + properties: {} +} + diff --git a/settings/remarks/microsoft.notificationhubs/remarks.json b/settings/remarks/microsoft.notificationhubs/remarks.json new file mode 100644 index 0000000..78e7934 --- /dev/null +++ b/settings/remarks/microsoft.notificationhubs/remarks.json @@ -0,0 +1,20 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.NotificationHubs/namespaces", + "Path": "namespaces/main.bicep", + "Description": "Basic sample for Microsoft.NotificationHubs/namespaces@2017-04-01." + }, + { + "ResourceType": "Microsoft.NotificationHubs/namespaces", + "Path": "namespaces/notificationhubs/main.bicep", + "Description": "Basic sample for Microsoft.NotificationHubs/namespaces/notificationHubs@2017-04-01." + }, + { + "ResourceType": "Microsoft.NotificationHubs/namespaces", + "Path": "namespaces/notificationhubs/authorizationrules/main.bicep", + "Description": "Basic sample for Microsoft.NotificationHubs/namespaces/notificationHubs/authorizationRules@2017-04-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.operationalinsights/clusters/main.bicep b/settings/remarks/microsoft.operationalinsights/clusters/main.bicep new file mode 100644 index 0000000..899f23d --- /dev/null +++ b/settings/remarks/microsoft.operationalinsights/clusters/main.bicep @@ -0,0 +1,18 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource cluster 'Microsoft.OperationalInsights/clusters@2020-08-01' = { + identity: [ + { + identity_ids: [] + type: 'SystemAssigned' + } + ] + location: location + name: resource_name + sku: { + capacity: 1000 + name: 'CapacityReservation' + } +} + diff --git a/settings/remarks/microsoft.operationalinsights/querypacks/main.bicep b/settings/remarks/microsoft.operationalinsights/querypacks/main.bicep new file mode 100644 index 0000000..dfc7f15 --- /dev/null +++ b/settings/remarks/microsoft.operationalinsights/querypacks/main.bicep @@ -0,0 +1,9 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource queryPack 'Microsoft.OperationalInsights/queryPacks@2019-09-01' = { + location: location + name: resource_name + properties: {} +} + diff --git a/settings/remarks/microsoft.operationalinsights/querypacks/queries/main.bicep b/settings/remarks/microsoft.operationalinsights/querypacks/queries/main.bicep new file mode 100644 index 0000000..20d9a56 --- /dev/null +++ b/settings/remarks/microsoft.operationalinsights/querypacks/queries/main.bicep @@ -0,0 +1,19 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource query 'Microsoft.OperationalInsights/queryPacks/queries@2019-09-01' = { + parent: queryPack + name: 'aca50e92-d3e6-8f7d-1f70-2ec7adc1a926' + properties: { + body: ' let newExceptionsTimeRange = 1d;\n let timeRangeToCheckBefore = 7d;\n exceptions\n | where timestamp < ago(timeRangeToCheckBefore)\n | summarize count() by problemId\n | join kind= rightanti (\n exceptions\n | where timestamp >= ago(newExceptionsTimeRange)\n | extend stack = tostring(details[0].rawStack)\n | summarize count(), dcount(user_AuthenticatedId), min(timestamp), max(timestamp), any(stack) by problemId\n ) on problemId\n | order by count_ desc\n' + displayName: 'Exceptions - New in the last 24 hours' + related: {} + } +} + +resource queryPack 'Microsoft.OperationalInsights/queryPacks@2019-09-01' = { + location: location + name: resource_name + properties: {} +} + diff --git a/settings/remarks/microsoft.operationalinsights/remarks.json b/settings/remarks/microsoft.operationalinsights/remarks.json index 06f7c26..e38ed46 100644 --- a/settings/remarks/microsoft.operationalinsights/remarks.json +++ b/settings/remarks/microsoft.operationalinsights/remarks.json @@ -7,5 +7,52 @@ ], "Description": "For guidance on deploying monitoring solutions, see [Create monitoring resources by using Bicep](/azure/azure-resource-manager/bicep/scenarios-monitoring)." } + ], + "BicepSamples": [ + { + "ResourceType": "Microsoft.OperationalInsights/clusters", + "Path": "clusters/main.bicep", + "Description": "Basic sample for Microsoft.OperationalInsights/clusters@2020-08-01." + }, + { + "ResourceType": "Microsoft.OperationalInsights/queryPacks", + "Path": "querypacks/main.bicep", + "Description": "Basic sample for Microsoft.OperationalInsights/queryPacks@2019-09-01." + }, + { + "ResourceType": "Microsoft.OperationalInsights/queryPacks", + "Path": "querypacks/queries/main.bicep", + "Description": "Basic sample for Microsoft.OperationalInsights/queryPacks/queries@2019-09-01." + }, + { + "ResourceType": "Microsoft.OperationalInsights/workspaces", + "Path": "workspaces/main.bicep", + "Description": "Basic sample for Microsoft.OperationalInsights/workspaces@2022-10-01." + }, + { + "ResourceType": "Microsoft.OperationalInsights/workspaces", + "Path": "workspaces/dataexports/main.bicep", + "Description": "Basic sample for Microsoft.OperationalInsights/workspaces/dataExports@2020-08-01." + }, + { + "ResourceType": "Microsoft.OperationalInsights/workspaces", + "Path": "workspaces/datasources/main.bicep", + "Description": "Basic sample for Microsoft.OperationalInsights/workspaces/dataSources@2020-08-01." + }, + { + "ResourceType": "Microsoft.OperationalInsights/workspaces", + "Path": "workspaces/linkedservices/main.bicep", + "Description": "Basic sample for Microsoft.OperationalInsights/workspaces/linkedServices@2020-08-01." + }, + { + "ResourceType": "Microsoft.OperationalInsights/workspaces", + "Path": "workspaces/linkedstorageaccounts/main.bicep", + "Description": "Basic sample for Microsoft.OperationalInsights/workspaces/linkedStorageAccounts@2020-08-01." + }, + { + "ResourceType": "Microsoft.OperationalInsights/workspaces", + "Path": "workspaces/savedsearches/main.bicep", + "Description": "Basic sample for Microsoft.OperationalInsights/workspaces/savedSearches@2020-08-01." + } ] } \ No newline at end of file diff --git a/settings/remarks/microsoft.operationalinsights/workspaces/dataexports/main.bicep b/settings/remarks/microsoft.operationalinsights/workspaces/dataexports/main.bicep new file mode 100644 index 0000000..3b9a159 --- /dev/null +++ b/settings/remarks/microsoft.operationalinsights/workspaces/dataexports/main.bicep @@ -0,0 +1,73 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource dataExport 'Microsoft.OperationalInsights/workspaces/dataExports@2020-08-01' = { + parent: workspace + name: resource_name + properties: { + destination: { + resourceId: storageAccount.id + } + enable: false + tableNames: [ + 'Heartbeat' + ] + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: { + accessTier: 'Hot' + allowBlobPublicAccess: true + allowCrossTenantReplication: true + allowSharedKeyAccess: true + defaultToOAuthAuthentication: false + encryption: { + keySource: 'Microsoft.Storage' + services: { + queue: { + keyType: 'Service' + } + table: { + keyType: 'Service' + } + } + } + isHnsEnabled: false + isNfsV3Enabled: false + isSftpEnabled: false + minimumTlsVersion: 'TLS1_2' + networkAcls: { + defaultAction: 'Allow' + } + publicNetworkAccess: 'Enabled' + supportsHttpsTrafficOnly: true + } + sku: { + name: 'Standard_LRS' + } +} + +resource workspace 'Microsoft.OperationalInsights/workspaces@2022-10-01' = { + location: location + name: resource_name + properties: { + features: { + disableLocalAuth: false + enableLogAccessUsingOnlyResourcePermissions: true + } + publicNetworkAccessForIngestion: 'Enabled' + publicNetworkAccessForQuery: 'Enabled' + retentionInDays: 30 + sku: { + name: 'PerGB2018' + } + workspaceCapping: { + dailyQuotaGb: -1 + } + } +} + diff --git a/settings/remarks/microsoft.operationalinsights/workspaces/datasources/main.bicep b/settings/remarks/microsoft.operationalinsights/workspaces/datasources/main.bicep new file mode 100644 index 0000000..6f89566 --- /dev/null +++ b/settings/remarks/microsoft.operationalinsights/workspaces/datasources/main.bicep @@ -0,0 +1,35 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource dataSource 'Microsoft.OperationalInsights/workspaces/dataSources@2020-08-01' = { + parent: workspace + name: resource_name + kind: 'WindowsPerformanceCounter' + properties: { + counterName: 'CPU' + instanceName: '*' + intervalSeconds: 10 + objectName: 'CPU' + } +} + +resource workspace 'Microsoft.OperationalInsights/workspaces@2022-10-01' = { + location: location + name: resource_name + properties: { + features: { + disableLocalAuth: false + enableLogAccessUsingOnlyResourcePermissions: true + } + publicNetworkAccessForIngestion: 'Enabled' + publicNetworkAccessForQuery: 'Enabled' + retentionInDays: 30 + sku: { + name: 'PerGB2018' + } + workspaceCapping: { + dailyQuotaGb: -1 + } + } +} + diff --git a/settings/remarks/microsoft.operationalinsights/workspaces/linkedservices/main.bicep b/settings/remarks/microsoft.operationalinsights/workspaces/linkedservices/main.bicep new file mode 100644 index 0000000..3a4341f --- /dev/null +++ b/settings/remarks/microsoft.operationalinsights/workspaces/linkedservices/main.bicep @@ -0,0 +1,45 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource automationAccount 'Microsoft.Automation/automationAccounts@2021-06-22' = { + location: location + name: resource_name + properties: { + encryption: { + keySource: 'Microsoft.Automation' + } + publicNetworkAccess: true + sku: { + name: 'Basic' + } + } +} + +resource linkedService 'Microsoft.OperationalInsights/workspaces/linkedServices@2020-08-01' = { + parent: workspace + name: 'Automation' + properties: { + resourceId: automationAccount.id + } +} + +resource workspace 'Microsoft.OperationalInsights/workspaces@2022-10-01' = { + location: location + name: resource_name + properties: { + features: { + disableLocalAuth: false + enableLogAccessUsingOnlyResourcePermissions: true + } + publicNetworkAccessForIngestion: 'Enabled' + publicNetworkAccessForQuery: 'Enabled' + retentionInDays: 30 + sku: { + name: 'PerGB2018' + } + workspaceCapping: { + dailyQuotaGb: -1 + } + } +} + diff --git a/settings/remarks/microsoft.operationalinsights/workspaces/linkedstorageaccounts/main.bicep b/settings/remarks/microsoft.operationalinsights/workspaces/linkedstorageaccounts/main.bicep new file mode 100644 index 0000000..073bdf8 --- /dev/null +++ b/settings/remarks/microsoft.operationalinsights/workspaces/linkedstorageaccounts/main.bicep @@ -0,0 +1,69 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource linkedStorageAccount 'Microsoft.OperationalInsights/workspaces/linkedStorageAccounts@2020-08-01' = { + parent: workspace + name: 'CustomLogs' + properties: { + storageAccountIds: [ + storageAccount.id + ] + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: { + accessTier: 'Hot' + allowBlobPublicAccess: true + allowCrossTenantReplication: true + allowSharedKeyAccess: true + defaultToOAuthAuthentication: false + encryption: { + keySource: 'Microsoft.Storage' + services: { + queue: { + keyType: 'Service' + } + table: { + keyType: 'Service' + } + } + } + isHnsEnabled: false + isNfsV3Enabled: false + isSftpEnabled: false + minimumTlsVersion: 'TLS1_2' + networkAcls: { + defaultAction: 'Allow' + } + publicNetworkAccess: 'Enabled' + supportsHttpsTrafficOnly: true + } + sku: { + name: 'Standard_GRS' + } +} + +resource workspace 'Microsoft.OperationalInsights/workspaces@2022-10-01' = { + location: location + name: resource_name + properties: { + features: { + disableLocalAuth: false + enableLogAccessUsingOnlyResourcePermissions: true + } + publicNetworkAccessForIngestion: 'Enabled' + publicNetworkAccessForQuery: 'Enabled' + retentionInDays: 30 + sku: { + name: 'PerGB2018' + } + workspaceCapping: { + dailyQuotaGb: -1 + } + } +} + diff --git a/settings/remarks/microsoft.operationalinsights/workspaces/main.bicep b/settings/remarks/microsoft.operationalinsights/workspaces/main.bicep new file mode 100644 index 0000000..2adbc7a --- /dev/null +++ b/settings/remarks/microsoft.operationalinsights/workspaces/main.bicep @@ -0,0 +1,23 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource workspace 'Microsoft.OperationalInsights/workspaces@2022-10-01' = { + location: location + name: resource_name + properties: { + features: { + disableLocalAuth: false + enableLogAccessUsingOnlyResourcePermissions: true + } + publicNetworkAccessForIngestion: 'Enabled' + publicNetworkAccessForQuery: 'Enabled' + retentionInDays: 30 + sku: { + name: 'PerGB2018' + } + workspaceCapping: { + dailyQuotaGb: -1 + } + } +} + diff --git a/settings/remarks/microsoft.operationalinsights/workspaces/savedsearches/main.bicep b/settings/remarks/microsoft.operationalinsights/workspaces/savedsearches/main.bicep new file mode 100644 index 0000000..6c0b130 --- /dev/null +++ b/settings/remarks/microsoft.operationalinsights/workspaces/savedsearches/main.bicep @@ -0,0 +1,35 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource savedSearch 'Microsoft.OperationalInsights/workspaces/savedSearches@2020-08-01' = { + parent: workspace + name: resource_name + properties: { + category: 'Saved Search Test Category' + displayName: 'Create or Update Saved Search Test' + functionAlias: '' + query: 'Heartbeat | summarize Count() by Computer | take a' + tags: [] + } +} + +resource workspace 'Microsoft.OperationalInsights/workspaces@2022-10-01' = { + location: location + name: resource_name + properties: { + features: { + disableLocalAuth: false + enableLogAccessUsingOnlyResourcePermissions: true + } + publicNetworkAccessForIngestion: 'Enabled' + publicNetworkAccessForQuery: 'Enabled' + retentionInDays: 30 + sku: { + name: 'PerGB2018' + } + workspaceCapping: { + dailyQuotaGb: -1 + } + } +} + diff --git a/settings/remarks/microsoft.orbital/remarks.json b/settings/remarks/microsoft.orbital/remarks.json new file mode 100644 index 0000000..f832422 --- /dev/null +++ b/settings/remarks/microsoft.orbital/remarks.json @@ -0,0 +1,10 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.Orbital/spacecrafts", + "Path": "spacecrafts/main.bicep", + "Description": "Basic sample for Microsoft.Orbital/spacecrafts@2022-11-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.orbital/spacecrafts/main.bicep b/settings/remarks/microsoft.orbital/spacecrafts/main.bicep new file mode 100644 index 0000000..61c9a58 --- /dev/null +++ b/settings/remarks/microsoft.orbital/spacecrafts/main.bicep @@ -0,0 +1,23 @@ +param location string = 'westus' +param resource_name string = 'acctest0001' + +resource spacecraft 'Microsoft.Orbital/spacecrafts@2022-11-01' = { + location: location + name: resource_name + properties: { + links: [ + { + bandwidthMHz: 100 + centerFrequencyMHz: 101 + direction: 'Uplink' + name: 'linkname' + polarization: 'LHCP' + } + ] + noradId: '12345' + titleLine: 'AQUA' + tleLine1: '1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621' + tleLine2: '2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495' + } +} + diff --git a/settings/remarks/microsoft.policyinsights/policystates/main.bicep b/settings/remarks/microsoft.policyinsights/policystates/main.bicep new file mode 100644 index 0000000..c8cb3aa --- /dev/null +++ b/settings/remarks/microsoft.policyinsights/policystates/main.bicep @@ -0,0 +1,3 @@ +param location string = 'eastus' +param resource_name string = 'acctest0001' + diff --git a/settings/remarks/microsoft.policyinsights/remarks.json b/settings/remarks/microsoft.policyinsights/remarks.json new file mode 100644 index 0000000..4c0cc12 --- /dev/null +++ b/settings/remarks/microsoft.policyinsights/remarks.json @@ -0,0 +1,10 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.PolicyInsights/policyStates", + "Path": "policystates/main.bicep", + "Description": "Basic sample for Microsoft.PolicyInsights/policyStates@2019-10-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.portal/dashboards/main.bicep b/settings/remarks/microsoft.portal/dashboards/main.bicep new file mode 100644 index 0000000..9fc2f14 --- /dev/null +++ b/settings/remarks/microsoft.portal/dashboards/main.bicep @@ -0,0 +1,11 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource dashboard 'Microsoft.Portal/dashboards@2019-01-01-preview' = { + location: location + name: resource_name + properties: { + lenses: {} + } +} + diff --git a/settings/remarks/microsoft.portal/remarks.json b/settings/remarks/microsoft.portal/remarks.json index 5cbcdc7..0240576 100644 --- a/settings/remarks/microsoft.portal/remarks.json +++ b/settings/remarks/microsoft.portal/remarks.json @@ -7,5 +7,12 @@ ], "Description": "For more information about creating dashboards, see [The structure of Azure dashboards](/azure/azure-portal/azure-portal-dashboards-structure)." } + ], + "BicepSamples": [ + { + "ResourceType": "Microsoft.Portal/dashboards", + "Path": "dashboards/main.bicep", + "Description": "Basic sample for Microsoft.Portal/dashboards@2019-01-01-preview." + } ] } \ No newline at end of file diff --git a/settings/remarks/microsoft.purview/accounts/main.bicep b/settings/remarks/microsoft.purview/accounts/main.bicep new file mode 100644 index 0000000..6fa4c75 --- /dev/null +++ b/settings/remarks/microsoft.purview/accounts/main.bicep @@ -0,0 +1,17 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource account 'Microsoft.Purview/accounts@2021-07-01' = { + identity: [ + { + identity_ids: [] + type: 'SystemAssigned' + } + ] + location: location + name: resource_name + properties: { + publicNetworkAccess: 'Enabled' + } +} + diff --git a/settings/remarks/microsoft.purview/remarks.json b/settings/remarks/microsoft.purview/remarks.json new file mode 100644 index 0000000..5f9f605 --- /dev/null +++ b/settings/remarks/microsoft.purview/remarks.json @@ -0,0 +1,10 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.Purview/accounts", + "Path": "accounts/main.bicep", + "Description": "Basic sample for Microsoft.Purview/accounts@2021-07-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.recoveryservices/remarks.json b/settings/remarks/microsoft.recoveryservices/remarks.json new file mode 100644 index 0000000..78963cf --- /dev/null +++ b/settings/remarks/microsoft.recoveryservices/remarks.json @@ -0,0 +1,45 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.RecoveryServices/vaults", + "Path": "vaults/main.bicep", + "Description": "Basic sample for Microsoft.RecoveryServices/vaults@2022-10-01." + }, + { + "ResourceType": "Microsoft.RecoveryServices/vaults", + "Path": "vaults/backuppolicies/main.bicep", + "Description": "Basic sample for Microsoft.RecoveryServices/vaults/backupPolicies@2023-02-01." + }, + { + "ResourceType": "Microsoft.RecoveryServices/vaults", + "Path": "vaults/backupresourceguardproxies/main.bicep", + "Description": "Basic sample for Microsoft.RecoveryServices/vaults/backupResourceGuardProxies@2023-02-01." + }, + { + "ResourceType": "Microsoft.RecoveryServices/vaults", + "Path": "vaults/backupstorageconfig/main.bicep", + "Description": "Basic sample for Microsoft.RecoveryServices/vaults/backupStorageConfig@2023-02-01." + }, + { + "ResourceType": "Microsoft.RecoveryServices/vaults", + "Path": "vaults/backupconfig/main.bicep", + "Description": "Basic sample for Microsoft.RecoveryServices/vaults/backupconfig@2024-04-01." + }, + { + "ResourceType": "Microsoft.RecoveryServices/vaults", + "Path": "vaults/replicationfabrics/main.bicep", + "Description": "Basic sample for Microsoft.RecoveryServices/vaults/replicationFabrics@2022-10-01." + }, + { + "ResourceType": "Microsoft.RecoveryServices/vaults", + "Path": "vaults/replicationfabrics/replicationprotectioncontainers/main.bicep", + "Description": "Basic sample for Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers@2022-10-01." + }, + { + "ResourceType": "Microsoft.RecoveryServices/vaults", + "Path": "vaults/replicationpolicies/main.bicep", + "Description": "Basic sample for Microsoft.RecoveryServices/vaults/replicationPolicies@2022-10-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.recoveryservices/vaults/main.bicep b/settings/remarks/microsoft.recoveryservices/vaults/main.bicep new file mode 100644 index 0000000..24e463c --- /dev/null +++ b/settings/remarks/microsoft.recoveryservices/vaults/main.bicep @@ -0,0 +1,14 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource vault 'Microsoft.RecoveryServices/vaults@2022-10-01' = { + location: location + name: resource_name + properties: { + publicNetworkAccess: 'Enabled' + } + sku: { + name: 'Standard' + } +} + diff --git a/settings/remarks/microsoft.recoveryservices/vaults/replicationfabrics/main.bicep b/settings/remarks/microsoft.recoveryservices/vaults/replicationfabrics/main.bicep new file mode 100644 index 0000000..38dab82 --- /dev/null +++ b/settings/remarks/microsoft.recoveryservices/vaults/replicationfabrics/main.bicep @@ -0,0 +1,25 @@ +param location string = 'westus2' +param resource_name string = 'acctest0001' + +resource replicationFabric2 'Microsoft.RecoveryServices/vaults/replicationFabrics@2022-10-01' = { + parent: vault + name: resource_name + properties: { + customDetails: { + instanceType: 'Azure' + location: location + } + } +} + +resource vault 'Microsoft.RecoveryServices/vaults@2022-10-01' = { + location: location + name: resource_name + properties: { + publicNetworkAccess: 'Enabled' + } + sku: { + name: 'Standard' + } +} + diff --git a/settings/remarks/microsoft.recoveryservices/vaults/replicationfabrics/replicationprotectioncontainers/main.bicep b/settings/remarks/microsoft.recoveryservices/vaults/replicationfabrics/replicationprotectioncontainers/main.bicep new file mode 100644 index 0000000..a8c9832 --- /dev/null +++ b/settings/remarks/microsoft.recoveryservices/vaults/replicationfabrics/replicationprotectioncontainers/main.bicep @@ -0,0 +1,31 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource replicationFabric 'Microsoft.RecoveryServices/vaults/replicationFabrics@2022-10-01' = { + parent: vault + name: resource_name + properties: { + customDetails: { + instanceType: 'Azure' + location: location + } + } +} + +resource replicationProtectionContainer 'Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers@2022-10-01' = { + parent: replicationFabric + name: resource_name + properties: {} +} + +resource vault 'Microsoft.RecoveryServices/vaults@2022-10-01' = { + location: location + name: resource_name + properties: { + publicNetworkAccess: 'Enabled' + } + sku: { + name: 'Standard' + } +} + diff --git a/settings/remarks/microsoft.recoveryservices/vaults/replicationpolicies/main.bicep b/settings/remarks/microsoft.recoveryservices/vaults/replicationpolicies/main.bicep new file mode 100644 index 0000000..8ba513c --- /dev/null +++ b/settings/remarks/microsoft.recoveryservices/vaults/replicationpolicies/main.bicep @@ -0,0 +1,28 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource replicationPolicy 'Microsoft.RecoveryServices/vaults/replicationPolicies@2022-10-01' = { + parent: vault + name: resource_name + properties: { + providerSpecificInput: { + appConsistentFrequencyInMinutes: 240 + crashConsistentFrequencyInMinutes: 10 + enableMultiVmSync: 'True' + instanceType: 'InMageRcm' + recoveryPointHistoryInMinutes: 1440 + } + } +} + +resource vault 'Microsoft.RecoveryServices/vaults@2022-10-01' = { + location: location + name: resource_name + properties: { + publicNetworkAccess: 'Enabled' + } + sku: { + name: 'Standard' + } +} + diff --git a/settings/remarks/microsoft.relay/namespaces/authorizationrules/main.bicep b/settings/remarks/microsoft.relay/namespaces/authorizationrules/main.bicep new file mode 100644 index 0000000..9578fdf --- /dev/null +++ b/settings/remarks/microsoft.relay/namespaces/authorizationrules/main.bicep @@ -0,0 +1,24 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource authorizationRule 'Microsoft.Relay/namespaces/authorizationRules@2017-04-01' = { + parent: namespace + name: resource_name + properties: { + rights: [ + 'Listen' + 'Send' + ] + } +} + +resource namespace 'Microsoft.Relay/namespaces@2017-04-01' = { + location: location + name: resource_name + properties: {} + sku: { + name: 'Standard' + tier: 'Standard' + } +} + diff --git a/settings/remarks/microsoft.relay/namespaces/hybridconnections/authorizationrules/main.bicep b/settings/remarks/microsoft.relay/namespaces/hybridconnections/authorizationrules/main.bicep new file mode 100644 index 0000000..a03519d --- /dev/null +++ b/settings/remarks/microsoft.relay/namespaces/hybridconnections/authorizationrules/main.bicep @@ -0,0 +1,33 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource authorizationRule 'Microsoft.Relay/namespaces/hybridConnections/authorizationRules@2017-04-01' = { + parent: hybridConnection + name: resource_name + properties: { + rights: [ + 'Listen' + 'Send' + ] + } +} + +resource hybridConnection 'Microsoft.Relay/namespaces/hybridConnections@2017-04-01' = { + parent: namespace + name: resource_name + properties: { + requiresClientAuthorization: true + userMetadata: '' + } +} + +resource namespace 'Microsoft.Relay/namespaces@2017-04-01' = { + location: location + name: resource_name + properties: {} + sku: { + name: 'Standard' + tier: 'Standard' + } +} + diff --git a/settings/remarks/microsoft.relay/namespaces/hybridconnections/main.bicep b/settings/remarks/microsoft.relay/namespaces/hybridconnections/main.bicep new file mode 100644 index 0000000..76cbfde --- /dev/null +++ b/settings/remarks/microsoft.relay/namespaces/hybridconnections/main.bicep @@ -0,0 +1,22 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource hybridConnection 'Microsoft.Relay/namespaces/hybridConnections@2017-04-01' = { + parent: namespace + name: resource_name + properties: { + requiresClientAuthorization: true + userMetadata: 'metadatatest' + } +} + +resource namespace 'Microsoft.Relay/namespaces@2017-04-01' = { + location: location + name: resource_name + properties: {} + sku: { + name: 'Standard' + tier: 'Standard' + } +} + diff --git a/settings/remarks/microsoft.relay/namespaces/main.bicep b/settings/remarks/microsoft.relay/namespaces/main.bicep new file mode 100644 index 0000000..b937203 --- /dev/null +++ b/settings/remarks/microsoft.relay/namespaces/main.bicep @@ -0,0 +1,13 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource namespace 'Microsoft.Relay/namespaces@2017-04-01' = { + location: location + name: resource_name + properties: {} + sku: { + name: 'Standard' + tier: 'Standard' + } +} + diff --git a/settings/remarks/microsoft.relay/remarks.json b/settings/remarks/microsoft.relay/remarks.json new file mode 100644 index 0000000..0c5d4b8 --- /dev/null +++ b/settings/remarks/microsoft.relay/remarks.json @@ -0,0 +1,25 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.Relay/namespaces", + "Path": "namespaces/main.bicep", + "Description": "Basic sample for Microsoft.Relay/namespaces@2017-04-01." + }, + { + "ResourceType": "Microsoft.Relay/namespaces", + "Path": "namespaces/authorizationrules/main.bicep", + "Description": "Basic sample for Microsoft.Relay/namespaces/authorizationRules@2017-04-01." + }, + { + "ResourceType": "Microsoft.Relay/namespaces", + "Path": "namespaces/hybridconnections/main.bicep", + "Description": "Basic sample for Microsoft.Relay/namespaces/hybridConnections@2017-04-01." + }, + { + "ResourceType": "Microsoft.Relay/namespaces", + "Path": "namespaces/hybridconnections/authorizationrules/main.bicep", + "Description": "Basic sample for Microsoft.Relay/namespaces/hybridConnections/authorizationRules@2017-04-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.resources/deployments/main.bicep b/settings/remarks/microsoft.resources/deployments/main.bicep new file mode 100644 index 0000000..fda07c3 --- /dev/null +++ b/settings/remarks/microsoft.resources/deployments/main.bicep @@ -0,0 +1,59 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource deployment 'Microsoft.Resources/deployments@2020-06-01' = { + name: resource_name + properties: { + mode: 'Complete' + template: { + '$schema': 'https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#' + contentVersion: '1.0.0.0' + parameters: { + storageAccountType: { + allowedValues: [ + 'Standard_LRS' + 'Standard_GRS' + 'Standard_ZRS' + ] + defaultValue: 'Standard_LRS' + metadata: { + description: 'Storage Account type' + } + type: 'string' + } + } + resources: [ + { + apiVersion: '[variables(\'apiVersion\')]' + location: '[variables(\'location\')]' + name: '[variables(\'storageAccountName\')]' + properties: { + accountType: '[parameters(\'storageAccountType\')]' + } + type: 'Microsoft.Storage/storageAccounts' + } + { + apiVersion: '[variables(\'apiVersion\')]' + location: '[variables(\'location\')]' + name: '[variables(\'publicIPAddressName\')]' + properties: { + dnsSettings: { + domainNameLabel: '[variables(\'dnsLabelPrefix\')]' + } + publicIPAllocationMethod: '[variables(\'publicIPAddressType\')]' + } + type: 'Microsoft.Network/publicIPAddresses' + } + ] + variables: { + apiVersion: '2015-06-15' + dnsLabelPrefix: '[concat(\'terraform-tdacctest\', uniquestring(resourceGroup().id))]' + location: '[resourceGroup().location]' + publicIPAddressName: '[concat(\'myPublicIp\', uniquestring(resourceGroup().id))]' + publicIPAddressType: 'Dynamic' + storageAccountName: '[concat(uniquestring(resourceGroup().id), \'storage\')]' + } + } + } +} + diff --git a/settings/remarks/microsoft.resources/deploymentscripts/main.bicep b/settings/remarks/microsoft.resources/deploymentscripts/main.bicep new file mode 100644 index 0000000..c0a9421 --- /dev/null +++ b/settings/remarks/microsoft.resources/deploymentscripts/main.bicep @@ -0,0 +1,18 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource deploymentScript 'Microsoft.Resources/deploymentScripts@2020-10-01' = { + location: location + name: resource_name + kind: 'AzurePowerShell' + properties: { + azPowerShellVersion: '8.3' + cleanupPreference: 'Always' + environmentVariables: null + retentionInterval: 'P1D' + scriptContent: '\t\t$output = \'Hello\'\n\t\tWrite-Output $output\n\t\t$DeploymentScriptOutputs = @{}\n\t\t$DeploymentScriptOutputs[\'text\'] = $output\n' + supportingScriptUris: null + timeout: 'P1D' + } +} + diff --git a/settings/remarks/microsoft.resources/remarks.json b/settings/remarks/microsoft.resources/remarks.json index e7b872a..a255aa3 100644 --- a/settings/remarks/microsoft.resources/remarks.json +++ b/settings/remarks/microsoft.resources/remarks.json @@ -3,8 +3,23 @@ "BicepSamples": [ { "ResourceType": "microsoft.resources/resourceGroups", - "Path": "samples/resourceGroups/basic.bicep", + "Path": "resourceGroups/basic.bicep", "Description": "A basic example of deploying a resource group." + }, + { + "ResourceType": "Microsoft.Resources/deploymentScripts", + "Path": "deploymentscripts/main.bicep", + "Description": "Basic sample for Microsoft.Resources/deploymentScripts@2020-10-01." + }, + { + "ResourceType": "Microsoft.Resources/deployments", + "Path": "deployments/main.bicep", + "Description": "Basic sample for Microsoft.Resources/deployments@2020-06-01." + }, + { + "ResourceType": "Microsoft.Resources/resourceGroups", + "Path": "resourcegroups/main.bicep", + "Description": "Basic sample for Microsoft.Resources/resourceGroups@2020-06-01." } ], "ResourceRemarks": [ diff --git a/settings/remarks/microsoft.resources/resourcegroups/main.bicep b/settings/remarks/microsoft.resources/resourcegroups/main.bicep new file mode 100644 index 0000000..b2d10a2 --- /dev/null +++ b/settings/remarks/microsoft.resources/resourcegroups/main.bicep @@ -0,0 +1,3 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + diff --git a/settings/remarks/microsoft.search/remarks.json b/settings/remarks/microsoft.search/remarks.json new file mode 100644 index 0000000..b46040f --- /dev/null +++ b/settings/remarks/microsoft.search/remarks.json @@ -0,0 +1,15 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.Search/searchServices", + "Path": "searchservices/main.bicep", + "Description": "Basic sample for Microsoft.Search/searchServices@2022-09-01." + }, + { + "ResourceType": "Microsoft.Search/searchServices", + "Path": "searchservices/sharedprivatelinkresources/main.bicep", + "Description": "Basic sample for Microsoft.Search/searchServices/sharedPrivateLinkResources@2022-09-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.search/searchservices/main.bicep b/settings/remarks/microsoft.search/searchservices/main.bicep new file mode 100644 index 0000000..1f647da --- /dev/null +++ b/settings/remarks/microsoft.search/searchservices/main.bicep @@ -0,0 +1,30 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource searchService 'Microsoft.Search/searchServices@2022-09-01' = { + location: location + name: resource_name + properties: { + authOptions: { + apiKeyOnly: {} + } + disableLocalAuth: false + encryptionWithCmk: { + enforcement: 'Disabled' + } + hostingMode: 'default' + networkRuleSet: { + ipRules: [] + } + partitionCount: 1 + publicNetworkAccess: 'Enabled' + replicaCount: 1 + } + sku: { + name: 'standard' + } + tags: { + environment: 'staging' + } +} + diff --git a/settings/remarks/microsoft.search/searchservices/sharedprivatelinkresources/main.bicep b/settings/remarks/microsoft.search/searchservices/sharedprivatelinkresources/main.bicep new file mode 100644 index 0000000..8d58c33 --- /dev/null +++ b/settings/remarks/microsoft.search/searchservices/sharedprivatelinkresources/main.bicep @@ -0,0 +1,76 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource searchService 'Microsoft.Search/searchServices@2022-09-01' = { + location: location + name: resource_name + properties: { + authOptions: { + apiKeyOnly: {} + } + disableLocalAuth: false + encryptionWithCmk: { + enforcement: 'Disabled' + } + hostingMode: 'default' + networkRuleSet: { + ipRules: [] + } + partitionCount: 1 + publicNetworkAccess: 'Enabled' + replicaCount: 1 + } + sku: { + name: 'standard' + } + tags: { + environment: 'staging' + } +} + +resource sharedPrivateLinkResource 'Microsoft.Search/searchServices/sharedPrivateLinkResources@2022-09-01' = { + parent: searchService + name: resource_name + properties: { + groupId: 'blob' + privateLinkResourceId: storageAccount.id + requestMessage: 'please approve' + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: { + accessTier: 'Hot' + allowBlobPublicAccess: true + allowCrossTenantReplication: true + allowSharedKeyAccess: true + defaultToOAuthAuthentication: false + encryption: { + keySource: 'Microsoft.Storage' + services: { + queue: { + keyType: 'Service' + } + table: { + keyType: 'Service' + } + } + } + isHnsEnabled: false + isNfsV3Enabled: false + isSftpEnabled: false + minimumTlsVersion: 'TLS1_2' + networkAcls: { + defaultAction: 'Allow' + } + publicNetworkAccess: 'Enabled' + supportsHttpsTrafficOnly: true + } + sku: { + name: 'Standard_LRS' + } +} + diff --git a/settings/remarks/microsoft.security/advancedthreatprotectionsettings/main.bicep b/settings/remarks/microsoft.security/advancedthreatprotectionsettings/main.bicep new file mode 100644 index 0000000..4e37b65 --- /dev/null +++ b/settings/remarks/microsoft.security/advancedthreatprotectionsettings/main.bicep @@ -0,0 +1,42 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0002' + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: { + accessTier: 'Hot' + allowBlobPublicAccess: true + allowCrossTenantReplication: true + allowSharedKeyAccess: true + defaultToOAuthAuthentication: false + encryption: { + keySource: 'Microsoft.Storage' + services: { + queue: { + keyType: 'Service' + } + table: { + keyType: 'Service' + } + } + } + isHnsEnabled: false + isNfsV3Enabled: false + isSftpEnabled: false + minimumTlsVersion: 'TLS1_2' + networkAcls: { + defaultAction: 'Allow' + } + publicNetworkAccess: 'Enabled' + supportsHttpsTrafficOnly: true + } + sku: { + name: 'Standard_LRS' + } + tags: { + environment: 'production' + } +} + diff --git a/settings/remarks/microsoft.security/defenderforstoragesettings/main.bicep b/settings/remarks/microsoft.security/defenderforstoragesettings/main.bicep new file mode 100644 index 0000000..bf856cb --- /dev/null +++ b/settings/remarks/microsoft.security/defenderforstoragesettings/main.bicep @@ -0,0 +1,13 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: {} + sku: { + name: 'Standard_LRS' + } +} + diff --git a/settings/remarks/microsoft.security/iotsecuritysolutions/main.bicep b/settings/remarks/microsoft.security/iotsecuritysolutions/main.bicep new file mode 100644 index 0000000..fff9e5f --- /dev/null +++ b/settings/remarks/microsoft.security/iotsecuritysolutions/main.bicep @@ -0,0 +1,41 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource IotHub 'Microsoft.Devices/IotHubs@2022-04-30-preview' = { + location: location + name: resource_name + properties: { + cloudToDevice: {} + enableFileUploadNotifications: false + messagingEndpoints: {} + routing: { + fallbackRoute: { + condition: 'true' + endpointNames: [ + 'events' + ] + isEnabled: true + source: 'DeviceMessages' + } + } + storageEndpoints: {} + } + sku: { + capacity: 1 + name: 'S1' + } +} + +resource iotSecuritySolution 'Microsoft.Security/iotSecuritySolutions@2019-08-01' = { + location: location + name: resource_name + properties: { + displayName: 'Iot Security Solution' + iotHubs: [ + IotHub.id + ] + status: 'Enabled' + unmaskedIpLoggingStatus: 'Disabled' + } +} + diff --git a/settings/remarks/microsoft.security/remarks.json b/settings/remarks/microsoft.security/remarks.json new file mode 100644 index 0000000..19491c6 --- /dev/null +++ b/settings/remarks/microsoft.security/remarks.json @@ -0,0 +1,20 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.Security/advancedThreatProtectionSettings", + "Path": "advancedthreatprotectionsettings/main.bicep", + "Description": "Basic sample for Microsoft.Security/advancedThreatProtectionSettings@2019-01-01." + }, + { + "ResourceType": "Microsoft.Security/defenderForStorageSettings", + "Path": "defenderforstoragesettings/main.bicep", + "Description": "Basic sample for Microsoft.Security/defenderForStorageSettings@2022-12-01-preview." + }, + { + "ResourceType": "Microsoft.Security/iotSecuritySolutions", + "Path": "iotsecuritysolutions/main.bicep", + "Description": "Basic sample for Microsoft.Security/iotSecuritySolutions@2019-08-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.servicebus/namespaces/authorizationrules/main.bicep b/settings/remarks/microsoft.servicebus/namespaces/authorizationrules/main.bicep new file mode 100644 index 0000000..589fa60 --- /dev/null +++ b/settings/remarks/microsoft.servicebus/namespaces/authorizationrules/main.bicep @@ -0,0 +1,28 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource authorizationRule 'Microsoft.ServiceBus/namespaces/authorizationRules@2021-06-01-preview' = { + parent: namespace + name: resource_name + properties: { + rights: [ + 'Listen' + ] + } +} + +resource namespace 'Microsoft.ServiceBus/namespaces@2022-01-01-preview' = { + location: location + name: resource_name + properties: { + disableLocalAuth: false + publicNetworkAccess: 'Enabled' + zoneRedundant: false + } + sku: { + capacity: 0 + name: 'Standard' + tier: 'Standard' + } +} + diff --git a/settings/remarks/microsoft.servicebus/namespaces/main.bicep b/settings/remarks/microsoft.servicebus/namespaces/main.bicep new file mode 100644 index 0000000..7e890f1 --- /dev/null +++ b/settings/remarks/microsoft.servicebus/namespaces/main.bicep @@ -0,0 +1,18 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource namespace 'Microsoft.ServiceBus/namespaces@2022-01-01-preview' = { + location: location + name: resource_name + properties: { + disableLocalAuth: false + publicNetworkAccess: 'Enabled' + zoneRedundant: false + } + sku: { + capacity: 0 + name: 'Standard' + tier: 'Standard' + } +} + diff --git a/settings/remarks/microsoft.servicebus/namespaces/queues/authorizationrules/main.bicep b/settings/remarks/microsoft.servicebus/namespaces/queues/authorizationrules/main.bicep new file mode 100644 index 0000000..323d473 --- /dev/null +++ b/settings/remarks/microsoft.servicebus/namespaces/queues/authorizationrules/main.bicep @@ -0,0 +1,44 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource authorizationRule 'Microsoft.ServiceBus/namespaces/queues/authorizationRules@2021-06-01-preview' = { + parent: queue + name: resource_name + properties: { + rights: [ + 'Send' + ] + } +} + +resource namespace 'Microsoft.ServiceBus/namespaces@2022-01-01-preview' = { + location: location + name: resource_name + properties: { + disableLocalAuth: false + publicNetworkAccess: 'Enabled' + zoneRedundant: false + } + sku: { + capacity: 0 + name: 'Standard' + tier: 'Standard' + } +} + +resource queue 'Microsoft.ServiceBus/namespaces/queues@2021-06-01-preview' = { + parent: namespace + name: resource_name + properties: { + deadLetteringOnMessageExpiration: false + enableBatchedOperations: true + enableExpress: false + enablePartitioning: true + maxDeliveryCount: 10 + maxSizeInMegabytes: 81920 + requiresDuplicateDetection: false + requiresSession: false + status: 'Active' + } +} + diff --git a/settings/remarks/microsoft.servicebus/namespaces/queues/main.bicep b/settings/remarks/microsoft.servicebus/namespaces/queues/main.bicep new file mode 100644 index 0000000..271c327 --- /dev/null +++ b/settings/remarks/microsoft.servicebus/namespaces/queues/main.bicep @@ -0,0 +1,34 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource namespace 'Microsoft.ServiceBus/namespaces@2022-01-01-preview' = { + location: location + name: resource_name + properties: { + disableLocalAuth: false + publicNetworkAccess: 'Enabled' + zoneRedundant: false + } + sku: { + capacity: 0 + name: 'Standard' + tier: 'Standard' + } +} + +resource queue 'Microsoft.ServiceBus/namespaces/queues@2021-06-01-preview' = { + parent: namespace + name: resource_name + properties: { + deadLetteringOnMessageExpiration: false + enableBatchedOperations: true + enableExpress: false + enablePartitioning: true + maxDeliveryCount: 10 + maxSizeInMegabytes: 81920 + requiresDuplicateDetection: false + requiresSession: false + status: 'Active' + } +} + diff --git a/settings/remarks/microsoft.servicebus/namespaces/topics/authorizationrules/main.bicep b/settings/remarks/microsoft.servicebus/namespaces/topics/authorizationrules/main.bicep new file mode 100644 index 0000000..d3d2662 --- /dev/null +++ b/settings/remarks/microsoft.servicebus/namespaces/topics/authorizationrules/main.bicep @@ -0,0 +1,42 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource authorizationRule 'Microsoft.ServiceBus/namespaces/topics/authorizationRules@2021-06-01-preview' = { + parent: topic + name: resource_name + properties: { + rights: [ + 'Send' + ] + } +} + +resource namespace 'Microsoft.ServiceBus/namespaces@2022-01-01-preview' = { + location: location + name: resource_name + properties: { + disableLocalAuth: false + publicNetworkAccess: 'Enabled' + zoneRedundant: false + } + sku: { + capacity: 0 + name: 'Standard' + tier: 'Standard' + } +} + +resource topic 'Microsoft.ServiceBus/namespaces/topics@2021-06-01-preview' = { + parent: namespace + name: resource_name + properties: { + enableBatchedOperations: false + enableExpress: false + enablePartitioning: false + maxSizeInMegabytes: 5120 + requiresDuplicateDetection: false + status: 'Active' + supportOrdering: false + } +} + diff --git a/settings/remarks/microsoft.servicebus/namespaces/topics/main.bicep b/settings/remarks/microsoft.servicebus/namespaces/topics/main.bicep new file mode 100644 index 0000000..88f9783 --- /dev/null +++ b/settings/remarks/microsoft.servicebus/namespaces/topics/main.bicep @@ -0,0 +1,32 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource namespace 'Microsoft.ServiceBus/namespaces@2022-01-01-preview' = { + location: location + name: resource_name + properties: { + disableLocalAuth: false + publicNetworkAccess: 'Enabled' + zoneRedundant: false + } + sku: { + capacity: 0 + name: 'Standard' + tier: 'Standard' + } +} + +resource topic 'Microsoft.ServiceBus/namespaces/topics@2021-06-01-preview' = { + parent: namespace + name: resource_name + properties: { + enableBatchedOperations: false + enableExpress: false + enablePartitioning: true + maxSizeInMegabytes: 81920 + requiresDuplicateDetection: false + status: 'Active' + supportOrdering: false + } +} + diff --git a/settings/remarks/microsoft.servicebus/namespaces/topics/subscriptions/main.bicep b/settings/remarks/microsoft.servicebus/namespaces/topics/subscriptions/main.bicep new file mode 100644 index 0000000..f14dc94 --- /dev/null +++ b/settings/remarks/microsoft.servicebus/namespaces/topics/subscriptions/main.bicep @@ -0,0 +1,47 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource namespace 'Microsoft.ServiceBus/namespaces@2022-01-01-preview' = { + location: location + name: resource_name + properties: { + disableLocalAuth: false + publicNetworkAccess: 'Enabled' + zoneRedundant: false + } + sku: { + capacity: 0 + name: 'Standard' + tier: 'Standard' + } +} + +resource subscription 'Microsoft.ServiceBus/namespaces/topics/subscriptions@2021-06-01-preview' = { + parent: topic + name: resource_name + properties: { + clientAffineProperties: {} + deadLetteringOnFilterEvaluationExceptions: true + deadLetteringOnMessageExpiration: false + enableBatchedOperations: false + isClientAffine: false + maxDeliveryCount: 10 + requiresSession: false + status: 'Active' + } +} + +resource topic 'Microsoft.ServiceBus/namespaces/topics@2021-06-01-preview' = { + parent: namespace + name: resource_name + properties: { + enableBatchedOperations: false + enableExpress: false + enablePartitioning: false + maxSizeInMegabytes: 5120 + requiresDuplicateDetection: false + status: 'Active' + supportOrdering: false + } +} + diff --git a/settings/remarks/microsoft.servicebus/namespaces/topics/subscriptions/rules/main.bicep b/settings/remarks/microsoft.servicebus/namespaces/topics/subscriptions/rules/main.bicep new file mode 100644 index 0000000..951506f --- /dev/null +++ b/settings/remarks/microsoft.servicebus/namespaces/topics/subscriptions/rules/main.bicep @@ -0,0 +1,65 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource namespace 'Microsoft.ServiceBus/namespaces@2022-01-01-preview' = { + location: location + name: resource_name + properties: { + disableLocalAuth: false + publicNetworkAccess: 'Enabled' + zoneRedundant: false + } + sku: { + capacity: 0 + name: 'Standard' + tier: 'Standard' + } +} + +resource rule 'Microsoft.ServiceBus/namespaces/topics/subscriptions/rules@2021-06-01-preview' = { + parent: subscription + name: resource_name + properties: { + correlationFilter: { + contentType: 'test_content_type' + correlationId: 'test_correlation_id' + label: 'test_label' + messageId: 'test_message_id' + replyTo: 'test_reply_to' + replyToSessionId: 'test_reply_to_session_id' + sessionId: 'test_session_id' + to: 'test_to' + } + filterType: 'CorrelationFilter' + } +} + +resource subscription 'Microsoft.ServiceBus/namespaces/topics/subscriptions@2021-06-01-preview' = { + parent: topic + name: resource_name + properties: { + clientAffineProperties: {} + deadLetteringOnFilterEvaluationExceptions: true + deadLetteringOnMessageExpiration: false + enableBatchedOperations: false + isClientAffine: false + maxDeliveryCount: 10 + requiresSession: false + status: 'Active' + } +} + +resource topic 'Microsoft.ServiceBus/namespaces/topics@2021-06-01-preview' = { + parent: namespace + name: resource_name + properties: { + enableBatchedOperations: false + enableExpress: false + enablePartitioning: false + maxSizeInMegabytes: 5120 + requiresDuplicateDetection: false + status: 'Active' + supportOrdering: false + } +} + diff --git a/settings/remarks/microsoft.servicebus/remarks.json b/settings/remarks/microsoft.servicebus/remarks.json new file mode 100644 index 0000000..d20695c --- /dev/null +++ b/settings/remarks/microsoft.servicebus/remarks.json @@ -0,0 +1,45 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.ServiceBus/namespaces", + "Path": "namespaces/main.bicep", + "Description": "Basic sample for Microsoft.ServiceBus/namespaces@2022-01-01-preview." + }, + { + "ResourceType": "Microsoft.ServiceBus/namespaces", + "Path": "namespaces/authorizationrules/main.bicep", + "Description": "Basic sample for Microsoft.ServiceBus/namespaces/authorizationRules@2021-06-01-preview." + }, + { + "ResourceType": "Microsoft.ServiceBus/namespaces", + "Path": "namespaces/queues/main.bicep", + "Description": "Basic sample for Microsoft.ServiceBus/namespaces/queues@2021-06-01-preview." + }, + { + "ResourceType": "Microsoft.ServiceBus/namespaces", + "Path": "namespaces/queues/authorizationrules/main.bicep", + "Description": "Basic sample for Microsoft.ServiceBus/namespaces/queues/authorizationRules@2021-06-01-preview." + }, + { + "ResourceType": "Microsoft.ServiceBus/namespaces", + "Path": "namespaces/topics/main.bicep", + "Description": "Basic sample for Microsoft.ServiceBus/namespaces/topics@2021-06-01-preview." + }, + { + "ResourceType": "Microsoft.ServiceBus/namespaces", + "Path": "namespaces/topics/authorizationrules/main.bicep", + "Description": "Basic sample for Microsoft.ServiceBus/namespaces/topics/authorizationRules@2021-06-01-preview." + }, + { + "ResourceType": "Microsoft.ServiceBus/namespaces", + "Path": "namespaces/topics/subscriptions/main.bicep", + "Description": "Basic sample for Microsoft.ServiceBus/namespaces/topics/subscriptions@2021-06-01-preview." + }, + { + "ResourceType": "Microsoft.ServiceBus/namespaces", + "Path": "namespaces/topics/subscriptions/rules/main.bicep", + "Description": "Basic sample for Microsoft.ServiceBus/namespaces/topics/subscriptions/rules@2021-06-01-preview." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.servicefabric/clusters/main.bicep b/settings/remarks/microsoft.servicefabric/clusters/main.bicep new file mode 100644 index 0000000..5d99efb --- /dev/null +++ b/settings/remarks/microsoft.servicefabric/clusters/main.bicep @@ -0,0 +1,30 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource cluster 'Microsoft.ServiceFabric/clusters@2021-06-01' = { + location: location + name: resource_name + properties: { + addOnFeatures: [] + fabricSettings: [] + managementEndpoint: 'http://example:80' + nodeTypes: [ + { + capacities: {} + clientConnectionEndpointPort: 2020 + durabilityLevel: 'Bronze' + httpGatewayEndpointPort: 80 + isPrimary: true + isStateless: false + multipleAvailabilityZones: false + name: 'first' + placementProperties: {} + vmInstanceCount: 3 + } + ] + reliabilityLevel: 'Bronze' + upgradeMode: 'Automatic' + vmImage: 'Windows' + } +} + diff --git a/settings/remarks/microsoft.servicefabric/managedclusters/main.bicep b/settings/remarks/microsoft.servicefabric/managedclusters/main.bicep new file mode 100644 index 0000000..be5a79e --- /dev/null +++ b/settings/remarks/microsoft.servicefabric/managedclusters/main.bicep @@ -0,0 +1,55 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource managedCluster 'Microsoft.ServiceFabric/managedClusters@2021-05-01' = { + location: location + name: resource_name + properties: { + addonFeatures: [ + 'DnsService' + ] + adminPassword: 'NotV3ryS3cur3P@$$w0rd' + adminUserName: 'testUser' + clientConnectionPort: 12345 + clusterUpgradeCadence: 'Wave0' + dnsName: resource_name + httpGatewayConnectionPort: 23456 + loadBalancingRules: [ + { + backendPort: 8000 + frontendPort: 443 + probeProtocol: 'http' + probeRequestPath: '/' + protocol: 'tcp' + } + ] + networkSecurityRules: [ + { + access: 'allow' + destinationAddressPrefixes: [ + '0.0.0.0/0' + ] + destinationPortRanges: [ + '443' + ] + direction: 'inbound' + name: 'rule443-allow-fe' + priority: 1000 + protocol: 'tcp' + sourceAddressPrefixes: [ + '0.0.0.0/0' + ] + sourcePortRanges: [ + '1-65535' + ] + } + ] + } + sku: { + name: 'Standard' + } + tags: { + Test: 'value' + } +} + diff --git a/settings/remarks/microsoft.servicefabric/managedclusters/nodetypes/main.bicep b/settings/remarks/microsoft.servicefabric/managedclusters/nodetypes/main.bicep new file mode 100644 index 0000000..2b1770b --- /dev/null +++ b/settings/remarks/microsoft.servicefabric/managedclusters/nodetypes/main.bicep @@ -0,0 +1,84 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource managedCluster 'Microsoft.ServiceFabric/managedClusters@2021-05-01' = { + location: location + name: resource_name + properties: { + addonFeatures: [ + 'DnsService' + ] + adminPassword: 'NotV3ryS3cur3P@$$w0rd' + adminUserName: 'testUser' + clientConnectionPort: 12345 + clusterUpgradeCadence: 'Wave0' + dnsName: resource_name + httpGatewayConnectionPort: 23456 + loadBalancingRules: [ + { + backendPort: 8000 + frontendPort: 443 + probeProtocol: 'http' + probeRequestPath: '/' + protocol: 'tcp' + } + ] + networkSecurityRules: [ + { + access: 'allow' + destinationAddressPrefixes: [ + '0.0.0.0/0' + ] + destinationPortRanges: [ + '443' + ] + direction: 'inbound' + name: 'rule443-allow-fe' + priority: 1000 + protocol: 'tcp' + sourceAddressPrefixes: [ + '0.0.0.0/0' + ] + sourcePortRanges: [ + '1-65535' + ] + } + ] + } + sku: { + name: 'Standard' + } + tags: { + Test: 'value' + } +} + +resource nodeType 'Microsoft.ServiceFabric/managedClusters/nodeTypes@2021-05-01' = { + parent: managedCluster + name: resource_name + properties: { + applicationPorts: { + endPort: 9000 + startPort: 7000 + } + capacities: {} + dataDiskSizeGB: 130 + dataDiskType: 'Standard_LRS' + ephemeralPorts: { + endPort: 20000 + startPort: 10000 + } + isPrimary: true + isStateless: false + multiplePlacementGroups: false + placementProperties: {} + vmImageOffer: 'WindowsServer' + vmImagePublisher: 'MicrosoftWindowsServer' + vmImageSku: '2016-Datacenter' + vmImageVersion: 'latest' + vmInstanceCount: 5 + vmSecrets: [] + vmSize: 'Standard_DS2_v2' + } +} + diff --git a/settings/remarks/microsoft.servicefabric/remarks.json b/settings/remarks/microsoft.servicefabric/remarks.json new file mode 100644 index 0000000..446f808 --- /dev/null +++ b/settings/remarks/microsoft.servicefabric/remarks.json @@ -0,0 +1,20 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.ServiceFabric/clusters", + "Path": "clusters/main.bicep", + "Description": "Basic sample for Microsoft.ServiceFabric/clusters@2021-06-01." + }, + { + "ResourceType": "Microsoft.ServiceFabric/managedClusters", + "Path": "managedclusters/main.bicep", + "Description": "Basic sample for Microsoft.ServiceFabric/managedClusters@2021-05-01." + }, + { + "ResourceType": "Microsoft.ServiceFabric/managedClusters", + "Path": "managedclusters/nodetypes/main.bicep", + "Description": "Basic sample for Microsoft.ServiceFabric/managedClusters/nodeTypes@2021-05-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.signalrservice/remarks.json b/settings/remarks/microsoft.signalrservice/remarks.json new file mode 100644 index 0000000..1d05a1a --- /dev/null +++ b/settings/remarks/microsoft.signalrservice/remarks.json @@ -0,0 +1,20 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.SignalRService/signalR", + "Path": "signalr/main.bicep", + "Description": "Basic sample for Microsoft.SignalRService/signalR@2023-02-01." + }, + { + "ResourceType": "Microsoft.SignalRService/webPubSub", + "Path": "webpubsub/main.bicep", + "Description": "Basic sample for Microsoft.SignalRService/webPubSub@2023-02-01." + }, + { + "ResourceType": "Microsoft.SignalRService/webPubSub", + "Path": "webpubsub/hubs/main.bicep", + "Description": "Basic sample for Microsoft.SignalRService/webPubSub/hubs@2023-02-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.signalrservice/signalr/main.bicep b/settings/remarks/microsoft.signalrservice/signalr/main.bicep new file mode 100644 index 0000000..9cf18a0 --- /dev/null +++ b/settings/remarks/microsoft.signalrservice/signalr/main.bicep @@ -0,0 +1,61 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource signalR 'Microsoft.SignalRService/signalR@2023-02-01' = { + location: location + name: resource_name + properties: { + cors: {} + disableAadAuth: false + disableLocalAuth: false + features: [ + { + flag: 'ServiceMode' + value: 'Default' + } + { + flag: 'EnableConnectivityLogs' + value: 'False' + } + { + flag: 'EnableMessagingLogs' + value: 'False' + } + { + flag: 'EnableLiveTrace' + value: 'False' + } + ] + publicNetworkAccess: 'Enabled' + resourceLogConfiguration: { + categories: [ + { + enabled: 'false' + name: 'MessagingLogs' + } + { + enabled: 'false' + name: 'ConnectivityLogs' + } + { + enabled: 'false' + name: 'HttpRequestLogs' + } + ] + } + serverless: { + connectionTimeoutInSeconds: 30 + } + tls: { + clientCertEnabled: false + } + upstream: { + templates: [] + } + } + sku: { + capacity: 1 + name: 'Standard_S1' + } +} + diff --git a/settings/remarks/microsoft.signalrservice/webpubsub/hubs/main.bicep b/settings/remarks/microsoft.signalrservice/webpubsub/hubs/main.bicep new file mode 100644 index 0000000..b9b34aa --- /dev/null +++ b/settings/remarks/microsoft.signalrservice/webpubsub/hubs/main.bicep @@ -0,0 +1,35 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource hub 'Microsoft.SignalRService/webPubSub/hubs@2023-02-01' = { + parent: webPubSub + name: resource_name + properties: { + anonymousConnectPolicy: 'Deny' + eventListeners: [] + } +} + +resource webPubSub 'Microsoft.SignalRService/webPubSub@2023-02-01' = { + identity: [ + { + identity_ids: [] + type: 'SystemAssigned' + } + ] + location: location + name: resource_name + properties: { + disableAadAuth: false + disableLocalAuth: false + publicNetworkAccess: 'Enabled' + tls: { + clientCertEnabled: false + } + } + sku: { + capacity: 1 + name: 'Standard_S1' + } +} + diff --git a/settings/remarks/microsoft.signalrservice/webpubsub/main.bicep b/settings/remarks/microsoft.signalrservice/webpubsub/main.bicep new file mode 100644 index 0000000..81637ee --- /dev/null +++ b/settings/remarks/microsoft.signalrservice/webpubsub/main.bicep @@ -0,0 +1,20 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource webPubSub 'Microsoft.SignalRService/webPubSub@2023-02-01' = { + location: location + name: resource_name + properties: { + disableAadAuth: false + disableLocalAuth: false + publicNetworkAccess: 'Enabled' + tls: { + clientCertEnabled: false + } + } + sku: { + capacity: 1 + name: 'Standard_S1' + } +} + diff --git a/settings/remarks/microsoft.sql/remarks.json b/settings/remarks/microsoft.sql/remarks.json new file mode 100644 index 0000000..912a2fe --- /dev/null +++ b/settings/remarks/microsoft.sql/remarks.json @@ -0,0 +1,75 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.Sql/servers", + "Path": "servers/main.bicep", + "Description": "Basic sample for Microsoft.Sql/servers@2021-02-01-preview." + }, + { + "ResourceType": "Microsoft.Sql/servers", + "Path": "servers/auditingsettings/main.bicep", + "Description": "Basic sample for Microsoft.Sql/servers/auditingSettings@2022-05-01-preview." + }, + { + "ResourceType": "Microsoft.Sql/servers", + "Path": "servers/automatictuning/main.bicep", + "Description": "Basic sample for Microsoft.Sql/servers/automaticTuning@2021-11-01." + }, + { + "ResourceType": "Microsoft.Sql/servers", + "Path": "servers/connectionpolicies/main.bicep", + "Description": "Basic sample for Microsoft.Sql/servers/connectionPolicies@2014-04-01." + }, + { + "ResourceType": "Microsoft.Sql/servers", + "Path": "servers/databases/main.bicep", + "Description": "Basic sample for Microsoft.Sql/servers/databases@2014-04-01." + }, + { + "ResourceType": "Microsoft.Sql/servers", + "Path": "servers/databases/securityalertpolicies/main.bicep", + "Description": "Basic sample for Microsoft.Sql/servers/databases/securityAlertPolicies@2014-04-01." + }, + { + "ResourceType": "Microsoft.Sql/servers", + "Path": "servers/dnsaliases/main.bicep", + "Description": "Basic sample for Microsoft.Sql/servers/dnsAliases@2020-11-01-preview." + }, + { + "ResourceType": "Microsoft.Sql/servers", + "Path": "servers/elasticpools/main.bicep", + "Description": "Basic sample for Microsoft.Sql/servers/elasticPools@2014-04-01." + }, + { + "ResourceType": "Microsoft.Sql/servers", + "Path": "servers/firewallrules/main.bicep", + "Description": "Basic sample for Microsoft.Sql/servers/firewallRules@2014-04-01." + }, + { + "ResourceType": "Microsoft.Sql/servers", + "Path": "servers/firewallrules/main.bicep", + "Description": "Basic sample for Microsoft.Sql/servers/firewallRules@2020-11-01-preview." + }, + { + "ResourceType": "Microsoft.Sql/servers", + "Path": "servers/jobagents/credentials/main.bicep", + "Description": "Basic sample for Microsoft.Sql/servers/jobAgents/credentials@2020-11-01-preview." + }, + { + "ResourceType": "Microsoft.Sql/servers", + "Path": "servers/securityalertpolicies/main.bicep", + "Description": "Basic sample for Microsoft.Sql/servers/securityAlertPolicies@2017-03-01-preview." + }, + { + "ResourceType": "Microsoft.Sql/servers", + "Path": "servers/sqlvulnerabilityassessments/main.bicep", + "Description": "Basic sample for Microsoft.Sql/servers/sqlVulnerabilityAssessments@2022-05-01-preview." + }, + { + "ResourceType": "Microsoft.Sql/servers", + "Path": "servers/virtualnetworkrules/main.bicep", + "Description": "Basic sample for Microsoft.Sql/servers/virtualNetworkRules@2020-11-01-preview." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.sql/servers/auditingsettings/main.bicep b/settings/remarks/microsoft.sql/servers/auditingsettings/main.bicep new file mode 100644 index 0000000..1e98dc1 --- /dev/null +++ b/settings/remarks/microsoft.sql/servers/auditingsettings/main.bicep @@ -0,0 +1,16 @@ +param location string = 'eastus' +param resource_name string = 'acctest0001' + +resource server 'Microsoft.Sql/servers@2022-05-01-preview' = { + location: location + name: resource_name + properties: { + administratorLogin: 'mradministrator' + administratorLoginPassword: 'thisIsDog11' + minimalTlsVersion: '1.2' + publicNetworkAccess: 'Enabled' + restrictOutboundNetworkAccess: 'Disabled' + version: '12.0' + } +} + diff --git a/settings/remarks/microsoft.sql/servers/automatictuning/main.bicep b/settings/remarks/microsoft.sql/servers/automatictuning/main.bicep new file mode 100644 index 0000000..64379b4 --- /dev/null +++ b/settings/remarks/microsoft.sql/servers/automatictuning/main.bicep @@ -0,0 +1,16 @@ +param location string = 'eastus' +param resource_name string = 'acctest0001' + +resource server 'Microsoft.Sql/servers@2021-11-01' = { + location: location + name: resource_name + properties: { + administratorLogin: 'mradministrator' + administratorLoginPassword: 'thisIsDog11' + minimalTlsVersion: '1.2' + publicNetworkAccess: 'Enabled' + restrictOutboundNetworkAccess: 'Disabled' + version: '12.0' + } +} + diff --git a/settings/remarks/microsoft.sql/servers/connectionpolicies/main.bicep b/settings/remarks/microsoft.sql/servers/connectionpolicies/main.bicep new file mode 100644 index 0000000..5591b9b --- /dev/null +++ b/settings/remarks/microsoft.sql/servers/connectionpolicies/main.bicep @@ -0,0 +1,16 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource server 'Microsoft.Sql/servers@2021-02-01-preview' = { + location: location + name: resource_name + properties: { + administratorLogin: 'mradministrator' + administratorLoginPassword: 'thisIsDog11' + minimalTlsVersion: '1.2' + publicNetworkAccess: 'Enabled' + restrictOutboundNetworkAccess: 'Disabled' + version: '12.0' + } +} + diff --git a/settings/remarks/microsoft.sql/servers/databases/main.bicep b/settings/remarks/microsoft.sql/servers/databases/main.bicep new file mode 100644 index 0000000..a2297c2 --- /dev/null +++ b/settings/remarks/microsoft.sql/servers/databases/main.bicep @@ -0,0 +1,27 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource database 'Microsoft.Sql/servers/databases@2014-04-01' = { + parent: server + location: location + name: resource_name + properties: { + collation: 'SQL_LATIN1_GENERAL_CP1_CI_AS' + createMode: 'Default' + maxSizeBytes: '268435456000' + readScale: 'Disabled' + requestedServiceObjectiveName: 'S0' + zoneRedundant: false + } +} + +resource server 'Microsoft.Sql/servers@2015-05-01-preview' = { + location: location + name: resource_name + properties: { + administratorLogin: 'acctestadmin' + administratorLoginPassword: 't2RX8A76GrnE4EKC' + version: '12.0' + } +} + diff --git a/settings/remarks/microsoft.sql/servers/databases/securityalertpolicies/main.bicep b/settings/remarks/microsoft.sql/servers/databases/securityalertpolicies/main.bicep new file mode 100644 index 0000000..a2297c2 --- /dev/null +++ b/settings/remarks/microsoft.sql/servers/databases/securityalertpolicies/main.bicep @@ -0,0 +1,27 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource database 'Microsoft.Sql/servers/databases@2014-04-01' = { + parent: server + location: location + name: resource_name + properties: { + collation: 'SQL_LATIN1_GENERAL_CP1_CI_AS' + createMode: 'Default' + maxSizeBytes: '268435456000' + readScale: 'Disabled' + requestedServiceObjectiveName: 'S0' + zoneRedundant: false + } +} + +resource server 'Microsoft.Sql/servers@2015-05-01-preview' = { + location: location + name: resource_name + properties: { + administratorLogin: 'acctestadmin' + administratorLoginPassword: 't2RX8A76GrnE4EKC' + version: '12.0' + } +} + diff --git a/settings/remarks/microsoft.sql/servers/dnsaliases/main.bicep b/settings/remarks/microsoft.sql/servers/dnsaliases/main.bicep new file mode 100644 index 0000000..aa7e153 --- /dev/null +++ b/settings/remarks/microsoft.sql/servers/dnsaliases/main.bicep @@ -0,0 +1,21 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource dnsAlias 'Microsoft.Sql/servers/dnsAliases@2020-11-01-preview' = { + parent: server + name: resource_name +} + +resource server 'Microsoft.Sql/servers@2021-02-01-preview' = { + location: location + name: resource_name + properties: { + administratorLogin: 'umtacc' + administratorLoginPassword: 'random81jdpwd_$#fs' + minimalTlsVersion: '1.2' + publicNetworkAccess: 'Enabled' + restrictOutboundNetworkAccess: 'Disabled' + version: '12.0' + } +} + diff --git a/settings/remarks/microsoft.sql/servers/elasticpools/main.bicep b/settings/remarks/microsoft.sql/servers/elasticpools/main.bicep new file mode 100644 index 0000000..c71d661 --- /dev/null +++ b/settings/remarks/microsoft.sql/servers/elasticpools/main.bicep @@ -0,0 +1,24 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource elasticPool 'Microsoft.Sql/servers/elasticPools@2014-04-01' = { + parent: server + location: location + name: resource_name + properties: { + dtu: 50 + edition: 'Basic' + storageMB: 5000 + } +} + +resource server 'Microsoft.Sql/servers@2015-05-01-preview' = { + location: location + name: resource_name + properties: { + administratorLogin: '4dm1n157r470r' + administratorLoginPassword: '4-v3ry-53cr37-p455w0rd' + version: '12.0' + } +} + diff --git a/settings/remarks/microsoft.sql/servers/firewallrules/main.bicep b/settings/remarks/microsoft.sql/servers/firewallrules/main.bicep new file mode 100644 index 0000000..2d25d26 --- /dev/null +++ b/settings/remarks/microsoft.sql/servers/firewallrules/main.bicep @@ -0,0 +1,25 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource firewallRule 'Microsoft.Sql/servers/firewallRules@2020-11-01-preview' = { + parent: server + name: resource_name + properties: { + endIpAddress: '255.255.255.255' + startIpAddress: '0.0.0.0' + } +} + +resource server 'Microsoft.Sql/servers@2021-02-01-preview' = { + location: location + name: resource_name + properties: { + administratorLogin: 'msincredible' + administratorLoginPassword: 'P@55W0rD!!j1ya4' + minimalTlsVersion: '1.2' + publicNetworkAccess: 'Enabled' + restrictOutboundNetworkAccess: 'Disabled' + version: '12.0' + } +} + diff --git a/settings/remarks/microsoft.sql/servers/jobagents/credentials/main.bicep b/settings/remarks/microsoft.sql/servers/jobagents/credentials/main.bicep new file mode 100644 index 0000000..4cfdff2 --- /dev/null +++ b/settings/remarks/microsoft.sql/servers/jobagents/credentials/main.bicep @@ -0,0 +1,52 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource credential 'Microsoft.Sql/servers/jobAgents/credentials@2020-11-01-preview' = { + parent: jobAgent + name: resource_name + properties: { + password: 'test' + username: 'test' + } +} + +resource database 'Microsoft.Sql/servers/databases@2021-02-01-preview' = { + parent: server + location: location + name: resource_name + properties: { + autoPauseDelay: 0 + collation: 'SQL_Latin1_General_CP1_CI_AS' + createMode: 'Default' + elasticPoolId: '' + highAvailabilityReplicaCount: 0 + isLedgerOn: false + minCapacity: 0 + readScale: 'Disabled' + requestedBackupStorageRedundancy: 'Geo' + zoneRedundant: false + } +} + +resource jobAgent 'Microsoft.Sql/servers/jobAgents@2020-11-01-preview' = { + parent: server + location: location + name: resource_name + properties: { + databaseId: database.id + } +} + +resource server 'Microsoft.Sql/servers@2021-02-01-preview' = { + location: location + name: resource_name + properties: { + administratorLogin: '4dministr4t0r' + administratorLoginPassword: 'superSecur3!!!' + minimalTlsVersion: '1.2' + publicNetworkAccess: 'Enabled' + restrictOutboundNetworkAccess: 'Disabled' + version: '12.0' + } +} + diff --git a/settings/remarks/microsoft.sql/servers/main.bicep b/settings/remarks/microsoft.sql/servers/main.bicep new file mode 100644 index 0000000..5591b9b --- /dev/null +++ b/settings/remarks/microsoft.sql/servers/main.bicep @@ -0,0 +1,16 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource server 'Microsoft.Sql/servers@2021-02-01-preview' = { + location: location + name: resource_name + properties: { + administratorLogin: 'mradministrator' + administratorLoginPassword: 'thisIsDog11' + minimalTlsVersion: '1.2' + publicNetworkAccess: 'Enabled' + restrictOutboundNetworkAccess: 'Disabled' + version: '12.0' + } +} + diff --git a/settings/remarks/microsoft.sql/servers/securityalertpolicies/main.bicep b/settings/remarks/microsoft.sql/servers/securityalertpolicies/main.bicep new file mode 100644 index 0000000..93868a3 --- /dev/null +++ b/settings/remarks/microsoft.sql/servers/securityalertpolicies/main.bicep @@ -0,0 +1,13 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource server 'Microsoft.Sql/servers@2015-05-01-preview' = { + location: location + name: resource_name + properties: { + administratorLogin: 'acctestadmin' + administratorLoginPassword: 't2RX8A76GrnE4EKC' + version: '12.0' + } +} + diff --git a/settings/remarks/microsoft.sql/servers/sqlvulnerabilityassessments/main.bicep b/settings/remarks/microsoft.sql/servers/sqlvulnerabilityassessments/main.bicep new file mode 100644 index 0000000..1e98dc1 --- /dev/null +++ b/settings/remarks/microsoft.sql/servers/sqlvulnerabilityassessments/main.bicep @@ -0,0 +1,16 @@ +param location string = 'eastus' +param resource_name string = 'acctest0001' + +resource server 'Microsoft.Sql/servers@2022-05-01-preview' = { + location: location + name: resource_name + properties: { + administratorLogin: 'mradministrator' + administratorLoginPassword: 'thisIsDog11' + minimalTlsVersion: '1.2' + publicNetworkAccess: 'Enabled' + restrictOutboundNetworkAccess: 'Disabled' + version: '12.0' + } +} + diff --git a/settings/remarks/microsoft.sql/servers/virtualnetworkrules/main.bicep b/settings/remarks/microsoft.sql/servers/virtualnetworkrules/main.bicep new file mode 100644 index 0000000..1059253 --- /dev/null +++ b/settings/remarks/microsoft.sql/servers/virtualnetworkrules/main.bicep @@ -0,0 +1,58 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource server 'Microsoft.Sql/servers@2021-02-01-preview' = { + location: location + name: resource_name + properties: { + administratorLogin: 'missadmin' + administratorLoginPassword: 'P@55W0rD!!oyefp' + minimalTlsVersion: '1.2' + publicNetworkAccess: 'Enabled' + restrictOutboundNetworkAccess: 'Disabled' + version: '12.0' + } +} + +resource subnet 'Microsoft.Network/virtualNetworks/subnets@2022-07-01' = { + parent: virtualNetwork + name: resource_name + properties: { + addressPrefix: '10.7.28.0/25' + delegations: [] + privateEndpointNetworkPolicies: 'Enabled' + privateLinkServiceNetworkPolicies: 'Enabled' + serviceEndpointPolicies: [] + serviceEndpoints: [ + { + service: 'Microsoft.Sql' + } + ] + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.7.28.0/23' + ] + } + dhcpOptions: { + dnsServers: [] + } + subnets: [] + } +} + +resource virtualNetworkRule 'Microsoft.Sql/servers/virtualNetworkRules@2020-11-01-preview' = { + parent: server + name: resource_name + properties: { + ignoreMissingVnetServiceEndpoint: false + virtualNetworkSubnetId: subnet.id + } +} + diff --git a/settings/remarks/microsoft.storage/remarks.json b/settings/remarks/microsoft.storage/remarks.json new file mode 100644 index 0000000..6e7b09f --- /dev/null +++ b/settings/remarks/microsoft.storage/remarks.json @@ -0,0 +1,40 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.Storage/storageAccounts", + "Path": "storageaccounts/blobservices/main.bicep", + "Description": "Basic sample for Microsoft.Storage/storageAccounts/blobServices@2021-09-01." + }, + { + "ResourceType": "Microsoft.Storage/storageAccounts", + "Path": "storageaccounts/blobservices/containers/main.bicep", + "Description": "Basic sample for Microsoft.Storage/storageAccounts/blobServices/containers@2021-09-01." + }, + { + "ResourceType": "Microsoft.Storage/storageAccounts", + "Path": "storageaccounts/blobservices/containers/immutabilitypolicies/main.bicep", + "Description": "Basic sample for Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies@2023-05-01." + }, + { + "ResourceType": "Microsoft.Storage/storageAccounts", + "Path": "storageaccounts/fileservices/shares/main.bicep", + "Description": "Basic sample for Microsoft.Storage/storageAccounts/fileServices/shares@2021-09-01." + }, + { + "ResourceType": "Microsoft.Storage/storageAccounts", + "Path": "storageaccounts/managementpolicies/main.bicep", + "Description": "Basic sample for Microsoft.Storage/storageAccounts/managementPolicies@2021-09-01." + }, + { + "ResourceType": "Microsoft.Storage/storageAccounts", + "Path": "storageaccounts/queueservices/queues/main.bicep", + "Description": "Basic sample for Microsoft.Storage/storageAccounts/queueServices/queues@2021-09-01." + }, + { + "ResourceType": "Microsoft.Storage/storageAccounts", + "Path": "storageaccounts/tableservices/tables/main.bicep", + "Description": "Basic sample for Microsoft.Storage/storageAccounts/tableServices/tables@2021-09-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.storage/storageaccounts/blobservices/containers/immutabilitypolicies/main.bicep b/settings/remarks/microsoft.storage/storageaccounts/blobservices/containers/immutabilitypolicies/main.bicep new file mode 100644 index 0000000..4f3e40e --- /dev/null +++ b/settings/remarks/microsoft.storage/storageaccounts/blobservices/containers/immutabilitypolicies/main.bicep @@ -0,0 +1,21 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource container 'Microsoft.Storage/storageAccounts/blobServices/containers@2022-09-01' = { + name: resource_name + properties: { + metadata: { + key: 'value' + } + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + properties: {} + sku: { + name: 'Standard_LRS' + } +} + diff --git a/settings/remarks/microsoft.storage/storageaccounts/blobservices/containers/main.bicep b/settings/remarks/microsoft.storage/storageaccounts/blobservices/containers/main.bicep new file mode 100644 index 0000000..4f3e40e --- /dev/null +++ b/settings/remarks/microsoft.storage/storageaccounts/blobservices/containers/main.bicep @@ -0,0 +1,21 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource container 'Microsoft.Storage/storageAccounts/blobServices/containers@2022-09-01' = { + name: resource_name + properties: { + metadata: { + key: 'value' + } + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + properties: {} + sku: { + name: 'Standard_LRS' + } +} + diff --git a/settings/remarks/microsoft.storage/storageaccounts/blobservices/main.bicep b/settings/remarks/microsoft.storage/storageaccounts/blobservices/main.bicep new file mode 100644 index 0000000..b53bcb6 --- /dev/null +++ b/settings/remarks/microsoft.storage/storageaccounts/blobservices/main.bicep @@ -0,0 +1,39 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: { + accessTier: 'Hot' + allowBlobPublicAccess: true + allowCrossTenantReplication: true + allowSharedKeyAccess: true + defaultToOAuthAuthentication: false + encryption: { + keySource: 'Microsoft.Storage' + services: { + queue: { + keyType: 'Service' + } + table: { + keyType: 'Service' + } + } + } + isHnsEnabled: false + isNfsV3Enabled: false + isSftpEnabled: false + minimumTlsVersion: 'TLS1_2' + networkAcls: { + defaultAction: 'Allow' + } + publicNetworkAccess: 'Enabled' + supportsHttpsTrafficOnly: true + } + sku: { + name: 'Standard_LRS' + } +} + diff --git a/settings/remarks/microsoft.storage/storageaccounts/fileservices/shares/main.bicep b/settings/remarks/microsoft.storage/storageaccounts/fileservices/shares/main.bicep new file mode 100644 index 0000000..46861ef --- /dev/null +++ b/settings/remarks/microsoft.storage/storageaccounts/fileservices/shares/main.bicep @@ -0,0 +1,19 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource share 'Microsoft.Storage/storageAccounts/fileServices/shares@2022-09-01' = { + name: resource_name + properties: { + accessTier: 'Cool' + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + properties: {} + sku: { + name: 'Standard_LRS' + } +} + diff --git a/settings/remarks/microsoft.storage/storageaccounts/managementpolicies/main.bicep b/settings/remarks/microsoft.storage/storageaccounts/managementpolicies/main.bicep new file mode 100644 index 0000000..ec747a5 --- /dev/null +++ b/settings/remarks/microsoft.storage/storageaccounts/managementpolicies/main.bicep @@ -0,0 +1,83 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource managementPolicy 'Microsoft.Storage/storageAccounts/managementPolicies@2021-09-01' = { + parent: storageAccount + name: 'default' + properties: { + policy: { + rules: [ + { + definition: { + actions: { + baseBlob: { + delete: { + daysAfterModificationGreaterThan: 100 + } + tierToArchive: { + daysAfterModificationGreaterThan: 50 + } + tierToCool: { + daysAfterModificationGreaterThan: 10 + } + } + snapshot: { + delete: { + daysAfterCreationGreaterThan: 30 + } + } + } + filters: { + blobTypes: [ + 'blockBlob' + ] + prefixMatch: [ + 'container1/prefix1' + ] + } + } + enabled: true + name: 'rule-1' + type: 'Lifecycle' + } + ] + } + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'BlobStorage' + properties: { + accessTier: 'Hot' + allowBlobPublicAccess: true + allowCrossTenantReplication: true + allowSharedKeyAccess: true + defaultToOAuthAuthentication: false + encryption: { + keySource: 'Microsoft.Storage' + services: { + queue: { + keyType: 'Service' + } + table: { + keyType: 'Service' + } + } + } + isHnsEnabled: false + isNfsV3Enabled: false + isSftpEnabled: false + minimumTlsVersion: 'TLS1_2' + networkAcls: { + defaultAction: 'Allow' + } + publicNetworkAccess: 'Enabled' + supportsHttpsTrafficOnly: true + } + sku: { + name: 'Standard_LRS' + } +} + diff --git a/settings/remarks/microsoft.storage/storageaccounts/queueservices/queues/main.bicep b/settings/remarks/microsoft.storage/storageaccounts/queueservices/queues/main.bicep new file mode 100644 index 0000000..b31ecbc --- /dev/null +++ b/settings/remarks/microsoft.storage/storageaccounts/queueservices/queues/main.bicep @@ -0,0 +1,21 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource queue 'Microsoft.Storage/storageAccounts/queueServices/queues@2022-09-01' = { + name: resource_name + properties: { + metadata: { + key: 'value' + } + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + properties: {} + sku: { + name: 'Standard_LRS' + } +} + diff --git a/settings/remarks/microsoft.storage/storageaccounts/tableservices/tables/main.bicep b/settings/remarks/microsoft.storage/storageaccounts/tableservices/tables/main.bicep new file mode 100644 index 0000000..339ad16 --- /dev/null +++ b/settings/remarks/microsoft.storage/storageaccounts/tableservices/tables/main.bicep @@ -0,0 +1,19 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + properties: {} + sku: { + name: 'Standard_LRS' + } +} + +resource table 'Microsoft.Storage/storageAccounts/tableServices/tables@2022-09-01' = { + name: resource_name + properties: { + signedIdentifiers: [] + } +} + diff --git a/settings/remarks/microsoft.storagecache/caches/main.bicep b/settings/remarks/microsoft.storagecache/caches/main.bicep new file mode 100644 index 0000000..4d4cb2b --- /dev/null +++ b/settings/remarks/microsoft.storagecache/caches/main.bicep @@ -0,0 +1,48 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource cach 'Microsoft.StorageCache/caches@2023-01-01' = { + location: location + name: resource_name + properties: { + cacheSizeGB: 3072 + networkSettings: { + mtu: 1500 + ntpServer: 'time.windows.com' + } + subnet: subnet.id + } + sku: { + name: 'Standard_2G' + } +} + +resource subnet 'Microsoft.Network/virtualNetworks/subnets@2022-07-01' = { + parent: virtualNetwork + name: resource_name + properties: { + addressPrefix: '10.0.2.0/24' + delegations: [] + privateEndpointNetworkPolicies: 'Enabled' + privateLinkServiceNetworkPolicies: 'Enabled' + serviceEndpointPolicies: [] + serviceEndpoints: [] + } +} + +resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-07-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.0.0.0/16' + ] + } + dhcpOptions: { + dnsServers: [] + } + subnets: [] + } +} + diff --git a/settings/remarks/microsoft.storagecache/remarks.json b/settings/remarks/microsoft.storagecache/remarks.json new file mode 100644 index 0000000..d4890da --- /dev/null +++ b/settings/remarks/microsoft.storagecache/remarks.json @@ -0,0 +1,10 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.StorageCache/caches", + "Path": "caches/main.bicep", + "Description": "Basic sample for Microsoft.StorageCache/caches@2023-01-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.storagemover/remarks.json b/settings/remarks/microsoft.storagemover/remarks.json new file mode 100644 index 0000000..6306c3f --- /dev/null +++ b/settings/remarks/microsoft.storagemover/remarks.json @@ -0,0 +1,20 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.StorageMover/storageMovers", + "Path": "storagemovers/main.bicep", + "Description": "Basic sample for Microsoft.StorageMover/storageMovers@2023-03-01." + }, + { + "ResourceType": "Microsoft.StorageMover/storageMovers", + "Path": "storagemovers/endpoints/main.bicep", + "Description": "Basic sample for Microsoft.StorageMover/storageMovers/endpoints@2023-03-01." + }, + { + "ResourceType": "Microsoft.StorageMover/storageMovers", + "Path": "storagemovers/projects/main.bicep", + "Description": "Basic sample for Microsoft.StorageMover/storageMovers/projects@2023-03-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.storagemover/storagemovers/endpoints/main.bicep b/settings/remarks/microsoft.storagemover/storagemovers/endpoints/main.bicep new file mode 100644 index 0000000..f1859ac --- /dev/null +++ b/settings/remarks/microsoft.storagemover/storagemovers/endpoints/main.bicep @@ -0,0 +1,20 @@ +param location string = 'eastus' +param resource_name string = 'acctest0001' + +resource endpoint 'Microsoft.StorageMover/storageMovers/endpoints@2023-03-01' = { + parent: storageMover + name: resource_name + properties: { + endpointType: 'NfsMount' + export: '' + host: '192.168.0.1' + nfsVersion: 'NFSauto' + } +} + +resource storageMover 'Microsoft.StorageMover/storageMovers@2023-03-01' = { + location: location + name: resource_name + properties: {} +} + diff --git a/settings/remarks/microsoft.storagemover/storagemovers/main.bicep b/settings/remarks/microsoft.storagemover/storagemovers/main.bicep new file mode 100644 index 0000000..8d4fa5c --- /dev/null +++ b/settings/remarks/microsoft.storagemover/storagemovers/main.bicep @@ -0,0 +1,9 @@ +param location string = 'eastus' +param resource_name string = 'acctest0001' + +resource storageMover 'Microsoft.StorageMover/storageMovers@2023-03-01' = { + location: location + name: resource_name + properties: {} +} + diff --git a/settings/remarks/microsoft.storagemover/storagemovers/projects/main.bicep b/settings/remarks/microsoft.storagemover/storagemovers/projects/main.bicep new file mode 100644 index 0000000..913a904 --- /dev/null +++ b/settings/remarks/microsoft.storagemover/storagemovers/projects/main.bicep @@ -0,0 +1,15 @@ +param location string = 'eastus' +param resource_name string = 'acctest0001' + +resource project 'Microsoft.StorageMover/storageMovers/projects@2023-03-01' = { + parent: storageMover + name: resource_name + properties: {} +} + +resource storageMover 'Microsoft.StorageMover/storageMovers@2023-03-01' = { + location: location + name: resource_name + properties: {} +} + diff --git a/settings/remarks/microsoft.storagesync/remarks.json b/settings/remarks/microsoft.storagesync/remarks.json new file mode 100644 index 0000000..31b127d --- /dev/null +++ b/settings/remarks/microsoft.storagesync/remarks.json @@ -0,0 +1,15 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.StorageSync/storageSyncServices", + "Path": "storagesyncservices/main.bicep", + "Description": "Basic sample for Microsoft.StorageSync/storageSyncServices@2020-03-01." + }, + { + "ResourceType": "Microsoft.StorageSync/storageSyncServices", + "Path": "storagesyncservices/syncgroups/main.bicep", + "Description": "Basic sample for Microsoft.StorageSync/storageSyncServices/syncGroups@2020-03-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.storagesync/storagesyncservices/main.bicep b/settings/remarks/microsoft.storagesync/storagesyncservices/main.bicep new file mode 100644 index 0000000..f7cb4dd --- /dev/null +++ b/settings/remarks/microsoft.storagesync/storagesyncservices/main.bicep @@ -0,0 +1,11 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource storageSyncService 'Microsoft.StorageSync/storageSyncServices@2020-03-01' = { + location: location + name: resource_name + properties: { + incomingTrafficPolicy: 'AllowAllTraffic' + } +} + diff --git a/settings/remarks/microsoft.storagesync/storagesyncservices/syncgroups/main.bicep b/settings/remarks/microsoft.storagesync/storagesyncservices/syncgroups/main.bicep new file mode 100644 index 0000000..90402e1 --- /dev/null +++ b/settings/remarks/microsoft.storagesync/storagesyncservices/syncgroups/main.bicep @@ -0,0 +1,16 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource storageSyncService 'Microsoft.StorageSync/storageSyncServices@2020-03-01' = { + location: location + name: resource_name + properties: { + incomingTrafficPolicy: 'AllowAllTraffic' + } +} + +resource syncGroup 'Microsoft.StorageSync/storageSyncServices/syncGroups@2020-03-01' = { + parent: storageSyncService + name: resource_name +} + diff --git a/settings/remarks/microsoft.streamanalytics/clusters/main.bicep b/settings/remarks/microsoft.streamanalytics/clusters/main.bicep new file mode 100644 index 0000000..dc2de13 --- /dev/null +++ b/settings/remarks/microsoft.streamanalytics/clusters/main.bicep @@ -0,0 +1,12 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource cluster 'Microsoft.StreamAnalytics/clusters@2020-03-01' = { + location: location + name: resource_name + sku: { + capacity: 36 + name: 'Default' + } +} + diff --git a/settings/remarks/microsoft.streamanalytics/remarks.json b/settings/remarks/microsoft.streamanalytics/remarks.json new file mode 100644 index 0000000..afdec6f --- /dev/null +++ b/settings/remarks/microsoft.streamanalytics/remarks.json @@ -0,0 +1,20 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.StreamAnalytics/clusters", + "Path": "clusters/main.bicep", + "Description": "Basic sample for Microsoft.StreamAnalytics/clusters@2020-03-01." + }, + { + "ResourceType": "Microsoft.StreamAnalytics/streamingJobs", + "Path": "streamingjobs/main.bicep", + "Description": "Basic sample for Microsoft.StreamAnalytics/streamingJobs@2020-03-01." + }, + { + "ResourceType": "Microsoft.StreamAnalytics/streamingJobs", + "Path": "streamingjobs/functions/main.bicep", + "Description": "Basic sample for Microsoft.StreamAnalytics/streamingJobs/functions@2020-03-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.streamanalytics/streamingjobs/functions/main.bicep b/settings/remarks/microsoft.streamanalytics/streamingjobs/functions/main.bicep new file mode 100644 index 0000000..cb671e5 --- /dev/null +++ b/settings/remarks/microsoft.streamanalytics/streamingjobs/functions/main.bicep @@ -0,0 +1,54 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource function 'Microsoft.StreamAnalytics/streamingJobs/functions@2020-03-01' = { + parent: streamingJob + name: resource_name + properties: { + properties: { + binding: { + properties: { + script: 'function getRandomNumber(in) {\n return in;\n}\n' + } + type: 'Microsoft.StreamAnalytics/JavascriptUdf' + } + inputs: [ + { + dataType: 'bigint' + isConfigurationParameter: false + } + ] + output: { + dataType: 'bigint' + } + } + type: 'Scalar' + } +} + +resource streamingJob 'Microsoft.StreamAnalytics/streamingJobs@2020-03-01' = { + location: location + name: resource_name + properties: { + cluster: {} + compatibilityLevel: '1.0' + contentStoragePolicy: 'SystemAccount' + dataLocale: 'en-GB' + eventsLateArrivalMaxDelayInSeconds: 60 + eventsOutOfOrderMaxDelayInSeconds: 50 + eventsOutOfOrderPolicy: 'Adjust' + jobType: 'Cloud' + outputErrorPolicy: 'Drop' + sku: { + name: 'Standard' + } + transformation: { + name: 'main' + properties: { + query: ' SELECT *\n INTO [YourOutputAlias]\n FROM [YourInputAlias]\n' + streamingUnits: 3 + } + } + } +} + diff --git a/settings/remarks/microsoft.streamanalytics/streamingjobs/main.bicep b/settings/remarks/microsoft.streamanalytics/streamingjobs/main.bicep new file mode 100644 index 0000000..8242cab --- /dev/null +++ b/settings/remarks/microsoft.streamanalytics/streamingjobs/main.bicep @@ -0,0 +1,29 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource streamingJob 'Microsoft.StreamAnalytics/streamingJobs@2020-03-01' = { + location: location + name: resource_name + properties: { + cluster: {} + compatibilityLevel: '1.0' + contentStoragePolicy: 'SystemAccount' + dataLocale: 'en-GB' + eventsLateArrivalMaxDelayInSeconds: 60 + eventsOutOfOrderMaxDelayInSeconds: 50 + eventsOutOfOrderPolicy: 'Adjust' + jobType: 'Cloud' + outputErrorPolicy: 'Drop' + sku: { + name: 'Standard' + } + transformation: { + name: 'main' + properties: { + query: ' SELECT *\n INTO [YourOutputAlias]\n FROM [YourInputAlias]\n' + streamingUnits: 3 + } + } + } +} + diff --git a/settings/remarks/microsoft.synapse/privatelinkhubs/main.bicep b/settings/remarks/microsoft.synapse/privatelinkhubs/main.bicep new file mode 100644 index 0000000..fbd1898 --- /dev/null +++ b/settings/remarks/microsoft.synapse/privatelinkhubs/main.bicep @@ -0,0 +1,8 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource privateLinkHub 'Microsoft.Synapse/privateLinkHubs@2021-06-01' = { + location: location + name: resource_name +} + diff --git a/settings/remarks/microsoft.synapse/remarks.json b/settings/remarks/microsoft.synapse/remarks.json new file mode 100644 index 0000000..24063a2 --- /dev/null +++ b/settings/remarks/microsoft.synapse/remarks.json @@ -0,0 +1,65 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.Synapse/privateLinkHubs", + "Path": "privatelinkhubs/main.bicep", + "Description": "Basic sample for Microsoft.Synapse/privateLinkHubs@2021-06-01." + }, + { + "ResourceType": "Microsoft.Synapse/workspaces", + "Path": "workspaces/main.bicep", + "Description": "Basic sample for Microsoft.Synapse/workspaces@2021-06-01." + }, + { + "ResourceType": "Microsoft.Synapse/workspaces", + "Path": "workspaces/azureadonlyauthentications/main.bicep", + "Description": "Basic sample for Microsoft.Synapse/workspaces/azureADOnlyAuthentications@2021-06-01-preview." + }, + { + "ResourceType": "Microsoft.Synapse/workspaces", + "Path": "workspaces/bigdatapools/main.bicep", + "Description": "Basic sample for Microsoft.Synapse/workspaces/bigDataPools@2021-06-01-preview." + }, + { + "ResourceType": "Microsoft.Synapse/workspaces", + "Path": "workspaces/firewallrules/main.bicep", + "Description": "Basic sample for Microsoft.Synapse/workspaces/firewallRules@2021-06-01." + }, + { + "ResourceType": "Microsoft.Synapse/workspaces", + "Path": "workspaces/integrationruntimes/main.bicep", + "Description": "Basic sample for Microsoft.Synapse/workspaces/integrationRuntimes@2021-06-01-preview." + }, + { + "ResourceType": "Microsoft.Synapse/workspaces", + "Path": "workspaces/managedidentitysqlcontrolsettings/main.bicep", + "Description": "Basic sample for Microsoft.Synapse/workspaces/managedIdentitySqlControlSettings@2021-06-01." + }, + { + "ResourceType": "Microsoft.Synapse/workspaces", + "Path": "workspaces/securityalertpolicies/main.bicep", + "Description": "Basic sample for Microsoft.Synapse/workspaces/securityAlertPolicies@2021-06-01." + }, + { + "ResourceType": "Microsoft.Synapse/workspaces", + "Path": "workspaces/sqlpools/main.bicep", + "Description": "Basic sample for Microsoft.Synapse/workspaces/sqlPools@2021-06-01." + }, + { + "ResourceType": "Microsoft.Synapse/workspaces", + "Path": "workspaces/sqlpools/vulnerabilityassessments/main.bicep", + "Description": "Basic sample for Microsoft.Synapse/workspaces/sqlPools/vulnerabilityAssessments@2021-06-01." + }, + { + "ResourceType": "Microsoft.Synapse/workspaces", + "Path": "workspaces/sqlpools/workloadgroups/main.bicep", + "Description": "Basic sample for Microsoft.Synapse/workspaces/sqlPools/workloadGroups@2021-06-01." + }, + { + "ResourceType": "Microsoft.Synapse/workspaces", + "Path": "workspaces/sqlpools/workloadgroups/workloadclassifiers/main.bicep", + "Description": "Basic sample for Microsoft.Synapse/workspaces/sqlPools/workloadGroups/workloadClassifiers@2021-06-01." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.synapse/workspaces/azureadonlyauthentications/main.bicep b/settings/remarks/microsoft.synapse/workspaces/azureadonlyauthentications/main.bicep new file mode 100644 index 0000000..d02148e --- /dev/null +++ b/settings/remarks/microsoft.synapse/workspaces/azureadonlyauthentications/main.bicep @@ -0,0 +1,43 @@ +param location string = 'eastus' +param resource_name string = 'acctest0001' + +resource container 'Microsoft.Storage/storageAccounts/blobServices/containers@2022-09-01' = { + name: resource_name + properties: { + metadata: { + key: 'value' + } + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: {} + sku: { + name: 'Standard_LRS' + } +} + +resource workspace 'Microsoft.Synapse/workspaces@2021-06-01' = { + identity: [ + { + identity_ids: [] + type: 'SystemAssigned' + } + ] + location: location + name: resource_name + properties: { + defaultDataLakeStorage: { + accountUrl: storageAccount.properties.primaryEndpoints.dfs + filesystem: container.name + } + managedVirtualNetwork: '' + publicNetworkAccess: 'Enabled' + sqlAdministratorLogin: 'sqladminuser' + sqlAdministratorLoginPassword: 'H@Sh1CoR3!' + } +} + diff --git a/settings/remarks/microsoft.synapse/workspaces/bigdatapools/main.bicep b/settings/remarks/microsoft.synapse/workspaces/bigdatapools/main.bicep new file mode 100644 index 0000000..ff5ff8c --- /dev/null +++ b/settings/remarks/microsoft.synapse/workspaces/bigdatapools/main.bicep @@ -0,0 +1,71 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource bigDataPool 'Microsoft.Synapse/workspaces/bigDataPools@2021-06-01-preview' = { + parent: workspace + location: location + name: resource_name + properties: { + autoPause: { + enabled: false + } + autoScale: { + enabled: false + } + cacheSize: 0 + defaultSparkLogFolder: '/logs' + dynamicExecutorAllocation: { + enabled: false + maxExecutors: 0 + minExecutors: 0 + } + isComputeIsolationEnabled: false + nodeCount: 3 + nodeSize: 'Small' + nodeSizeFamily: 'MemoryOptimized' + sessionLevelPackagesEnabled: false + sparkEventsFolder: '/events' + sparkVersion: '2.4' + } +} + +resource container 'Microsoft.Storage/storageAccounts/blobServices/containers@2022-09-01' = { + name: resource_name + properties: { + metadata: { + key: 'value' + } + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: {} + sku: { + name: 'Standard_LRS' + } +} + +resource workspace 'Microsoft.Synapse/workspaces@2021-06-01' = { + identity: [ + { + identity_ids: [] + type: 'SystemAssigned' + } + ] + location: location + name: resource_name + properties: { + defaultDataLakeStorage: { + accountUrl: storageAccount.properties.primaryEndpoints.dfs + filesystem: container.name + } + managedVirtualNetwork: '' + publicNetworkAccess: 'Enabled' + sqlAdministratorLogin: 'sqladminuser' + sqlAdministratorLoginPassword: 'H@Sh1CoR3!' + } +} + diff --git a/settings/remarks/microsoft.synapse/workspaces/firewallrules/main.bicep b/settings/remarks/microsoft.synapse/workspaces/firewallrules/main.bicep new file mode 100644 index 0000000..f76c8b3 --- /dev/null +++ b/settings/remarks/microsoft.synapse/workspaces/firewallrules/main.bicep @@ -0,0 +1,52 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource container 'Microsoft.Storage/storageAccounts/blobServices/containers@2022-09-01' = { + name: resource_name + properties: { + metadata: { + key: 'value' + } + } +} + +resource firewallRule 'Microsoft.Synapse/workspaces/firewallRules@2021-06-01' = { + parent: workspace + name: 'AllowAll' + properties: { + endIpAddress: '255.255.255.255' + startIpAddress: '0.0.0.0' + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: {} + sku: { + name: 'Standard_LRS' + } +} + +resource workspace 'Microsoft.Synapse/workspaces@2021-06-01' = { + identity: [ + { + identity_ids: [] + type: 'SystemAssigned' + } + ] + location: location + name: resource_name + properties: { + defaultDataLakeStorage: { + accountUrl: storageAccount.properties.primaryEndpoints.dfs + filesystem: container.name + } + managedVirtualNetwork: '' + publicNetworkAccess: 'Enabled' + sqlAdministratorLogin: 'sqladminuser' + sqlAdministratorLoginPassword: 'H@Sh1CoR3!' + } +} + diff --git a/settings/remarks/microsoft.synapse/workspaces/integrationruntimes/main.bicep b/settings/remarks/microsoft.synapse/workspaces/integrationruntimes/main.bicep new file mode 100644 index 0000000..6d47a71 --- /dev/null +++ b/settings/remarks/microsoft.synapse/workspaces/integrationruntimes/main.bicep @@ -0,0 +1,52 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource container 'Microsoft.Storage/storageAccounts/blobServices/containers@2022-09-01' = { + name: resource_name + properties: { + metadata: { + key: 'value' + } + } +} + +resource integrationRuntime 'Microsoft.Synapse/workspaces/integrationRuntimes@2021-06-01-preview' = { + parent: workspace + name: resource_name + properties: { + description: 'test' + type: 'SelfHosted' + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: {} + sku: { + name: 'Standard_LRS' + } +} + +resource workspace 'Microsoft.Synapse/workspaces@2021-06-01' = { + identity: [ + { + identity_ids: [] + type: 'SystemAssigned' + } + ] + location: location + name: resource_name + properties: { + defaultDataLakeStorage: { + accountUrl: storageAccount.properties.primaryEndpoints.dfs + filesystem: container.name + } + managedVirtualNetwork: 'default' + publicNetworkAccess: 'Enabled' + sqlAdministratorLogin: 'sqladminuser' + sqlAdministratorLoginPassword: 'H@Sh1CoR3!' + } +} + diff --git a/settings/remarks/microsoft.synapse/workspaces/main.bicep b/settings/remarks/microsoft.synapse/workspaces/main.bicep new file mode 100644 index 0000000..fac5e24 --- /dev/null +++ b/settings/remarks/microsoft.synapse/workspaces/main.bicep @@ -0,0 +1,43 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource container 'Microsoft.Storage/storageAccounts/blobServices/containers@2022-09-01' = { + name: resource_name + properties: { + metadata: { + key: 'value' + } + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: {} + sku: { + name: 'Standard_LRS' + } +} + +resource workspace 'Microsoft.Synapse/workspaces@2021-06-01' = { + identity: [ + { + identity_ids: [] + type: 'SystemAssigned' + } + ] + location: location + name: resource_name + properties: { + defaultDataLakeStorage: { + accountUrl: storageAccount.properties.primaryEndpoints.dfs + filesystem: container.name + } + managedVirtualNetwork: '' + publicNetworkAccess: 'Enabled' + sqlAdministratorLogin: 'sqladminuser' + sqlAdministratorLoginPassword: 'H@Sh1CoR3!' + } +} + diff --git a/settings/remarks/microsoft.synapse/workspaces/managedidentitysqlcontrolsettings/main.bicep b/settings/remarks/microsoft.synapse/workspaces/managedidentitysqlcontrolsettings/main.bicep new file mode 100644 index 0000000..fac5e24 --- /dev/null +++ b/settings/remarks/microsoft.synapse/workspaces/managedidentitysqlcontrolsettings/main.bicep @@ -0,0 +1,43 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource container 'Microsoft.Storage/storageAccounts/blobServices/containers@2022-09-01' = { + name: resource_name + properties: { + metadata: { + key: 'value' + } + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: {} + sku: { + name: 'Standard_LRS' + } +} + +resource workspace 'Microsoft.Synapse/workspaces@2021-06-01' = { + identity: [ + { + identity_ids: [] + type: 'SystemAssigned' + } + ] + location: location + name: resource_name + properties: { + defaultDataLakeStorage: { + accountUrl: storageAccount.properties.primaryEndpoints.dfs + filesystem: container.name + } + managedVirtualNetwork: '' + publicNetworkAccess: 'Enabled' + sqlAdministratorLogin: 'sqladminuser' + sqlAdministratorLoginPassword: 'H@Sh1CoR3!' + } +} + diff --git a/settings/remarks/microsoft.synapse/workspaces/securityalertpolicies/main.bicep b/settings/remarks/microsoft.synapse/workspaces/securityalertpolicies/main.bicep new file mode 100644 index 0000000..fac5e24 --- /dev/null +++ b/settings/remarks/microsoft.synapse/workspaces/securityalertpolicies/main.bicep @@ -0,0 +1,43 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource container 'Microsoft.Storage/storageAccounts/blobServices/containers@2022-09-01' = { + name: resource_name + properties: { + metadata: { + key: 'value' + } + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: {} + sku: { + name: 'Standard_LRS' + } +} + +resource workspace 'Microsoft.Synapse/workspaces@2021-06-01' = { + identity: [ + { + identity_ids: [] + type: 'SystemAssigned' + } + ] + location: location + name: resource_name + properties: { + defaultDataLakeStorage: { + accountUrl: storageAccount.properties.primaryEndpoints.dfs + filesystem: container.name + } + managedVirtualNetwork: '' + publicNetworkAccess: 'Enabled' + sqlAdministratorLogin: 'sqladminuser' + sqlAdministratorLoginPassword: 'H@Sh1CoR3!' + } +} + diff --git a/settings/remarks/microsoft.synapse/workspaces/sqlpools/main.bicep b/settings/remarks/microsoft.synapse/workspaces/sqlpools/main.bicep new file mode 100644 index 0000000..3619af1 --- /dev/null +++ b/settings/remarks/microsoft.synapse/workspaces/sqlpools/main.bicep @@ -0,0 +1,55 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource container 'Microsoft.Storage/storageAccounts/blobServices/containers@2022-09-01' = { + name: resource_name + properties: { + metadata: { + key: 'value' + } + } +} + +resource sqlPool 'Microsoft.Synapse/workspaces/sqlPools@2021-06-01' = { + parent: workspace + location: location + name: resource_name + properties: { + createMode: 'Default' + } + sku: { + name: 'DW100c' + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: {} + sku: { + name: 'Standard_LRS' + } +} + +resource workspace 'Microsoft.Synapse/workspaces@2021-06-01' = { + identity: [ + { + identity_ids: [] + type: 'SystemAssigned' + } + ] + location: location + name: resource_name + properties: { + defaultDataLakeStorage: { + accountUrl: storageAccount.properties.primaryEndpoints.dfs + filesystem: container.name + } + managedVirtualNetwork: '' + publicNetworkAccess: 'Enabled' + sqlAdministratorLogin: 'sqladminuser' + sqlAdministratorLoginPassword: 'H@Sh1CoR3!' + } +} + diff --git a/settings/remarks/microsoft.synapse/workspaces/sqlpools/vulnerabilityassessments/main.bicep b/settings/remarks/microsoft.synapse/workspaces/sqlpools/vulnerabilityassessments/main.bicep new file mode 100644 index 0000000..3619af1 --- /dev/null +++ b/settings/remarks/microsoft.synapse/workspaces/sqlpools/vulnerabilityassessments/main.bicep @@ -0,0 +1,55 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource container 'Microsoft.Storage/storageAccounts/blobServices/containers@2022-09-01' = { + name: resource_name + properties: { + metadata: { + key: 'value' + } + } +} + +resource sqlPool 'Microsoft.Synapse/workspaces/sqlPools@2021-06-01' = { + parent: workspace + location: location + name: resource_name + properties: { + createMode: 'Default' + } + sku: { + name: 'DW100c' + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: {} + sku: { + name: 'Standard_LRS' + } +} + +resource workspace 'Microsoft.Synapse/workspaces@2021-06-01' = { + identity: [ + { + identity_ids: [] + type: 'SystemAssigned' + } + ] + location: location + name: resource_name + properties: { + defaultDataLakeStorage: { + accountUrl: storageAccount.properties.primaryEndpoints.dfs + filesystem: container.name + } + managedVirtualNetwork: '' + publicNetworkAccess: 'Enabled' + sqlAdministratorLogin: 'sqladminuser' + sqlAdministratorLoginPassword: 'H@Sh1CoR3!' + } +} + diff --git a/settings/remarks/microsoft.synapse/workspaces/sqlpools/workloadgroups/main.bicep b/settings/remarks/microsoft.synapse/workspaces/sqlpools/workloadgroups/main.bicep new file mode 100644 index 0000000..6c59592 --- /dev/null +++ b/settings/remarks/microsoft.synapse/workspaces/sqlpools/workloadgroups/main.bicep @@ -0,0 +1,67 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource container 'Microsoft.Storage/storageAccounts/blobServices/containers@2022-09-01' = { + name: resource_name + properties: { + metadata: { + key: 'value' + } + } +} + +resource sqlPool 'Microsoft.Synapse/workspaces/sqlPools@2021-06-01' = { + parent: workspace + location: location + name: resource_name + properties: { + createMode: 'Default' + } + sku: { + name: 'DW100c' + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: {} + sku: { + name: 'Standard_LRS' + } +} + +resource workloadGroup 'Microsoft.Synapse/workspaces/sqlPools/workloadGroups@2021-06-01' = { + parent: sqlPool + name: resource_name + properties: { + importance: 'normal' + maxResourcePercent: 100 + maxResourcePercentPerRequest: 3 + minResourcePercent: 0 + minResourcePercentPerRequest: 3 + } +} + +resource workspace 'Microsoft.Synapse/workspaces@2021-06-01' = { + identity: [ + { + identity_ids: [] + type: 'SystemAssigned' + } + ] + location: location + name: resource_name + properties: { + defaultDataLakeStorage: { + accountUrl: storageAccount.properties.primaryEndpoints.dfs + filesystem: container.name + } + managedVirtualNetwork: '' + publicNetworkAccess: 'Enabled' + sqlAdministratorLogin: 'sqladminuser' + sqlAdministratorLoginPassword: 'H@Sh1CoR3!' + } +} + diff --git a/settings/remarks/microsoft.synapse/workspaces/sqlpools/workloadgroups/workloadclassifiers/main.bicep b/settings/remarks/microsoft.synapse/workspaces/sqlpools/workloadgroups/workloadclassifiers/main.bicep new file mode 100644 index 0000000..c7f1000 --- /dev/null +++ b/settings/remarks/microsoft.synapse/workspaces/sqlpools/workloadgroups/workloadclassifiers/main.bicep @@ -0,0 +1,75 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource container 'Microsoft.Storage/storageAccounts/blobServices/containers@2022-09-01' = { + name: resource_name + properties: { + metadata: { + key: 'value' + } + } +} + +resource sqlPool 'Microsoft.Synapse/workspaces/sqlPools@2021-06-01' = { + parent: workspace + location: location + name: resource_name + properties: { + createMode: 'Default' + } + sku: { + name: 'DW100c' + } +} + +resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = { + location: location + name: resource_name + kind: 'StorageV2' + properties: {} + sku: { + name: 'Standard_LRS' + } +} + +resource workloadClassifier 'Microsoft.Synapse/workspaces/sqlPools/workloadGroups/workloadClassifiers@2021-06-01' = { + parent: workloadGroup + name: resource_name + properties: { + memberName: 'dbo' + } +} + +resource workloadGroup 'Microsoft.Synapse/workspaces/sqlPools/workloadGroups@2021-06-01' = { + parent: sqlPool + name: resource_name + properties: { + importance: 'normal' + maxResourcePercent: 100 + maxResourcePercentPerRequest: 3 + minResourcePercent: 0 + minResourcePercentPerRequest: 3 + } +} + +resource workspace 'Microsoft.Synapse/workspaces@2021-06-01' = { + identity: [ + { + identity_ids: [] + type: 'SystemAssigned' + } + ] + location: location + name: resource_name + properties: { + defaultDataLakeStorage: { + accountUrl: storageAccount.properties.primaryEndpoints.dfs + filesystem: container.name + } + managedVirtualNetwork: '' + publicNetworkAccess: 'Enabled' + sqlAdministratorLogin: 'sqladminuser' + sqlAdministratorLoginPassword: 'H@Sh1CoR3!' + } +} + diff --git a/settings/remarks/microsoft.timeseriesinsights/environments/accesspolicies/main.bicep b/settings/remarks/microsoft.timeseriesinsights/environments/accesspolicies/main.bicep new file mode 100644 index 0000000..b1ad1ee --- /dev/null +++ b/settings/remarks/microsoft.timeseriesinsights/environments/accesspolicies/main.bicep @@ -0,0 +1,29 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource accessPolicy 'Microsoft.TimeSeriesInsights/environments/accessPolicies@2020-05-15' = { + parent: environment + name: resource_name + properties: { + description: '' + principalObjectId: 'aGUID' + roles: [ + 'Reader' + ] + } +} + +resource environment 'Microsoft.TimeSeriesInsights/environments@2020-05-15' = { + location: location + name: resource_name + kind: 'Gen1' + properties: { + dataRetentionTime: 'P30D' + storageLimitExceededBehavior: 'PurgeOldData' + } + sku: { + capacity: 1 + name: 'S1' + } +} + diff --git a/settings/remarks/microsoft.timeseriesinsights/environments/main.bicep b/settings/remarks/microsoft.timeseriesinsights/environments/main.bicep new file mode 100644 index 0000000..fadaf6a --- /dev/null +++ b/settings/remarks/microsoft.timeseriesinsights/environments/main.bicep @@ -0,0 +1,17 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource environment 'Microsoft.TimeSeriesInsights/environments@2020-05-15' = { + location: location + name: resource_name + kind: 'Gen1' + properties: { + dataRetentionTime: 'P30D' + storageLimitExceededBehavior: 'PurgeOldData' + } + sku: { + capacity: 1 + name: 'S1' + } +} + diff --git a/settings/remarks/microsoft.timeseriesinsights/environments/referencedatasets/main.bicep b/settings/remarks/microsoft.timeseriesinsights/environments/referencedatasets/main.bicep new file mode 100644 index 0000000..6bdc68e --- /dev/null +++ b/settings/remarks/microsoft.timeseriesinsights/environments/referencedatasets/main.bicep @@ -0,0 +1,32 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource environment 'Microsoft.TimeSeriesInsights/environments@2020-05-15' = { + location: location + name: resource_name + kind: 'Gen1' + properties: { + dataRetentionTime: 'P30D' + storageLimitExceededBehavior: 'PurgeOldData' + } + sku: { + capacity: 1 + name: 'S1' + } +} + +resource referenceDataSet 'Microsoft.TimeSeriesInsights/environments/referenceDataSets@2020-05-15' = { + parent: environment + location: location + name: resource_name + properties: { + dataStringComparisonBehavior: 'Ordinal' + keyProperties: [ + { + name: 'keyProperty1' + type: 'String' + } + ] + } +} + diff --git a/settings/remarks/microsoft.timeseriesinsights/remarks.json b/settings/remarks/microsoft.timeseriesinsights/remarks.json new file mode 100644 index 0000000..543cea1 --- /dev/null +++ b/settings/remarks/microsoft.timeseriesinsights/remarks.json @@ -0,0 +1,20 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.TimeSeriesInsights/environments", + "Path": "environments/main.bicep", + "Description": "Basic sample for Microsoft.TimeSeriesInsights/environments@2020-05-15." + }, + { + "ResourceType": "Microsoft.TimeSeriesInsights/environments", + "Path": "environments/accesspolicies/main.bicep", + "Description": "Basic sample for Microsoft.TimeSeriesInsights/environments/accessPolicies@2020-05-15." + }, + { + "ResourceType": "Microsoft.TimeSeriesInsights/environments", + "Path": "environments/referencedatasets/main.bicep", + "Description": "Basic sample for Microsoft.TimeSeriesInsights/environments/referenceDataSets@2020-05-15." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.voiceservices/communicationsgateways/main.bicep b/settings/remarks/microsoft.voiceservices/communicationsgateways/main.bicep new file mode 100644 index 0000000..f58419f --- /dev/null +++ b/settings/remarks/microsoft.voiceservices/communicationsgateways/main.bicep @@ -0,0 +1,50 @@ +param location string = 'eastus2euap' +param resource_name string = 'acctest0001' + +resource communicationsGateway 'Microsoft.VoiceServices/communicationsGateways@2023-01-31' = { + location: location + name: resource_name + properties: { + autoGeneratedDomainNameLabelScope: 'NoReuse' + codecs: [ + 'PCMA' + ] + connectivity: 'PublicAddress' + e911Type: 'Standard' + platforms: [ + 'OperatorConnect' + ] + serviceLocations: [ + { + name: 'useast' + primaryRegionProperties: { + allowedMediaSourceAddressPrefixes: [ + '10.1.2.0/24' + ] + allowedSignalingSourceAddressPrefixes: [ + '10.1.1.0/24' + ] + operatorAddresses: [ + '198.51.100.1' + ] + } + } + { + name: 'useast2' + primaryRegionProperties: { + allowedMediaSourceAddressPrefixes: [ + '10.2.2.0/24' + ] + allowedSignalingSourceAddressPrefixes: [ + '10.2.1.0/24' + ] + operatorAddresses: [ + '198.51.100.2' + ] + } + } + ] + teamsVoicemailPilotNumber: '1234567890' + } +} + diff --git a/settings/remarks/microsoft.voiceservices/communicationsgateways/testlines/main.bicep b/settings/remarks/microsoft.voiceservices/communicationsgateways/testlines/main.bicep new file mode 100644 index 0000000..8a28a87 --- /dev/null +++ b/settings/remarks/microsoft.voiceservices/communicationsgateways/testlines/main.bicep @@ -0,0 +1,60 @@ +param location string = 'eastus2euap' +param resource_name string = 'acctest0001' + +resource TestLine 'Microsoft.VoiceServices/communicationsGateways/testLines@2023-01-31' = { + parent: communicationsGateway + location: location + name: resource_name + properties: { + phoneNumber: '123456789' + purpose: 'Automated' + } +} + +resource communicationsGateway 'Microsoft.VoiceServices/communicationsGateways@2023-01-31' = { + location: location + name: resource_name + properties: { + autoGeneratedDomainNameLabelScope: 'NoReuse' + codecs: [ + 'PCMA' + ] + connectivity: 'PublicAddress' + e911Type: 'Standard' + platforms: [ + 'OperatorConnect' + ] + serviceLocations: [ + { + name: 'useast' + primaryRegionProperties: { + allowedMediaSourceAddressPrefixes: [ + '10.1.2.0/24' + ] + allowedSignalingSourceAddressPrefixes: [ + '10.1.1.0/24' + ] + operatorAddresses: [ + '198.51.100.1' + ] + } + } + { + name: 'useast2' + primaryRegionProperties: { + allowedMediaSourceAddressPrefixes: [ + '10.2.2.0/24' + ] + allowedSignalingSourceAddressPrefixes: [ + '10.2.1.0/24' + ] + operatorAddresses: [ + '198.51.100.2' + ] + } + } + ] + teamsVoicemailPilotNumber: '1234567890' + } +} + diff --git a/settings/remarks/microsoft.voiceservices/remarks.json b/settings/remarks/microsoft.voiceservices/remarks.json new file mode 100644 index 0000000..672cc9e --- /dev/null +++ b/settings/remarks/microsoft.voiceservices/remarks.json @@ -0,0 +1,15 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Microsoft.VoiceServices/communicationsGateways", + "Path": "communicationsgateways/main.bicep", + "Description": "Basic sample for Microsoft.VoiceServices/communicationsGateways@2023-01-31." + }, + { + "ResourceType": "Microsoft.VoiceServices/communicationsGateways", + "Path": "communicationsgateways/testlines/main.bicep", + "Description": "Basic sample for Microsoft.VoiceServices/communicationsGateways/testLines@2023-01-31." + } + ] +} \ No newline at end of file diff --git a/settings/remarks/microsoft.web/remarks.json b/settings/remarks/microsoft.web/remarks.json index 5de631a..a86a1f1 100644 --- a/settings/remarks/microsoft.web/remarks.json +++ b/settings/remarks/microsoft.web/remarks.json @@ -13,5 +13,47 @@ ], "Description": "This resource type has migrated to the **Microsoft.App** namespace. For the new resource type, see [Microsoft.App managedEnvironments](../../../Microsoft.App/managedEnvironments.md).\n\nFor information about the migration, see [Action Required: Namespace migration from Microsoft.Web to Microsoft.App in March 2022](https://github.com/microsoft/azure-container-apps/issues/109)." } + ], + "BicepSamples": [ + { + "ResourceType": "Microsoft.Web/serverfarms", + "Path": "serverfarms/main.bicep", + "Description": "Basic sample for Microsoft.Web/serverfarms@2022-09-01." + }, + { + "ResourceType": "Microsoft.Web/sites", + "Path": "sites/main.bicep", + "Description": "Basic sample for Microsoft.Web/sites@2022-09-01." + }, + { + "ResourceType": "Microsoft.Web/sites", + "Path": "sites/config/main.bicep", + "Description": "Basic sample for Microsoft.Web/sites/config@2022-09-01." + }, + { + "ResourceType": "Microsoft.Web/sites", + "Path": "sites/publiccertificates/main.bicep", + "Description": "Basic sample for Microsoft.Web/sites/publicCertificates@2022-09-01." + }, + { + "ResourceType": "Microsoft.Web/sites", + "Path": "sites/siteextensions/main.bicep", + "Description": "Basic sample for Microsoft.Web/sites/siteextensions@2022-09-01." + }, + { + "ResourceType": "Microsoft.Web/sites", + "Path": "sites/slots/main.bicep", + "Description": "Basic sample for Microsoft.Web/sites/slots@2022-09-01." + }, + { + "ResourceType": "Microsoft.Web/sites", + "Path": "sites/slots/config/main.bicep", + "Description": "Basic sample for Microsoft.Web/sites/slots/config@2022-09-01." + }, + { + "ResourceType": "Microsoft.Web/staticSites", + "Path": "staticsites/main.bicep", + "Description": "Basic sample for Microsoft.Web/staticSites@2021-02-01." + } ] } \ No newline at end of file diff --git a/settings/remarks/microsoft.web/serverfarms/main.bicep b/settings/remarks/microsoft.web/serverfarms/main.bicep new file mode 100644 index 0000000..55e93a7 --- /dev/null +++ b/settings/remarks/microsoft.web/serverfarms/main.bicep @@ -0,0 +1,17 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource serverfarm 'Microsoft.Web/serverfarms@2022-09-01' = { + location: location + name: resource_name + properties: { + hyperV: false + perSiteScaling: false + reserved: false + zoneRedundant: false + } + sku: { + name: 'S1' + } +} + diff --git a/settings/remarks/microsoft.web/sites/config/main.bicep b/settings/remarks/microsoft.web/sites/config/main.bicep new file mode 100644 index 0000000..faecba3 --- /dev/null +++ b/settings/remarks/microsoft.web/sites/config/main.bicep @@ -0,0 +1,51 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource serverfarm 'Microsoft.Web/serverfarms@2022-09-01' = { + location: location + name: resource_name + properties: { + hyperV: false + perSiteScaling: false + reserved: false + zoneRedundant: false + } + sku: { + name: 'S1' + } +} + +resource site 'Microsoft.Web/sites@2022-09-01' = { + location: location + name: resource_name + properties: { + clientAffinityEnabled: false + clientCertEnabled: false + clientCertMode: 'Required' + enabled: true + httpsOnly: false + publicNetworkAccess: 'Enabled' + serverFarmId: serverfarm.id + siteConfig: { + acrUseManagedIdentityCreds: false + alwaysOn: true + autoHealEnabled: false + ftpsState: 'Disabled' + http20Enabled: false + loadBalancing: 'LeastRequests' + localMySqlEnabled: false + managedPipelineMode: 'Integrated' + minTlsVersion: '1.2' + publicNetworkAccess: 'Enabled' + remoteDebuggingEnabled: false + scmIpSecurityRestrictionsUseMain: false + scmMinTlsVersion: '1.2' + use32BitWorkerProcess: true + vnetRouteAllEnabled: false + webSocketsEnabled: false + windowsFxVersion: '' + } + vnetRouteAllEnabled: false + } +} + diff --git a/settings/remarks/microsoft.web/sites/main.bicep b/settings/remarks/microsoft.web/sites/main.bicep new file mode 100644 index 0000000..faecba3 --- /dev/null +++ b/settings/remarks/microsoft.web/sites/main.bicep @@ -0,0 +1,51 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource serverfarm 'Microsoft.Web/serverfarms@2022-09-01' = { + location: location + name: resource_name + properties: { + hyperV: false + perSiteScaling: false + reserved: false + zoneRedundant: false + } + sku: { + name: 'S1' + } +} + +resource site 'Microsoft.Web/sites@2022-09-01' = { + location: location + name: resource_name + properties: { + clientAffinityEnabled: false + clientCertEnabled: false + clientCertMode: 'Required' + enabled: true + httpsOnly: false + publicNetworkAccess: 'Enabled' + serverFarmId: serverfarm.id + siteConfig: { + acrUseManagedIdentityCreds: false + alwaysOn: true + autoHealEnabled: false + ftpsState: 'Disabled' + http20Enabled: false + loadBalancing: 'LeastRequests' + localMySqlEnabled: false + managedPipelineMode: 'Integrated' + minTlsVersion: '1.2' + publicNetworkAccess: 'Enabled' + remoteDebuggingEnabled: false + scmIpSecurityRestrictionsUseMain: false + scmMinTlsVersion: '1.2' + use32BitWorkerProcess: true + vnetRouteAllEnabled: false + webSocketsEnabled: false + windowsFxVersion: '' + } + vnetRouteAllEnabled: false + } +} + diff --git a/settings/remarks/microsoft.web/sites/publiccertificates/main.bicep b/settings/remarks/microsoft.web/sites/publiccertificates/main.bicep new file mode 100644 index 0000000..8a51bd1 --- /dev/null +++ b/settings/remarks/microsoft.web/sites/publiccertificates/main.bicep @@ -0,0 +1,40 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource publicCertificate 'Microsoft.Web/sites/publicCertificates@2022-09-01' = { + parent: site + name: resource_name + properties: { + blob: 'LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNzakNDQVpvQ0NRQ01kdDdEdnlnUHREQU5CZ2txaGtpRzl3MEJBUXNGQURBYk1Sa3dGd1lEVlFRRERCQmgKY0drdWRHVnljbUZtYjNKdExtbHZNQjRYRFRFNE1EY3dOVEV3TXpNek1Gb1hEVEk0TURjd01qRXdNek16TUZvdwpHekVaTUJjR0ExVUVBd3dRWVhCcExuUmxjbkpoWm05eWJTNXBiekNDQVNJd0RRWUpLb1pJaHZjTkFRRUJCUUFECmdnRVBBRENDQVFvQ2dnRUJBS1FXMzMyT2wyOENzaWRBaGVEMWFMOVVsOEpXbktMZGFWeEtaM3NzbDVDWGpQRE8KbU03SVhrMFNnYlFuVUM4bElsUEZaaURHYlExc0I2T1RNdW42Wlo0aXBMcDgwZHRsMHJvQ0x0Q25EUU9CR3pDTgpBckNZQW9YUnVyamtYRVk3dHBEMHd3dFU3MiszN2gzSFE0ZzBWUzZWSXRKQ3FKOVFBRFYrSE8yWld1WlRlejcwCk1ob0w2T0xmWlA3SEdZZEpES2dmRVZORjVYbGJWek5BR2tESUpGZGhqTnh5R0d1NU5mc20xcGZRaEF5dW5razcKSlZhbWpVZzVJb2pSZG82M0lTOXd3ek1PZGVHU0FiQmNzSmZZZUNmVmcya3VwUjhxMFRtWit4OTNSbW1PbGJTaQo2NmtFWXhSelo5WUNRZUhKbW4xWWZKOTJCcENVaXk5QTZaMWlhS1VDQXdFQUFUQU5CZ2txaGtpRzl3MEJBUXNGCkFBT0NBUUVBSjdKaGxlY1A3SjQ4d0kyUUhUTWJBTWtrV0J2L2lXcTEvUUlGNHVnSDNaYjVQb3JPditOZmhRMEwKbFdpdy9Tek44QWU5NXZVaXhBR1lITVNhMjhvdW1NNUsxT3NxS0VrVklvMUFvQkg4bkJ6K1ZjVHBSRC9tSFhvdApBSFBBWnQ5ajVMcWVIWCtlblI2UmJJTkFmM2puK1lVM01kVmUwTXNBRGRGQVNWRGZqbVFQMlI3bzlhSmIvUXFPCmczYlpCV3NpQkRFSVNmeWFIMitwZ1VNN3d0d0VvRldtRU1sZ2pMSzFNUkJzMWNEWlhxbkhhQ2QvcnMrTm1XVjkKbmFFdTd4NWZ5UU9rNEhvemtwd2VSK0p4MXNCbFRSc2E0OS9xU0h0LzZVTEtmTzAxL2NUczRpRjcxeWtYUGJoMwpLajljSTJ1bzlhWXRYa3hraEtyR3lVcEE3RkpxV3c9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==' + publicCertificateLocation: 'Unknown' + } +} + +resource serverfarm 'Microsoft.Web/serverfarms@2021-02-01' = { + location: location + name: resource_name + kind: 'Windows' + properties: { + isXenon: false + } + sku: { + capacity: 1 + name: 'S1' + size: 'S1' + tier: 'Standard' + } +} + +resource site 'Microsoft.Web/sites@2021-02-01' = { + location: location + name: resource_name + properties: { + clientAffinityEnabled: false + clientCertEnabled: false + enabled: true + httpsOnly: false + serverFarmId: serverfarm.id + siteConfig: {} + } +} + diff --git a/settings/remarks/microsoft.web/sites/siteextensions/main.bicep b/settings/remarks/microsoft.web/sites/siteextensions/main.bicep new file mode 100644 index 0000000..4036010 --- /dev/null +++ b/settings/remarks/microsoft.web/sites/siteextensions/main.bicep @@ -0,0 +1,58 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' +param resource_site_name string = 'acctestsite0001' + +resource dynatraceSiteExtension 'Microsoft.Web/sites/siteextensions@2022-09-01' = { + parent: site + location: location + name: 'Dynatrace' +} + +resource serverfarm 'Microsoft.Web/serverfarms@2022-09-01' = { + location: location + name: resource_name + properties: { + hyperV: false + perSiteScaling: false + reserved: false + zoneRedundant: false + } + sku: { + name: 'S1' + } +} + +resource site 'Microsoft.Web/sites@2022-09-01' = { + location: location + name: resource_site_name + properties: { + clientAffinityEnabled: false + clientCertEnabled: false + clientCertMode: 'Required' + enabled: true + httpsOnly: false + publicNetworkAccess: 'Enabled' + serverFarmId: serverfarm.id + siteConfig: { + acrUseManagedIdentityCreds: false + alwaysOn: true + autoHealEnabled: false + ftpsState: 'Disabled' + http20Enabled: false + loadBalancing: 'LeastRequests' + localMySqlEnabled: false + managedPipelineMode: 'Integrated' + minTlsVersion: '1.2' + publicNetworkAccess: 'Enabled' + remoteDebuggingEnabled: false + scmIpSecurityRestrictionsUseMain: false + scmMinTlsVersion: '1.2' + use32BitWorkerProcess: true + vnetRouteAllEnabled: false + webSocketsEnabled: false + windowsFxVersion: '' + } + vnetRouteAllEnabled: false + } +} + diff --git a/settings/remarks/microsoft.web/sites/slots/config/main.bicep b/settings/remarks/microsoft.web/sites/slots/config/main.bicep new file mode 100644 index 0000000..d28ba0d --- /dev/null +++ b/settings/remarks/microsoft.web/sites/slots/config/main.bicep @@ -0,0 +1,87 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource serverfarm 'Microsoft.Web/serverfarms@2022-09-01' = { + location: location + name: resource_name + properties: { + hyperV: false + perSiteScaling: false + reserved: false + zoneRedundant: false + } + sku: { + name: 'S1' + } +} + +resource site 'Microsoft.Web/sites@2022-09-01' = { + location: location + name: resource_name + properties: { + clientAffinityEnabled: false + clientCertEnabled: false + clientCertMode: 'Required' + enabled: true + httpsOnly: false + publicNetworkAccess: 'Enabled' + serverFarmId: serverfarm.id + siteConfig: { + acrUseManagedIdentityCreds: false + alwaysOn: true + autoHealEnabled: false + ftpsState: 'Disabled' + http20Enabled: false + loadBalancing: 'LeastRequests' + localMySqlEnabled: false + managedPipelineMode: 'Integrated' + minTlsVersion: '1.2' + publicNetworkAccess: 'Enabled' + remoteDebuggingEnabled: false + scmIpSecurityRestrictionsUseMain: false + scmMinTlsVersion: '1.2' + use32BitWorkerProcess: true + vnetRouteAllEnabled: false + webSocketsEnabled: false + windowsFxVersion: '' + } + vnetRouteAllEnabled: false + } +} + +resource slot 'Microsoft.Web/sites/slots@2022-09-01' = { + parent: site + location: location + name: resource_name + properties: { + clientAffinityEnabled: false + clientCertEnabled: false + clientCertExclusionPaths: '' + clientCertMode: 'Required' + enabled: true + httpsOnly: false + publicNetworkAccess: 'Enabled' + serverFarmId: serverfarm.id + siteConfig: { + acrUseManagedIdentityCreds: false + alwaysOn: true + autoHealEnabled: false + ftpsState: 'Disabled' + http20Enabled: false + loadBalancing: 'LeastRequests' + localMySqlEnabled: false + managedPipelineMode: 'Integrated' + minTlsVersion: '1.2' + publicNetworkAccess: 'Enabled' + remoteDebuggingEnabled: false + scmIpSecurityRestrictionsUseMain: false + scmMinTlsVersion: '1.2' + use32BitWorkerProcess: false + vnetRouteAllEnabled: false + webSocketsEnabled: false + windowsFxVersion: '' + } + vnetRouteAllEnabled: false + } +} + diff --git a/settings/remarks/microsoft.web/sites/slots/main.bicep b/settings/remarks/microsoft.web/sites/slots/main.bicep new file mode 100644 index 0000000..d28ba0d --- /dev/null +++ b/settings/remarks/microsoft.web/sites/slots/main.bicep @@ -0,0 +1,87 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource serverfarm 'Microsoft.Web/serverfarms@2022-09-01' = { + location: location + name: resource_name + properties: { + hyperV: false + perSiteScaling: false + reserved: false + zoneRedundant: false + } + sku: { + name: 'S1' + } +} + +resource site 'Microsoft.Web/sites@2022-09-01' = { + location: location + name: resource_name + properties: { + clientAffinityEnabled: false + clientCertEnabled: false + clientCertMode: 'Required' + enabled: true + httpsOnly: false + publicNetworkAccess: 'Enabled' + serverFarmId: serverfarm.id + siteConfig: { + acrUseManagedIdentityCreds: false + alwaysOn: true + autoHealEnabled: false + ftpsState: 'Disabled' + http20Enabled: false + loadBalancing: 'LeastRequests' + localMySqlEnabled: false + managedPipelineMode: 'Integrated' + minTlsVersion: '1.2' + publicNetworkAccess: 'Enabled' + remoteDebuggingEnabled: false + scmIpSecurityRestrictionsUseMain: false + scmMinTlsVersion: '1.2' + use32BitWorkerProcess: true + vnetRouteAllEnabled: false + webSocketsEnabled: false + windowsFxVersion: '' + } + vnetRouteAllEnabled: false + } +} + +resource slot 'Microsoft.Web/sites/slots@2022-09-01' = { + parent: site + location: location + name: resource_name + properties: { + clientAffinityEnabled: false + clientCertEnabled: false + clientCertExclusionPaths: '' + clientCertMode: 'Required' + enabled: true + httpsOnly: false + publicNetworkAccess: 'Enabled' + serverFarmId: serverfarm.id + siteConfig: { + acrUseManagedIdentityCreds: false + alwaysOn: true + autoHealEnabled: false + ftpsState: 'Disabled' + http20Enabled: false + loadBalancing: 'LeastRequests' + localMySqlEnabled: false + managedPipelineMode: 'Integrated' + minTlsVersion: '1.2' + publicNetworkAccess: 'Enabled' + remoteDebuggingEnabled: false + scmIpSecurityRestrictionsUseMain: false + scmMinTlsVersion: '1.2' + use32BitWorkerProcess: false + vnetRouteAllEnabled: false + webSocketsEnabled: false + windowsFxVersion: '' + } + vnetRouteAllEnabled: false + } +} + diff --git a/settings/remarks/microsoft.web/staticsites/main.bicep b/settings/remarks/microsoft.web/staticsites/main.bicep new file mode 100644 index 0000000..0162a2f --- /dev/null +++ b/settings/remarks/microsoft.web/staticsites/main.bicep @@ -0,0 +1,13 @@ +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource staticSite 'Microsoft.Web/staticSites@2021-02-01' = { + location: location + name: resource_name + properties: {} + sku: { + name: 'Free' + tier: 'Free' + } +} + diff --git a/settings/remarks/qumulo.storage/filesystems/main.bicep b/settings/remarks/qumulo.storage/filesystems/main.bicep new file mode 100644 index 0000000..d530a25 --- /dev/null +++ b/settings/remarks/qumulo.storage/filesystems/main.bicep @@ -0,0 +1,64 @@ +param location string = 'westeurope' +param qumulo_password string = ')^X#ZX#JRyIY}t9' +param resource_name string = 'acctest0001' + +resource qumuloFileSystem 'Qumulo.Storage/fileSystems@2024-06-19' = { + location: location + name: resource_name + tags: { + environment: 'terraform-acctests' + some_key: 'some-value' + } + properties: { + adminPassword: qumulo_password + availabilityZone: '1' + delegatedSubnetId: subnet.id + marketplaceDetails: { + offerId: 'qumulo-saas-mpp' + planId: 'azure-native-qumulo-v3' + publisherId: 'qumulo1584033880660' + } + storageSku: 'Cold_LRS' + userDetails: { + email: 'test@test.com' + } + } +} + +resource subnet 'Microsoft.Network/virtualNetworks/subnets@2024-05-01' = { + parent: vnet + location: location + name: resource_name + properties: { + addressPrefix: '10.0.1.0/24' + defaultOutboundAccess: true + delegations: [ + { + name: 'delegation' + properties: { + actions: [ + 'Microsoft.Network/virtualNetworks/subnets/join/action' + ] + serviceName: 'Qumulo.Storage/fileSystems' + } + } + ] + privateEndpointNetworkPolicies: 'Disabled' + privateLinkServiceNetworkPolicies: 'Enabled' + } +} + +resource vnet 'Microsoft.Network/virtualNetworks@2024-05-01' = { + location: location + name: resource_name + properties: { + addressSpace: { + addressPrefixes: [ + '10.0.0.0/16' + ] + } + privateEndpointVNetPolicies: 'Disabled' + subnets: [] + } +} + diff --git a/settings/remarks/qumulo.storage/remarks.json b/settings/remarks/qumulo.storage/remarks.json new file mode 100644 index 0000000..c0fadd1 --- /dev/null +++ b/settings/remarks/qumulo.storage/remarks.json @@ -0,0 +1,10 @@ +{ + "$schema": "../../schemas/remarks.schema.json", + "BicepSamples": [ + { + "ResourceType": "Qumulo.Storage/fileSystems", + "Path": "filesystems/main.bicep", + "Description": "Basic sample for Qumulo.Storage/fileSystems@2024-06-19." + } + ] +} \ No newline at end of file diff --git a/src/TemplateRefGenerator.Tests/Files/markdown/microsoft.compute/2024-03-02/disks.md b/src/TemplateRefGenerator.Tests/Files/markdown/microsoft.compute/2024-03-02/disks.md index b1a2ef8..117b01e 100644 --- a/src/TemplateRefGenerator.Tests/Files/markdown/microsoft.compute/2024-03-02/disks.md +++ b/src/TemplateRefGenerator.Tests/Files/markdown/microsoft.compute/2024-03-02/disks.md @@ -299,6 +299,34 @@ resource symbolicname 'Microsoft.Compute/disks@2024-03-02' = { | diskControllerTypes | The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI. | string | ## Usage Examples +### Bicep Samples + +Basic sample for Microsoft.Compute/disks@2022-03-02. + +```bicep +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource disk 'Microsoft.Compute/disks@2022-03-02' = { + location: location + name: resource_name + properties: { + creationData: { + createOption: 'Empty' + } + diskSizeGB: 10 + encryption: { + type: 'EncryptionAtRestWithPlatformKey' + } + networkAccessPolicy: 'AllowAll' + osType: '' + publicNetworkAccess: 'Enabled' + } + sku: { + name: 'Standard_LRS' + } +} +``` ### Azure Verified Modules The following [Azure Verified Modules](https://aka.ms/avm) can be used to deploy this resource type. diff --git a/src/TemplateRefGenerator.Tests/Files/markdown/microsoft.documentdb/2024-05-15/databaseaccounts.md b/src/TemplateRefGenerator.Tests/Files/markdown/microsoft.documentdb/2024-05-15/databaseaccounts.md index 5d883bb..5d14798 100644 --- a/src/TemplateRefGenerator.Tests/Files/markdown/microsoft.documentdb/2024-05-15/databaseaccounts.md +++ b/src/TemplateRefGenerator.Tests/Files/markdown/microsoft.documentdb/2024-05-15/databaseaccounts.md @@ -418,6 +418,829 @@ For **Periodic**, use: | ignoreMissingVNetServiceEndpoint | Create firewall rule before the virtual network has vnet service endpoint enabled. | bool | ## Usage Examples +### Bicep Samples + +Basic sample for Microsoft.DocumentDB/databaseAccounts@2021-10-15. + +```bicep +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource databaseAccount 'Microsoft.DocumentDB/databaseAccounts@2021-10-15' = { + location: location + name: resource_name + kind: 'GlobalDocumentDB' + properties: { + capabilities: [] + consistencyPolicy: { + defaultConsistencyLevel: 'BoundedStaleness' + maxIntervalInSeconds: 10 + maxStalenessPrefix: 200 + } + databaseAccountOfferType: 'Standard' + defaultIdentity: 'FirstPartyIdentity' + disableKeyBasedMetadataWriteAccess: false + disableLocalAuth: false + enableAnalyticalStorage: false + enableAutomaticFailover: false + enableFreeTier: false + enableMultipleWriteLocations: false + ipRules: [] + isVirtualNetworkFilterEnabled: false + locations: [ + { + failoverPriority: 0 + isZoneRedundant: false + locationName: 'West Europe' + } + ] + networkAclBypass: 'None' + networkAclBypassResourceIds: [] + publicNetworkAccess: 'Enabled' + virtualNetworkRules: [] + } +} +``` +Basic sample for Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces@2021-10-15. + +```bicep +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource cassandraKeyspace 'Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces@2021-10-15' = { + parent: databaseAccount + name: resource_name + properties: { + options: {} + resource: { + id: resource_name + } + } +} + +resource databaseAccount 'Microsoft.DocumentDB/databaseAccounts@2021-10-15' = { + location: location + name: resource_name + kind: 'GlobalDocumentDB' + properties: { + capabilities: [ + { + name: 'EnableCassandra' + } + ] + consistencyPolicy: { + defaultConsistencyLevel: 'Strong' + maxIntervalInSeconds: 5 + maxStalenessPrefix: 100 + } + databaseAccountOfferType: 'Standard' + defaultIdentity: 'FirstPartyIdentity' + disableKeyBasedMetadataWriteAccess: false + disableLocalAuth: false + enableAnalyticalStorage: false + enableAutomaticFailover: false + enableFreeTier: false + enableMultipleWriteLocations: false + ipRules: [] + isVirtualNetworkFilterEnabled: false + locations: [ + { + failoverPriority: 0 + isZoneRedundant: false + locationName: 'West Europe' + } + ] + networkAclBypass: 'None' + networkAclBypassResourceIds: [] + publicNetworkAccess: 'Enabled' + virtualNetworkRules: [] + } +} +``` +Basic sample for Microsoft.DocumentDB/databaseAccounts/gremlinDatabases@2023-04-15. + +```bicep +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource databaseAccount 'Microsoft.DocumentDB/databaseAccounts@2021-10-15' = { + location: location + name: resource_name + kind: 'GlobalDocumentDB' + properties: { + capabilities: [ + { + name: 'EnableGremlin' + } + ] + consistencyPolicy: { + defaultConsistencyLevel: 'Strong' + maxIntervalInSeconds: 5 + maxStalenessPrefix: 100 + } + databaseAccountOfferType: 'Standard' + defaultIdentity: 'FirstPartyIdentity' + disableKeyBasedMetadataWriteAccess: false + disableLocalAuth: false + enableAnalyticalStorage: false + enableAutomaticFailover: false + enableFreeTier: false + enableMultipleWriteLocations: false + ipRules: [] + isVirtualNetworkFilterEnabled: false + locations: [ + { + failoverPriority: 0 + isZoneRedundant: false + locationName: 'West Europe' + } + ] + networkAclBypass: 'None' + networkAclBypassResourceIds: [] + publicNetworkAccess: 'Enabled' + virtualNetworkRules: [] + } +} + +resource gremlinDatabase 'Microsoft.DocumentDB/databaseAccounts/gremlinDatabases@2023-04-15' = { + parent: databaseAccount + name: resource_name + properties: { + options: {} + resource: { + id: resource_name + } + } +} +``` +Basic sample for Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs@2023-04-15. + +```bicep +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource databaseAccount 'Microsoft.DocumentDB/databaseAccounts@2021-10-15' = { + location: location + name: resource_name + kind: 'GlobalDocumentDB' + properties: { + capabilities: [ + { + name: 'EnableGremlin' + } + ] + consistencyPolicy: { + defaultConsistencyLevel: 'Strong' + maxIntervalInSeconds: 5 + maxStalenessPrefix: 100 + } + databaseAccountOfferType: 'Standard' + defaultIdentity: 'FirstPartyIdentity' + disableKeyBasedMetadataWriteAccess: false + disableLocalAuth: false + enableAnalyticalStorage: false + enableAutomaticFailover: false + enableFreeTier: false + enableMultipleWriteLocations: false + ipRules: [] + isVirtualNetworkFilterEnabled: false + locations: [ + { + failoverPriority: 0 + isZoneRedundant: false + locationName: 'West Europe' + } + ] + networkAclBypass: 'None' + networkAclBypassResourceIds: [] + publicNetworkAccess: 'Enabled' + virtualNetworkRules: [] + } +} + +resource graph 'Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs@2023-04-15' = { + parent: gremlinDatabase + name: resource_name + properties: { + options: { + throughput: 400 + } + resource: { + id: resource_name + partitionKey: { + kind: 'Hash' + paths: [ + '/test' + ] + } + } + } +} + +resource gremlinDatabase 'Microsoft.DocumentDB/databaseAccounts/gremlinDatabases@2023-04-15' = { + parent: databaseAccount + name: resource_name + properties: { + options: {} + resource: { + id: resource_name + } + } +} +``` +Basic sample for Microsoft.DocumentDB/databaseAccounts/mongodbDatabases@2021-10-15. + +```bicep +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource databaseAccount 'Microsoft.DocumentDB/databaseAccounts@2021-10-15' = { + location: location + name: resource_name + kind: 'MongoDB' + properties: { + capabilities: [ + { + name: 'EnableMongo' + } + ] + consistencyPolicy: { + defaultConsistencyLevel: 'Strong' + maxIntervalInSeconds: 5 + maxStalenessPrefix: 100 + } + databaseAccountOfferType: 'Standard' + defaultIdentity: 'FirstPartyIdentity' + disableKeyBasedMetadataWriteAccess: false + disableLocalAuth: false + enableAnalyticalStorage: false + enableAutomaticFailover: false + enableFreeTier: false + enableMultipleWriteLocations: false + ipRules: [] + isVirtualNetworkFilterEnabled: false + locations: [ + { + failoverPriority: 0 + isZoneRedundant: false + locationName: 'West Europe' + } + ] + networkAclBypass: 'None' + networkAclBypassResourceIds: [] + publicNetworkAccess: 'Enabled' + virtualNetworkRules: [] + } +} + +resource mongodbDatabase 'Microsoft.DocumentDB/databaseAccounts/mongodbDatabases@2021-10-15' = { + parent: databaseAccount + name: resource_name + properties: { + options: {} + resource: { + id: resource_name + } + } +} +``` +Basic sample for Microsoft.DocumentDB/databaseAccounts/services@2022-05-15. + +```bicep +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource databaseAccount 'Microsoft.DocumentDB/databaseAccounts@2021-10-15' = { + location: location + name: resource_name + kind: 'GlobalDocumentDB' + properties: { + capabilities: [] + consistencyPolicy: { + defaultConsistencyLevel: 'BoundedStaleness' + maxIntervalInSeconds: 5 + maxStalenessPrefix: 100 + } + databaseAccountOfferType: 'Standard' + defaultIdentity: 'FirstPartyIdentity' + disableKeyBasedMetadataWriteAccess: false + disableLocalAuth: false + enableAnalyticalStorage: false + enableAutomaticFailover: false + enableFreeTier: false + enableMultipleWriteLocations: false + ipRules: [] + isVirtualNetworkFilterEnabled: false + locations: [ + { + failoverPriority: 0 + isZoneRedundant: false + locationName: 'West Europe' + } + ] + networkAclBypass: 'None' + networkAclBypassResourceIds: [] + publicNetworkAccess: 'Enabled' + virtualNetworkRules: [] + } +} + +resource service 'Microsoft.DocumentDB/databaseAccounts/services@2022-05-15' = { + parent: databaseAccount + name: 'SqlDedicatedGateway' + properties: { + instanceCount: 1 + instanceSize: 'Cosmos.D4s' + serviceType: 'SqlDedicatedGateway' + } +} +``` +Basic sample for Microsoft.DocumentDB/databaseAccounts/sqlDatabases@2021-10-15. + +```bicep +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource databaseAccount 'Microsoft.DocumentDB/databaseAccounts@2021-10-15' = { + location: location + name: resource_name + kind: 'GlobalDocumentDB' + properties: { + capabilities: [] + consistencyPolicy: { + defaultConsistencyLevel: 'BoundedStaleness' + maxIntervalInSeconds: 10 + maxStalenessPrefix: 200 + } + databaseAccountOfferType: 'Standard' + defaultIdentity: 'FirstPartyIdentity' + disableKeyBasedMetadataWriteAccess: false + disableLocalAuth: false + enableAnalyticalStorage: false + enableAutomaticFailover: false + enableFreeTier: false + enableMultipleWriteLocations: false + ipRules: [] + isVirtualNetworkFilterEnabled: false + locations: [ + { + failoverPriority: 0 + isZoneRedundant: false + locationName: 'West Europe' + } + ] + networkAclBypass: 'None' + networkAclBypassResourceIds: [] + publicNetworkAccess: 'Enabled' + virtualNetworkRules: [] + } +} + +resource sqlDatabase 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases@2021-10-15' = { + parent: databaseAccount + name: resource_name + properties: { + options: { + throughput: 400 + } + resource: { + id: resource_name + } + } +} +``` +Basic sample for Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers@2023-04-15. + +```bicep +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource container 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers@2023-04-15' = { + parent: sqlDatabase + name: resource_name + properties: { + options: {} + resource: { + id: 'test-containerWest Europe' + partitionKey: { + kind: 'Hash' + paths: [ + '/definition' + ] + } + } + } +} + +resource databaseAccount 'Microsoft.DocumentDB/databaseAccounts@2021-10-15' = { + location: location + name: resource_name + kind: 'GlobalDocumentDB' + properties: { + capabilities: [] + consistencyPolicy: { + defaultConsistencyLevel: 'BoundedStaleness' + maxIntervalInSeconds: 10 + maxStalenessPrefix: 200 + } + databaseAccountOfferType: 'Standard' + defaultIdentity: 'FirstPartyIdentity' + disableKeyBasedMetadataWriteAccess: false + disableLocalAuth: false + enableAnalyticalStorage: false + enableAutomaticFailover: false + enableFreeTier: false + enableMultipleWriteLocations: false + ipRules: [] + isVirtualNetworkFilterEnabled: false + locations: [ + { + failoverPriority: 0 + isZoneRedundant: false + locationName: 'West Europe' + } + ] + networkAclBypass: 'None' + networkAclBypassResourceIds: [] + publicNetworkAccess: 'Enabled' + virtualNetworkRules: [] + } +} + +resource sqlDatabase 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases@2021-10-15' = { + parent: databaseAccount + name: resource_name + properties: { + options: { + throughput: 400 + } + resource: { + id: resource_name + } + } +} +``` +Basic sample for Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures@2021-10-15. + +```bicep +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource container 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers@2023-04-15' = { + parent: sqlDatabase + name: resource_name + properties: { + options: {} + resource: { + id: resource_name + partitionKey: { + kind: 'Hash' + paths: [ + '/definition/id' + ] + } + } + } +} + +resource databaseAccount 'Microsoft.DocumentDB/databaseAccounts@2021-10-15' = { + location: location + name: resource_name + kind: 'GlobalDocumentDB' + properties: { + capabilities: [] + consistencyPolicy: { + defaultConsistencyLevel: 'Session' + maxIntervalInSeconds: 5 + maxStalenessPrefix: 100 + } + databaseAccountOfferType: 'Standard' + defaultIdentity: 'FirstPartyIdentity' + disableKeyBasedMetadataWriteAccess: false + disableLocalAuth: false + enableAnalyticalStorage: false + enableAutomaticFailover: false + enableFreeTier: false + enableMultipleWriteLocations: false + ipRules: [] + isVirtualNetworkFilterEnabled: false + locations: [ + { + failoverPriority: 0 + isZoneRedundant: false + locationName: 'West Europe' + } + ] + networkAclBypass: 'None' + networkAclBypassResourceIds: [] + publicNetworkAccess: 'Enabled' + virtualNetworkRules: [] + } +} + +resource sqlDatabase 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases@2021-10-15' = { + parent: databaseAccount + name: resource_name + properties: { + options: {} + resource: { + id: resource_name + } + } +} + +resource storedProcedure 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures@2021-10-15' = { + parent: container + name: resource_name + properties: { + options: {} + resource: { + body: ' \tfunction () {\n\t\tvar context = getContext();\n\t\tvar response = context.getResponse();\n\t\tresponse.setBody(\'Hello, World\');\n\t}\n' + id: resource_name + } + } +} +``` +Basic sample for Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers@2021-10-15. + +```bicep +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource container 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers@2023-04-15' = { + parent: sqlDatabase + name: resource_name + properties: { + options: {} + resource: { + id: resource_name + partitionKey: { + kind: 'Hash' + paths: [ + '/definition/id' + ] + } + } + } +} + +resource databaseAccount 'Microsoft.DocumentDB/databaseAccounts@2021-10-15' = { + location: location + name: resource_name + kind: 'GlobalDocumentDB' + properties: { + capabilities: [] + consistencyPolicy: { + defaultConsistencyLevel: 'Session' + maxIntervalInSeconds: 5 + maxStalenessPrefix: 100 + } + databaseAccountOfferType: 'Standard' + defaultIdentity: 'FirstPartyIdentity' + disableKeyBasedMetadataWriteAccess: false + disableLocalAuth: false + enableAnalyticalStorage: false + enableAutomaticFailover: false + enableFreeTier: false + enableMultipleWriteLocations: false + ipRules: [] + isVirtualNetworkFilterEnabled: false + locations: [ + { + failoverPriority: 0 + isZoneRedundant: false + locationName: 'West Europe' + } + ] + networkAclBypass: 'None' + networkAclBypassResourceIds: [] + publicNetworkAccess: 'Enabled' + virtualNetworkRules: [] + } +} + +resource sqlDatabase 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases@2021-10-15' = { + parent: databaseAccount + name: resource_name + properties: { + options: {} + resource: { + id: resource_name + } + } +} + +resource trigger 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers@2021-10-15' = { + parent: container + name: resource_name + properties: { + options: {} + resource: { + body: 'function trigger(){}' + id: resource_name + triggerOperation: 'All' + triggerType: 'Pre' + } + } +} +``` +Basic sample for Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions@2021-10-15. + +```bicep +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource container 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers@2023-04-15' = { + parent: sqlDatabase + name: resource_name + properties: { + options: {} + resource: { + id: resource_name + partitionKey: { + kind: 'Hash' + paths: [ + '/definition/id' + ] + } + } + } +} + +resource databaseAccount 'Microsoft.DocumentDB/databaseAccounts@2021-10-15' = { + location: location + name: resource_name + kind: 'GlobalDocumentDB' + properties: { + capabilities: [] + consistencyPolicy: { + defaultConsistencyLevel: 'Session' + maxIntervalInSeconds: 5 + maxStalenessPrefix: 100 + } + databaseAccountOfferType: 'Standard' + defaultIdentity: 'FirstPartyIdentity' + disableKeyBasedMetadataWriteAccess: false + disableLocalAuth: false + enableAnalyticalStorage: false + enableAutomaticFailover: false + enableFreeTier: false + enableMultipleWriteLocations: false + ipRules: [] + isVirtualNetworkFilterEnabled: false + locations: [ + { + failoverPriority: 0 + isZoneRedundant: false + locationName: 'West Europe' + } + ] + networkAclBypass: 'None' + networkAclBypassResourceIds: [] + publicNetworkAccess: 'Enabled' + virtualNetworkRules: [] + } +} + +resource sqlDatabase 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases@2021-10-15' = { + parent: databaseAccount + name: resource_name + properties: { + options: {} + resource: { + id: resource_name + } + } +} + +resource userDefinedFunction 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions@2021-10-15' = { + parent: container + name: resource_name + properties: { + options: {} + resource: { + body: ' \tfunction test() {\n\t\tvar context = getContext();\n\t\tvar response = context.getResponse();\n\t\tresponse.setBody(\'Hello, World\');\n\t}\n' + id: resource_name + } + } +} +``` +Basic sample for Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions@2021-10-15. + +```bicep +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource databaseAccount 'Microsoft.DocumentDB/databaseAccounts@2021-10-15' = { + location: location + name: resource_name + kind: 'GlobalDocumentDB' + properties: { + capabilities: [] + consistencyPolicy: { + defaultConsistencyLevel: 'Strong' + maxIntervalInSeconds: 5 + maxStalenessPrefix: 100 + } + databaseAccountOfferType: 'Standard' + defaultIdentity: 'FirstPartyIdentity' + disableKeyBasedMetadataWriteAccess: false + disableLocalAuth: false + enableAnalyticalStorage: false + enableAutomaticFailover: false + enableFreeTier: false + enableMultipleWriteLocations: false + ipRules: [] + isVirtualNetworkFilterEnabled: false + locations: [ + { + failoverPriority: 0 + isZoneRedundant: false + locationName: 'West Europe' + } + ] + networkAclBypass: 'None' + networkAclBypassResourceIds: [] + publicNetworkAccess: 'Enabled' + virtualNetworkRules: [] + } +} + +resource sqlRoleDefinition 'Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions@2021-10-15' = { + parent: databaseAccount + name: 'c3ce1661-d0b9-3476-0a7c-2654ce2f3055' + properties: { + assignableScopes: [ + databaseAccount.id + ] + permissions: [ + { + dataActions: [ + 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/read' + ] + } + ] + roleName: resource_name + type: 'CustomRole' + } +} +``` +Basic sample for Microsoft.DocumentDB/databaseAccounts/tables@2021-10-15. + +```bicep +param location string = 'westeurope' +param resource_name string = 'acctest0001' + +resource databaseAccount 'Microsoft.DocumentDB/databaseAccounts@2021-10-15' = { + location: location + name: resource_name + kind: 'GlobalDocumentDB' + properties: { + capabilities: [ + { + name: 'EnableTable' + } + ] + consistencyPolicy: { + defaultConsistencyLevel: 'Strong' + maxIntervalInSeconds: 5 + maxStalenessPrefix: 100 + } + databaseAccountOfferType: 'Standard' + defaultIdentity: 'FirstPartyIdentity' + disableKeyBasedMetadataWriteAccess: false + disableLocalAuth: false + enableAnalyticalStorage: false + enableAutomaticFailover: false + enableFreeTier: false + enableMultipleWriteLocations: false + ipRules: [] + isVirtualNetworkFilterEnabled: false + locations: [ + { + failoverPriority: 0 + isZoneRedundant: false + locationName: 'West Europe' + } + ] + networkAclBypass: 'None' + networkAclBypassResourceIds: [] + publicNetworkAccess: 'Enabled' + virtualNetworkRules: [] + } +} + +resource table 'Microsoft.DocumentDB/databaseAccounts/tables@2021-10-15' = { + parent: databaseAccount + name: resource_name + properties: { + options: {} + resource: { + id: resource_name + } + } +} +``` ### Azure Verified Modules The following [Azure Verified Modules](https://aka.ms/avm) can be used to deploy this resource type.