last sync: 2021-Jan-18 16:05:48 UTC

Azure Policy definition

[Deprecated]: Allow resource creation only in United States data centers

Name [Deprecated]: Allow resource creation only in United States data centers
Azure Portal
Id 983211ba-f348-4758-983b-21fa29294869
Version 1.0.0-deprecated
details on versioning
Category General
Microsoft docs
Description Allows resource creation in the following locations only: Central US, East US, East US2, North Central US, South Central US, West US
Mode Indexed
Type BuiltIn
Preview FALSE
Deprecated True
Effect Fixed: Deny
Used RBAC Role none
History
Date/Time (UTC ymd) (i) Change type Change detail
2019-10-08 15:55:12 change Previous DisplayName: Allow resource creation only in United States data centers
Used in Initiatives none
Json
{
  "properties": {
  "displayName": "[Deprecated]: Allow resource creation only in United States data centers",
    "policyType": "BuiltIn",
    "mode": "Indexed",
    "description": "Allows resource creation in the following locations only: Central US, East US, East US2, North Central US, South Central US, West US",
    "metadata": {
      "version": "1.0.0-deprecated",
      "category": "General",
      "deprecated": true
    },
    "parameters": {
      
    },
    "policyRule": {
      "if": {
        "not": {
          "field": "location",
          "in": [
            "centralus",
            "eastus",
            "eastus2",
            "northcentralus",
            "southcentralus",
            "westus"
          ]
        }
      },
      "then": {
        "effect": "Deny"
      }
    }
  },
  "id": "/providers/Microsoft.Authorization/policyDefinitions/983211ba-f348-4758-983b-21fa29294869",
  "type": "Microsoft.Authorization/policyDefinitions",
  "name": "983211ba-f348-4758-983b-21fa29294869"
}