Gallery › Resilience › Azure built-in policies
[Preview]: Resources should be Zone Resilient
Converted Initiative Version 1.10.0-preview Preview
Some resource types can be deployed Zone Redundant (e.g. SQL Databases); some can be deploy Zone Aligned (e.g. Virtual Machines); and some can be deployed either Zone Aligned or Zone Redundant (e.g. Virtual Machine Scale Sets). Being zone aligned does not guarantee resilience, but it is the foundation on which a resilient solution can be built (e.g. three Virtual Machine Scale Sets zone aligned to three different zones in the same region with a load balancer). See https://aka.ms/AZResilience for more info.
ConvertTo-Bylaw converted this initiative, and proved that the file compiles back to the same definition.
{
"properties": {
"displayName": "[Preview]: Resources should be Zone Resilient",
"policyType": "BuiltIn",
"description": "Some resource types can be deployed Zone Redundant (e.g. SQL Databases); some can be deploy Zone Aligned (e.g. Virtual Machines); and some can be deployed either Zone Aligned or Zone Redundant (e.g. Virtual Machine Scale Sets). Being zone aligned does not guarantee resilience, but it is the foundation on which a resilient solution can be built (e.g. three Virtual Machine Scale Sets zone aligned to three different zones in the same region with a load balancer). See https://aka.ms/AZResilience for more info.",
"metadata": {
"version": "1.10.0-preview",
"category": "Resilience",
"preview": true
},
"version": "1.10.0-preview",
"parameters": {
"effect": {
"type": "String",
"metadata": {
"displayName": "Effect",
"description": "This parameter lets you choose the effect of the policy. If you choose Audit (default), the policy will only audit resources for compliance. If you choose Deny, the policy will deny the creation of non-compliant resources. If you choose Disabled, the policy will not enforce compliance (useful, for example, as a second assignment to ignore a subset of non-compliant resources in a single resource group)."
},
"allowedValues": [
"Audit",
"Deny",
"Disabled"
],
"defaultValue": "Audit"
},
"allow": {
"metadata": {
"displayName": "Allowed Zone Configurations",
"description": "Some resources can be configured to be Zone Aligned, Zone Redundant, or netiher. This parameter lets you choose which of these three options you want to allow. Aligned will identify any resources that are not configured as Zone Aligned as non-compliant resources. Redundant will identify any resources that are not configured to be Zone Redundant as non-compliant resources. Both (default), will identify any resource configurations that are not Zone Aligned or Zone Redundant as non-compliant resources."
},
"allowedValues": [
"Both",
"Redundant",
"Aligned"
],
"defaultValue": "Both",
"schema": null,
"type": "string"
}
},
"policyDefinitions": [
{
"policyDefinitionReferenceId": "Microsoft.ApiManagement/service_ZoneRedundant",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/42daa904-5969-47ef-92cb-b75df946195a",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
}
}
},
{
"policyDefinitionReferenceId": "Microsoft.App/managedEnvironments_ZoneRedundant",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/42daa904-5969-47ef-92fb-b75df946195a",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
}
}
},
{
"policyDefinitionReferenceId": "Microsoft.Cache/Redis_ZoneRedundant",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/1bf67da8-b100-45bf-b89d-e4669fc54411",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
}
}
},
{
"policyDefinitionReferenceId": "Microsoft.Cache/redisEnterprise_ZoneRedundant",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/408934a8-941a-4c1e-ba88-dd035d9688f4",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
}
}
},
{
"policyDefinitionReferenceId": "Microsoft.Compute/disks_ZoneResilient",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/344ea7ca-2ba8-4d68-859b-317239714b2c",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
},
"allow": {
"value": "[parameters('allow')]"
}
}
},
{
"policyDefinitionReferenceId": "Microsoft.Compute/virtualMachineScaleSets_ZoneResilient",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/d3903bdf-ab85-4cce-85d3-2934d77629d4",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
},
"allow": {
"value": "[parameters('allow')]"
}
}
},
{
"policyDefinitionReferenceId": "Microsoft.Compute/virtualMachines_ZoneAligned",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/42f4f3a2-7d20-4c13-a05d-01857a626c22",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
}
}
},
{
"policyDefinitionReferenceId": "Microsoft.ContainerInstance/containerGroups_ZoneAligned",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/f58e8c0a-3c79-431a-abf8-cd1b895478e8",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
}
}
},
{
"policyDefinitionReferenceId": "Microsoft.ContainerRegistry/registries_ZoneRedundant",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/9d2b0a20-57d6-474c-9d12-44a4a20999c6",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
}
}
},
{
"policyDefinitionReferenceId": "Microsoft.ContainerService/managedclusters_ZoneRedundant",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/2dec5f47-bc40-40d1-8c7d-a39d9d6808d1",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
}
}
},
{
"policyDefinitionReferenceId": "Microsoft.DBForPostgreSql/flexibleServers_ZoneResilient",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/493c215d-2553-4976-bc81-57d2c04fc8c1",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
},
"allow": {
"value": "[parameters('allow')]"
}
}
},
{
"policyDefinitionReferenceId": "Microsoft.DBforMySQL/flexibleServers_ZoneResilient",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/493c215d-2554-5976-bc81-57d2c04fc8c1",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
},
"allow": {
"value": "[parameters('allow')]"
}
}
},
{
"policyDefinitionReferenceId": "Microsoft.Dashboard/Grafana_ZoneRedundant",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/bdd8bbb2-1efd-48dc-a0fd-8ddcba2e96cd",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
}
}
},
{
"policyDefinitionReferenceId": "Microsoft.DataProtection/BackupVaults_ZoneRedundant",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/4bd1f3c0-9443-49ad-b8bc-7c17a92b5924",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
}
}
},
{
"policyDefinitionReferenceId": "Microsoft.DocumentDB/databaseAccounts_ZoneRedundant",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/44c5a1f9-7ef6-4c38-880c-273e8f7a3c24",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
}
}
},
{
"policyDefinitionReferenceId": "Microsoft.EventHub/namespaces_ZoneRedundant",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/ae243d87-5cf3-4dce-90bd-6d62be328de9",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
}
}
},
{
"policyDefinitionReferenceId": "Microsoft.HDInsight/Clusters_ZoneAligned",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/bf45a74c-ed4f-4300-8afe-d6f0abdfe75b",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
}
}
},
{
"policyDefinitionReferenceId": "Microsoft.Kusto/clusters_ZoneRedundant",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/cbe58ab0-07a8-43ea-9ccc-8ea33e4d6aa5",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
}
}
},
{
"policyDefinitionReferenceId": "Microsoft.Network/applicationGateways_ZoneResilient",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/493c215c-0553-4976-bc81-57d2c04fc8c1",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
},
"allow": {
"value": "[parameters('allow')]"
}
}
},
{
"policyDefinitionReferenceId": "Microsoft.Network/azureFirewalls_ZoneResilient",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/18314dc7-a25d-420c-a069-f094b25ff91b",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
},
"allow": {
"value": "[parameters('allow')]"
}
}
},
{
"policyDefinitionReferenceId": "Microsoft.Network/loadBalancers_Automatic",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/42daa901-5969-47ef-92cb-b75df946195a",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
}
}
},
{
"policyDefinitionReferenceId": "Microsoft.Network/natGateways_ZoneAligned",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/18314dc7-a25d-420c-a069-f094b25ff919",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
}
}
},
{
"policyDefinitionReferenceId": "Microsoft.Network/publicipaddresses_ZoneResilient",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/682e4ab9-59fe-4871-9839-265b54c568c4",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
},
"allow": {
"value": "[parameters('allow')]"
}
}
},
{
"policyDefinitionReferenceId": "Microsoft.Network/publicipprefixes_ZoneResilient",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/2dba5c7e-12a4-4be8-b208-f59bc49e88c2",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
},
"allow": {
"value": "[parameters('allow')]"
}
}
},
{
"policyDefinitionReferenceId": "Microsoft.Network/virtualNetworkGateways_ZoneRedundant",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/da8a2248-6b4a-44a7-96bf-bf1c0dd208c3",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
}
}
},
{
"policyDefinitionReferenceId": "Microsoft.RecoveryServices/Vaults_ZoneRedundant",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/ae243d87-5cf3-4dce-90bd-6d62be328de3",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
}
}
},
{
"policyDefinitionReferenceId": "Microsoft.Search/searchServices_ZoneRedundant",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/90bc8109-d21a-4692-88fc-51419391da3d",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
}
}
},
{
"policyDefinitionReferenceId": "Microsoft.ServiceBus/namespaces_ZoneRedundant",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/d3ee5dcf-0c6d-49ab-aee4-f250583a7bdc",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
}
}
},
{
"policyDefinitionReferenceId": "Microsoft.Servicefabric/Clusters_ZoneRedundant",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/075896de-f4f8-465b-b6d8-9e73725bb62d",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
}
}
},
{
"policyDefinitionReferenceId": "Microsoft.Sql/managedInstances_ZoneRedundant",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/0fc92280-604b-4f23-9e04-5ef98d1a28df",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
}
}
},
{
"policyDefinitionReferenceId": "Microsoft.Sql/servers/databases_ZoneRedundant",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/6221cac0-bb8d-40f4-9535-5d03f713f054",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
}
}
},
{
"policyDefinitionReferenceId": "Microsoft.Sql/servers/elasticpools_ZoneRedundant",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/f16a3ca9-b57a-4392-b660-4c1f8442aa8d",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
}
}
},
{
"policyDefinitionReferenceId": "Microsoft.Storage/storageAccounts_ZoneRedundant",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/85b005b2-95fc-4953-b9cb-f9ee6427c754",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
}
}
},
{
"policyDefinitionReferenceId": "microsoft.web/serverfarms_ZoneRedundant",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/22888755-d824-4e43-8e0b-42d481836554",
"definitionVersion": "1.*.*-preview",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
}
}
}
],
"versions": [
"1.10.0-PREVIEW",
"1.9.0-PREVIEW",
"1.8.0-PREVIEW",
"1.7.0-PREVIEW",
"1.6.0-PREVIEW",
"1.5.0-PREVIEW",
"1.4.0-PREVIEW",
"1.3.0-PREVIEW"
]
},
"id": "/providers/Microsoft.Authorization/policySetDefinitions/130fb88f-0fc9-4678-bfe1-31022d71c7d5",
"name": "130fb88f-0fc9-4678-bfe1-31022d71c7d5"
}# Converted from Resources_ZoneResilient.json by ConvertTo-Bylaw.
Initiative '130fb88f-0fc9-4678-bfe1-31022d71c7d5' {
Properties @{
DisplayName = '[Preview]: Resources should be Zone Resilient'
Description = 'Some resource types can be deployed Zone Redundant (e.g. SQL Databases); some can be deploy Zone Aligned (e.g. Virtual Machines); and some can be deployed either Zone Aligned or Zone Redundant (e.g. Virtual Machine Scale Sets). Being zone aligned does not guarantee resilience, but it is the foundation on which a resilient solution can be built (e.g. three Virtual Machine Scale Sets zone aligned to three different zones in the same region with a load balancer). See https://aka.ms/AZResilience for more info.'
Version = '1.10.0-preview'
Category = 'Resilience'
Preview = $true
PolicyVersion = '1.10.0-preview'
}
Parameter Effect @{
AllowedValues = @('Audit', 'Deny', 'Disabled')
Default = 'Audit'
DisplayName = 'Effect'
Description = 'This parameter lets you choose the effect of the policy. If you choose Audit (default), the policy will only audit resources for compliance. If you choose Deny, the policy will deny the creation of non-compliant resources. If you choose Disabled, the policy will not enforce compliance (useful, for example, as a second assignment to ignore a subset of non-compliant resources in a single resource group).'
}
Parameter Allow @{
Type = 'string'
AllowedValues = @('Both', 'Redundant', 'Aligned')
Default = 'Both'
DisplayName = 'Allowed Zone Configurations'
Description = 'Some resources can be configured to be Zone Aligned, Zone Redundant, or netiher. This parameter lets you choose which of these three options you want to allow. Aligned will identify any resources that are not configured as Zone Aligned as non-compliant resources. Redundant will identify any resources that are not configured to be Zone Redundant as non-compliant resources. Both (default), will identify any resource configurations that are not Zone Aligned or Zone Redundant as non-compliant resources.'
}
PolicyDefinition @{
Id = '42daa904-5969-47ef-92cb-b75df946195a'
ReferenceId = 'Microsoft.ApiManagement/service_ZoneRedundant'
Version = '1.*.*-preview'
Parameters = @{
effect = (Param Effect)
}
}
PolicyDefinition @{
Id = '42daa904-5969-47ef-92fb-b75df946195a'
ReferenceId = 'Microsoft.App/managedEnvironments_ZoneRedundant'
Version = '1.*.*-preview'
Parameters = @{
effect = (Param Effect)
}
}
PolicyDefinition @{
Id = '1bf67da8-b100-45bf-b89d-e4669fc54411'
ReferenceId = 'Microsoft.Cache/Redis_ZoneRedundant'
Version = '1.*.*-preview'
Parameters = @{
effect = (Param Effect)
}
}
PolicyDefinition @{
Id = '408934a8-941a-4c1e-ba88-dd035d9688f4'
ReferenceId = 'Microsoft.Cache/redisEnterprise_ZoneRedundant'
Version = '1.*.*-preview'
Parameters = @{
effect = (Param Effect)
}
}
PolicyDefinition @{
Id = '344ea7ca-2ba8-4d68-859b-317239714b2c'
ReferenceId = 'Microsoft.Compute/disks_ZoneResilient'
Version = '1.*.*-preview'
Parameters = [ordered]@{
effect = (Param Effect)
allow = (Param Allow)
}
}
PolicyDefinition @{
Id = 'd3903bdf-ab85-4cce-85d3-2934d77629d4'
ReferenceId = 'Microsoft.Compute/virtualMachineScaleSets_ZoneResilient'
Version = '1.*.*-preview'
Parameters = [ordered]@{
effect = (Param Effect)
allow = (Param Allow)
}
}
PolicyDefinition @{
Id = '42f4f3a2-7d20-4c13-a05d-01857a626c22'
ReferenceId = 'Microsoft.Compute/virtualMachines_ZoneAligned'
Version = '1.*.*-preview'
Parameters = @{
effect = (Param Effect)
}
}
PolicyDefinition @{
Id = 'f58e8c0a-3c79-431a-abf8-cd1b895478e8'
ReferenceId = 'Microsoft.ContainerInstance/containerGroups_ZoneAligned'
Version = '1.*.*-preview'
Parameters = @{
effect = (Param Effect)
}
}
PolicyDefinition @{
Id = '9d2b0a20-57d6-474c-9d12-44a4a20999c6'
ReferenceId = 'Microsoft.ContainerRegistry/registries_ZoneRedundant'
Version = '1.*.*-preview'
Parameters = @{
effect = (Param Effect)
}
}
PolicyDefinition @{
Id = '2dec5f47-bc40-40d1-8c7d-a39d9d6808d1'
ReferenceId = 'Microsoft.ContainerService/managedclusters_ZoneRedundant'
Version = '1.*.*-preview'
Parameters = @{
effect = (Param Effect)
}
}
PolicyDefinition @{
Id = '493c215d-2553-4976-bc81-57d2c04fc8c1'
ReferenceId = 'Microsoft.DBForPostgreSql/flexibleServers_ZoneResilient'
Version = '1.*.*-preview'
Parameters = [ordered]@{
effect = (Param Effect)
allow = (Param Allow)
}
}
PolicyDefinition @{
Id = '493c215d-2554-5976-bc81-57d2c04fc8c1'
ReferenceId = 'Microsoft.DBforMySQL/flexibleServers_ZoneResilient'
Version = '1.*.*-preview'
Parameters = [ordered]@{
effect = (Param Effect)
allow = (Param Allow)
}
}
PolicyDefinition @{
Id = 'bdd8bbb2-1efd-48dc-a0fd-8ddcba2e96cd'
ReferenceId = 'Microsoft.Dashboard/Grafana_ZoneRedundant'
Version = '1.*.*-preview'
Parameters = @{
effect = (Param Effect)
}
}
PolicyDefinition @{
Id = '4bd1f3c0-9443-49ad-b8bc-7c17a92b5924'
ReferenceId = 'Microsoft.DataProtection/BackupVaults_ZoneRedundant'
Version = '1.*.*-preview'
Parameters = @{
effect = (Param Effect)
}
}
PolicyDefinition @{
Id = '44c5a1f9-7ef6-4c38-880c-273e8f7a3c24'
ReferenceId = 'Microsoft.DocumentDB/databaseAccounts_ZoneRedundant'
Version = '1.*.*-preview'
Parameters = @{
effect = (Param Effect)
}
}
PolicyDefinition @{
Id = 'ae243d87-5cf3-4dce-90bd-6d62be328de9'
ReferenceId = 'Microsoft.EventHub/namespaces_ZoneRedundant'
Version = '1.*.*-preview'
Parameters = @{
effect = (Param Effect)
}
}
PolicyDefinition @{
Id = 'bf45a74c-ed4f-4300-8afe-d6f0abdfe75b'
ReferenceId = 'Microsoft.HDInsight/Clusters_ZoneAligned'
Version = '1.*.*-preview'
Parameters = @{
effect = (Param Effect)
}
}
PolicyDefinition @{
Id = 'cbe58ab0-07a8-43ea-9ccc-8ea33e4d6aa5'
ReferenceId = 'Microsoft.Kusto/clusters_ZoneRedundant'
Version = '1.*.*-preview'
Parameters = @{
effect = (Param Effect)
}
}
PolicyDefinition @{
Id = '493c215c-0553-4976-bc81-57d2c04fc8c1'
ReferenceId = 'Microsoft.Network/applicationGateways_ZoneResilient'
Version = '1.*.*-preview'
Parameters = [ordered]@{
effect = (Param Effect)
allow = (Param Allow)
}
}
PolicyDefinition @{
Id = '18314dc7-a25d-420c-a069-f094b25ff91b'
ReferenceId = 'Microsoft.Network/azureFirewalls_ZoneResilient'
Version = '1.*.*-preview'
Parameters = [ordered]@{
effect = (Param Effect)
allow = (Param Allow)
}
}
PolicyDefinition @{
Id = '42daa901-5969-47ef-92cb-b75df946195a'
ReferenceId = 'Microsoft.Network/loadBalancers_Automatic'
Version = '1.*.*-preview'
Parameters = @{
effect = (Param Effect)
}
}
PolicyDefinition @{
Id = '18314dc7-a25d-420c-a069-f094b25ff919'
ReferenceId = 'Microsoft.Network/natGateways_ZoneAligned'
Version = '1.*.*-preview'
Parameters = @{
effect = (Param Effect)
}
}
PolicyDefinition @{
Id = '682e4ab9-59fe-4871-9839-265b54c568c4'
ReferenceId = 'Microsoft.Network/publicipaddresses_ZoneResilient'
Version = '1.*.*-preview'
Parameters = [ordered]@{
effect = (Param Effect)
allow = (Param Allow)
}
}
PolicyDefinition @{
Id = '2dba5c7e-12a4-4be8-b208-f59bc49e88c2'
ReferenceId = 'Microsoft.Network/publicipprefixes_ZoneResilient'
Version = '1.*.*-preview'
Parameters = [ordered]@{
effect = (Param Effect)
allow = (Param Allow)
}
}
PolicyDefinition @{
Id = 'da8a2248-6b4a-44a7-96bf-bf1c0dd208c3'
ReferenceId = 'Microsoft.Network/virtualNetworkGateways_ZoneRedundant'
Version = '1.*.*-preview'
Parameters = @{
effect = (Param Effect)
}
}
PolicyDefinition @{
Id = 'ae243d87-5cf3-4dce-90bd-6d62be328de3'
ReferenceId = 'Microsoft.RecoveryServices/Vaults_ZoneRedundant'
Version = '1.*.*-preview'
Parameters = @{
effect = (Param Effect)
}
}
PolicyDefinition @{
Id = '90bc8109-d21a-4692-88fc-51419391da3d'
ReferenceId = 'Microsoft.Search/searchServices_ZoneRedundant'
Version = '1.*.*-preview'
Parameters = @{
effect = (Param Effect)
}
}
PolicyDefinition @{
Id = 'd3ee5dcf-0c6d-49ab-aee4-f250583a7bdc'
ReferenceId = 'Microsoft.ServiceBus/namespaces_ZoneRedundant'
Version = '1.*.*-preview'
Parameters = @{
effect = (Param Effect)
}
}
PolicyDefinition @{
Id = '075896de-f4f8-465b-b6d8-9e73725bb62d'
ReferenceId = 'Microsoft.Servicefabric/Clusters_ZoneRedundant'
Version = '1.*.*-preview'
Parameters = @{
effect = (Param Effect)
}
}
PolicyDefinition @{
Id = '0fc92280-604b-4f23-9e04-5ef98d1a28df'
ReferenceId = 'Microsoft.Sql/managedInstances_ZoneRedundant'
Version = '1.*.*-preview'
Parameters = @{
effect = (Param Effect)
}
}
PolicyDefinition @{
Id = '6221cac0-bb8d-40f4-9535-5d03f713f054'
ReferenceId = 'Microsoft.Sql/servers/databases_ZoneRedundant'
Version = '1.*.*-preview'
Parameters = @{
effect = (Param Effect)
}
}
PolicyDefinition @{
Id = 'f16a3ca9-b57a-4392-b660-4c1f8442aa8d'
ReferenceId = 'Microsoft.Sql/servers/elasticpools_ZoneRedundant'
Version = '1.*.*-preview'
Parameters = @{
effect = (Param Effect)
}
}
PolicyDefinition @{
Id = '85b005b2-95fc-4953-b9cb-f9ee6427c754'
ReferenceId = 'Microsoft.Storage/storageAccounts_ZoneRedundant'
Version = '1.*.*-preview'
Parameters = @{
effect = (Param Effect)
}
}
PolicyDefinition @{
Id = '22888755-d824-4e43-8e0b-42d481836554'
ReferenceId = 'microsoft.web/serverfarms_ZoneRedundant'
Version = '1.*.*-preview'
Parameters = @{
effect = (Param Effect)
}
}
}Members (34)
- [Preview]: API Management Service should be Zone Redundant
- [Preview]: Container App should be Zone Redundant
- [Preview]: Azure Cache for Redis should be Zone Redundant
- [Preview]: Azure Cache for Redis Enterprise & Flash should be Zone Redundant
- [Preview]: Managed Disks should be Zone Resilient
- [Preview]: Virtual Machine Scale Sets should be Zone Resilient
- [Preview]: Virtual Machines should be Zone Aligned
- [Preview]: Container Instances should be Zone Aligned
- [Preview]: Container Registry should be Zone Redundant
- [Preview]: Azure Kubernetes Service Managed Clusters should be Zone Redundant
- [Preview]: Azure Database for PostgreSQL Flexible Server should be Zone Resilient
- [Preview]: Azure Database for MySQL Flexible Server should be Zone Resilient
- [Preview]: Azure Managed Grafana should be Zone Redundant
- [Preview]: Backup Vaults should be Zone Redundant
- [Preview]: Cosmos Database Accounts should be Zone Redundant
- [Preview]: Event Hubs should be Zone Redundant
- [Preview]: Azure HDInsight should be Zone Aligned
- [Preview]: Azure Data Explorer Clusters should be Zone Redundant
- [Preview]: Application Gateways should be Zone Resilient
- [Preview]: Firewalls should be Zone Resilient
- [Preview]: Load Balancers should be Zone Resilient
- [Preview]: NAT gateway should be Zone Aligned
- [Preview]: Public IP addresses should be Zone Resilient
- [Preview]: Public IP Prefixes should be Zone Resilient
- [Preview]: Virtual network gateways should be Zone Redundant
- [Preview]: Backup and Site Recovery should be Zone Redundant
- [Preview]: Azure AI Search Service should be Zone Redundant
- [Preview]: Service Bus should be Zone Redundant
- [Preview]: Service Fabric Clusters should be Zone Redundant
- [Preview]: SQL Managed Instances should be Zone Redundant
- [Preview]: SQL Databases should be Zone Redundant
- [Preview]: SQL Elastic database pools should be Zone Redundant
- [Preview]: Storage Accounts should be Zone Redundant
- [Preview]: App Service Plans should be Zone Redundant
Source: built-in-policies/policySetDefinitions/Resilience/Resources_ZoneResilient.json in Azure/azure-policy, under the MIT licence.
Bylaw