diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinition.json index 5ed89cf1a9cc..c8c35dde59bf 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinition.json @@ -78,6 +78,7 @@ "policyDefinitions": [ { "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Limit_Skus", "parameters": { "listOfAllowedSKUs": { @@ -90,6 +91,7 @@ }, { "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Resource_Naming", "parameters": { "prefix": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json index 2e59efd9898e..95f1e2d750d3 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json @@ -60,6 +60,7 @@ "policyDefinitions": [ { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Limit_Skus", "parameters": { "listOfAllowedSKUs": { @@ -72,6 +73,7 @@ }, { "policyDefinitionId": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Resource_Naming", "parameters": { "prefix": { @@ -101,6 +103,7 @@ "policyDefinitions": [ { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Limit_Skus", "parameters": { "listOfAllowedSKUs": { @@ -113,6 +116,7 @@ }, { "policyDefinitionId": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Resource_Naming", "parameters": { "prefix": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionVersion.json index a54b244c2b5c..e85c3246352d 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionVersion.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionVersion.json @@ -76,6 +76,7 @@ "policyDefinitions": [ { "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Limit_Skus", "parameters": { "listOfAllowedSKUs": { @@ -88,6 +89,7 @@ }, { "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Resource_Naming", "parameters": { "prefix": { @@ -127,6 +129,7 @@ "policyDefinitions": [ { "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Limit_Skus", "parameters": { "listOfAllowedSKUs": { @@ -139,6 +142,7 @@ }, { "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Resource_Naming", "parameters": { "prefix": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionVersionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionVersionAtManagementGroup.json index a5c60be1ae02..4b7978acd533 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionVersionAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionVersionAtManagementGroup.json @@ -58,6 +58,7 @@ "policyDefinitions": [ { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Limit_Skus", "parameters": { "listOfAllowedSKUs": { @@ -70,6 +71,7 @@ }, { "policyDefinitionId": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Resource_Naming", "parameters": { "prefix": { @@ -99,6 +101,7 @@ "policyDefinitions": [ { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Limit_Skus", "parameters": { "listOfAllowedSKUs": { @@ -111,6 +114,7 @@ }, { "policyDefinitionId": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Resource_Naming", "parameters": { "prefix": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json index 8483ae575b01..7ef27d50753e 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json @@ -25,6 +25,7 @@ "policyDefinitions": [ { "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Limit_Skus", "groupNames": [ "CostSaving" @@ -40,6 +41,7 @@ }, { "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Resource_Naming", "groupNames": [ "Organizational" @@ -90,6 +92,7 @@ "policyDefinitions": [ { "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Limit_Skus", "groupNames": [ "CostSaving" @@ -105,6 +108,7 @@ }, { "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Resource_Naming", "groupNames": [ "Organizational" @@ -154,6 +158,7 @@ "policyDefinitions": [ { "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Limit_Skus", "groupNames": [ "CostSaving" @@ -169,6 +174,7 @@ }, { "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Resource_Naming", "groupNames": [ "Organizational" diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json index 8088c7993a43..26a9ef16e40c 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json @@ -90,6 +90,7 @@ "policyDefinitions": [ { "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Limit_Skus", "groupNames": [ "CostSaving" @@ -105,6 +106,7 @@ }, { "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Resource_Naming", "groupNames": [ "Organizational" @@ -154,6 +156,7 @@ "policyDefinitions": [ { "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Limit_Skus", "groupNames": [ "CostSaving" @@ -169,6 +172,7 @@ }, { "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Resource_Naming", "groupNames": [ "Organizational" diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignment.json index 507e0d3ade80..e734839d4773 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignment.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignment.json @@ -38,6 +38,7 @@ "assignedBy": "Special Someone" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "notScopes": [], "parameters": { "prefix": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentById.json index 9c65dd44d837..afdad19b89eb 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentById.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentById.json @@ -10,6 +10,7 @@ "assignedBy": "Cheapskate Boss" }, "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "parameters": { "listOfAllowedSKUs": { "value": [ @@ -33,6 +34,7 @@ "assignedBy": "Cheapskate Boss" }, "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "notScopes": [], "parameters": { "listOfAllowedSKUs": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentNonComplianceMessages.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentNonComplianceMessages.json index aae5a745da0b..2d29465704d3 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentNonComplianceMessages.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentNonComplianceMessages.json @@ -33,6 +33,7 @@ "assignedBy": "User 1" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policySetDefinitions/securityInitiative", + "definitionVersion": "1.*.*", "notScopes": [], "enforcementMode": "Default", "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2", diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithIdentity.json index 92699f063348..27807aa215e7 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithIdentity.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithIdentity.json @@ -38,6 +38,7 @@ "assignedBy": "Special Someone" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "notScopes": [], "parameters": { "prefix": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithIdentityById.json index a38d483c5ae2..ade3496576fd 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithIdentityById.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithIdentityById.json @@ -14,6 +14,7 @@ "assignedBy": "Cheapskate Boss" }, "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "parameters": { "listOfAllowedSKUs": { "value": [ @@ -37,6 +38,7 @@ "assignedBy": "Cheapskate Boss" }, "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "notScopes": [], "parameters": { "listOfAllowedSKUs": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithOverrides.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithOverrides.json index 936e4dfa6362..f6bd0b46bb7d 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithOverrides.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithOverrides.json @@ -40,6 +40,7 @@ "assignedBy": "Special Someone" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policySetDefinitions/CostManagement", + "definitionVersion": "1.*.*", "notScopes": [], "enforcementMode": "Default", "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2", diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithResourceSelectors.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithResourceSelectors.json index 7106dc80f78b..42afac2a8b0f 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithResourceSelectors.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithResourceSelectors.json @@ -39,6 +39,7 @@ "assignedBy": "Special Someone" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policySetDefinitions/CostManagement", + "definitionVersion": "1.*.*", "notScopes": [], "enforcementMode": "Default", "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2", diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json index 790ddf6e758f..5fdd4d498977 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json @@ -41,6 +41,7 @@ "assignedBy": "Special Someone" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "notScopes": [], "parameters": { "prefix": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithoutEnforcement.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithoutEnforcement.json index 8f68a65a8aa1..964fa0450935 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithoutEnforcement.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithoutEnforcement.json @@ -34,6 +34,7 @@ "assignedBy": "Special Someone" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "notScopes": [], "parameters": { "prefix": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/deletePolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/deletePolicyAssignment.json index fe9b87fcf0c1..b83ea50d8b91 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/deletePolicyAssignment.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/deletePolicyAssignment.json @@ -15,6 +15,7 @@ "assignedBy": "Special Someone" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "notScopes": [], "parameters": { "prefix": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/deletePolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/deletePolicyAssignmentById.json index 3f489e6f385b..d417e140a43d 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/deletePolicyAssignmentById.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/deletePolicyAssignmentById.json @@ -14,6 +14,7 @@ "assignedBy": "Cheapskate Boss" }, "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "notScopes": [], "parameters": { "listOfAllowedSKUs": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getBuiltInPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getBuiltInPolicySetDefinition.json index 628d5a1449d3..1c785d31d6cb 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getBuiltInPolicySetDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getBuiltInPolicySetDefinition.json @@ -23,42 +23,52 @@ "policyDefinitions": [ { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/a8bef009-a5c9-4d0f-90d7-6018734e8a16", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId1" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/af8051bf-258b-44e2-a2bf-165330459f9d", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId2" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/86b3d65f-7626-441e-b690-81a8b71cff60", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId3" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/655cb504-bcee-4362-bd4c-402e6aa38759", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId4" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/b0f33259-77d7-4c9e-aac6-3aabcfae693c", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId5" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/47a6b606-51aa-4496-8bb7-64b11cf66adc", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId6" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/44452482-524f-4bf4-b852-0bff7cc4a3ed", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId7" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/e1e5fd5d-3e4c-4ce1-8661-7d1873ae6b15", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId8" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/af6cd1bd-1635-48cb-bde7-5b15693900b9", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId9" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/0961003e-5a0a-4549-abde-af6a37f2724d", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId10" } ] diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getBuiltInPolicySetDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getBuiltInPolicySetDefinitionVersion.json index bd78c6bcb8df..bc6cecc7b0f9 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getBuiltInPolicySetDefinitionVersion.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getBuiltInPolicySetDefinitionVersion.json @@ -20,42 +20,52 @@ "policyDefinitions": [ { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/a8bef009-a5c9-4d0f-90d7-6018734e8a16", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId1" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/af8051bf-258b-44e2-a2bf-165330459f9d", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId2" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/86b3d65f-7626-441e-b690-81a8b71cff60", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId3" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/655cb504-bcee-4362-bd4c-402e6aa38759", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId4" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/b0f33259-77d7-4c9e-aac6-3aabcfae693c", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId5" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/47a6b606-51aa-4496-8bb7-64b11cf66adc", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId6" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/44452482-524f-4bf4-b852-0bff7cc4a3ed", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId7" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/e1e5fd5d-3e4c-4ce1-8661-7d1873ae6b15", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId8" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/af6cd1bd-1635-48cb-bde7-5b15693900b9", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId9" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/0961003e-5a0a-4549-abde-af6a37f2724d", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId10" } ] diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignment.json index f3dd1bd16638..549a09ca6a79 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignment.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignment.json @@ -15,6 +15,7 @@ "assignedBy": "Special Someone" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "notScopes": [], "parameters": { "prefix": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentById.json index 167547511c36..d5d1c177f677 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentById.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentById.json @@ -14,6 +14,7 @@ "assignedBy": "Cheapskate Boss" }, "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "notScopes": [], "parameters": { "listOfAllowedSKUs": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentWithIdentity.json index 9aa734ce3fb4..b5fe18a24c70 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentWithIdentity.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentWithIdentity.json @@ -15,6 +15,7 @@ "assignedBy": "Special Someone" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "notScopes": [], "parameters": { "prefix": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentWithIdentityById.json index 426cf0ad6691..e478978ff0e3 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentWithIdentityById.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentWithIdentityById.json @@ -14,6 +14,7 @@ "assignedBy": "Cheapskate Boss" }, "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "notScopes": [], "parameters": { "listOfAllowedSKUs": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentWithOverrides.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentWithOverrides.json index 24ae6a248f62..9cdc97c58caa 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentWithOverrides.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentWithOverrides.json @@ -15,6 +15,7 @@ "assignedBy": "Special Someone" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policySetDefinitions/CostManagement", + "definitionVersion": "1.*.*", "notScopes": [], "enforcementMode": "Default", "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2", diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentWithResourceSelectors.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentWithResourceSelectors.json index ccffcbae7aa2..222ad2819709 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentWithResourceSelectors.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentWithResourceSelectors.json @@ -15,6 +15,7 @@ "assignedBy": "Special Someone" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policySetDefinitions/CostManagement", + "definitionVersion": "1.*.*", "notScopes": [], "enforcementMode": "Default", "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2", diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json index 117b71fe5083..84c4c8dfef53 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json @@ -15,6 +15,7 @@ "assignedBy": "Special Someone" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "notScopes": [], "parameters": { "prefix": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicySetDefinition.json index 06b97ca99930..cf62d3140508 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicySetDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicySetDefinition.json @@ -37,6 +37,7 @@ "policyDefinitions": [ { "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Limit_Skus", "groupNames": [ "CostSaving" @@ -52,6 +53,7 @@ }, { "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Resource_Naming", "groupNames": [ "Organizational" diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicySetDefinitionAtManagementGroup.json index 21a6b10bdb59..04402f737538 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicySetDefinitionAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicySetDefinitionAtManagementGroup.json @@ -25,6 +25,7 @@ "policyDefinitions": [ { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Limit_Skus", "parameters": { "listOfAllowedSKUs": { @@ -37,6 +38,7 @@ }, { "policyDefinitionId": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Resource_Naming", "parameters": { "prefix": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicySetDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicySetDefinitionVersion.json index 296242856d25..862158f82445 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicySetDefinitionVersion.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicySetDefinitionVersion.json @@ -34,6 +34,7 @@ "policyDefinitions": [ { "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Limit_Skus", "groupNames": [ "CostSaving" @@ -49,6 +50,7 @@ }, { "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Resource_Naming", "groupNames": [ "Organizational" diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicySetDefinitionVersionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicySetDefinitionVersionAtManagementGroup.json index 48b464589b9f..093143ae40bb 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicySetDefinitionVersionAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicySetDefinitionVersionAtManagementGroup.json @@ -22,6 +22,7 @@ "policyDefinitions": [ { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Limit_Skus", "parameters": { "listOfAllowedSKUs": { @@ -34,6 +35,7 @@ }, { "policyDefinitionId": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Resource_Naming", "parameters": { "prefix": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listAllBuiltInPolicySetDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listAllBuiltInPolicySetDefinitionVersions.json index 173fd8c30fb6..1c40f86d8ffb 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listAllBuiltInPolicySetDefinitionVersions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listAllBuiltInPolicySetDefinitionVersions.json @@ -20,42 +20,52 @@ "policyDefinitions": [ { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/a8bef009-a5c9-4d0f-90d7-6018734e8a16", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId1" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/af8051bf-258b-44e2-a2bf-165330459f9d", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId2" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/86b3d65f-7626-441e-b690-81a8b71cff60", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId3" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/655cb504-bcee-4362-bd4c-402e6aa38759", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId4" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/b0f33259-77d7-4c9e-aac6-3aabcfae693c", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId5" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/47a6b606-51aa-4496-8bb7-64b11cf66adc", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId6" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/44452482-524f-4bf4-b852-0bff7cc4a3ed", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId7" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/e1e5fd5d-3e4c-4ce1-8661-7d1873ae6b15", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId8" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/af6cd1bd-1635-48cb-bde7-5b15693900b9", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId9" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/0961003e-5a0a-4549-abde-af6a37f2724d", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId10" } ] diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listAllPolicySetDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listAllPolicySetDefinitionVersions.json index f3c08eac8283..fb9ef19b777c 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listAllPolicySetDefinitionVersions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listAllPolicySetDefinitionVersions.json @@ -22,6 +22,7 @@ "policyDefinitions": [ { "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Limit_Skus", "parameters": { "listOfAllowedSKUs": { @@ -34,6 +35,7 @@ }, { "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Resource_Naming", "parameters": { "prefix": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listAllPolicySetDefinitionVersionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listAllPolicySetDefinitionVersionsByManagementGroup.json index 6bdbe39794b9..21a4320bb0ea 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listAllPolicySetDefinitionVersionsByManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listAllPolicySetDefinitionVersionsByManagementGroup.json @@ -21,42 +21,52 @@ "policyDefinitions": [ { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/a8bef009-a5c9-4d0f-90d7-6018734e8a16", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId1" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/af8051bf-258b-44e2-a2bf-165330459f9d", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId2" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/86b3d65f-7626-441e-b690-81a8b71cff60", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId3" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/655cb504-bcee-4362-bd4c-402e6aa38759", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId4" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/b0f33259-77d7-4c9e-aac6-3aabcfae693c", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId5" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/47a6b606-51aa-4496-8bb7-64b11cf66adc", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId6" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/44452482-524f-4bf4-b852-0bff7cc4a3ed", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId7" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/e1e5fd5d-3e4c-4ce1-8661-7d1873ae6b15", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId8" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/af6cd1bd-1635-48cb-bde7-5b15693900b9", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId9" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/0961003e-5a0a-4549-abde-af6a37f2724d", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId10" } ] @@ -79,6 +89,7 @@ "policyDefinitions": [ { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Limit_Skus", "parameters": { "listOfAllowedSKUs": { @@ -91,6 +102,7 @@ }, { "policyDefinitionId": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Resource_Naming", "parameters": { "prefix": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listBuiltInPolicySetDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listBuiltInPolicySetDefinitionVersions.json index 16ed760edba9..1ed8541f88eb 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listBuiltInPolicySetDefinitionVersions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listBuiltInPolicySetDefinitionVersions.json @@ -21,42 +21,52 @@ "policyDefinitions": [ { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/a8bef009-a5c9-4d0f-90d7-6018734e8a16", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId1" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/af8051bf-258b-44e2-a2bf-165330459f9d", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId2" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/86b3d65f-7626-441e-b690-81a8b71cff60", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId3" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/655cb504-bcee-4362-bd4c-402e6aa38759", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId4" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/b0f33259-77d7-4c9e-aac6-3aabcfae693c", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId5" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/47a6b606-51aa-4496-8bb7-64b11cf66adc", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId6" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/44452482-524f-4bf4-b852-0bff7cc4a3ed", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId7" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/e1e5fd5d-3e4c-4ce1-8661-7d1873ae6b15", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId8" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/af6cd1bd-1635-48cb-bde7-5b15693900b9", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId9" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/0961003e-5a0a-4549-abde-af6a37f2724d", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId10" } ] diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listBuiltInPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listBuiltInPolicySetDefinitions.json index db8b36f80545..02d7edc6fbe6 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listBuiltInPolicySetDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listBuiltInPolicySetDefinitions.json @@ -24,42 +24,52 @@ "policyDefinitions": [ { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/a8bef009-a5c9-4d0f-90d7-6018734e8a16", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId1" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/af8051bf-258b-44e2-a2bf-165330459f9d", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId2" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/86b3d65f-7626-441e-b690-81a8b71cff60", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId3" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/655cb504-bcee-4362-bd4c-402e6aa38759", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId4" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/b0f33259-77d7-4c9e-aac6-3aabcfae693c", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId5" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/47a6b606-51aa-4496-8bb7-64b11cf66adc", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId6" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/44452482-524f-4bf4-b852-0bff7cc4a3ed", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId7" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/e1e5fd5d-3e4c-4ce1-8661-7d1873ae6b15", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId8" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/af6cd1bd-1635-48cb-bde7-5b15693900b9", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId9" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/0961003e-5a0a-4549-abde-af6a37f2724d", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId10" } ] diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicyAssignments.json index d0753ec91f61..514b8413dcd1 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicyAssignments.json @@ -26,6 +26,7 @@ "category": "Cost Management" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/storageSkus", + "definitionVersion": "1.*.*", "parameters": { "allowedSkus": { "value": "Standard_A1" @@ -43,6 +44,7 @@ "displayName": "Enforces a tag key and value", "description": "Ensure a given tag key and value are present on all resources", "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/TagKeyValue", + "definitionVersion": "1.*.*", "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2", "notScopes": [] } diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicyAssignmentsForManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicyAssignmentsForManagementGroup.json index 716b6f5b6173..72ba0190c78b 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicyAssignmentsForManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicyAssignmentsForManagementGroup.json @@ -26,6 +26,7 @@ "category": "Cost Management" }, "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/TestManagementGroup/providers/Microsoft.Authorization/policyDefinitions/storageSkus", + "definitionVersion": "1.*.*", "parameters": { "allowedSkus": { "value": "Standard_A1" @@ -43,6 +44,7 @@ "displayName": "Enforces a tag key and value", "description": "Ensure a given tag key and value are present on all resources", "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/TestManagementGroup/providers/Microsoft.Authorization/policyDefinitions/TagKeyValue", + "definitionVersion": "1.*.*", "scope": "/providers/Microsoft.Management/managementGroups/TestManagementGroup", "notScopes": [] } diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicyAssignmentsForResource.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicyAssignmentsForResource.json index 5cb7b5b1f230..907fc812d656 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicyAssignmentsForResource.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicyAssignmentsForResource.json @@ -30,6 +30,7 @@ "category": "Cost Management" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/vmSkus", + "definitionVersion": "1.*.*", "parameters": { "allowedSkus": { "value": "Standard_A1" @@ -47,6 +48,7 @@ "displayName": "Enforces a tag key and value", "description": "Ensure a given tag key and value are present on all resources", "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/TagKeyValue", + "definitionVersion": "1.*.*", "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/resourceGroups/TestResourceGroup", "notScopes": [] } diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicyAssignmentsForResourceGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicyAssignmentsForResourceGroup.json index 57967e2d97d7..8df2b2177033 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicyAssignmentsForResourceGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicyAssignmentsForResourceGroup.json @@ -27,6 +27,7 @@ "category": "Cost Management" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/storageSkus", + "definitionVersion": "1.*.*", "parameters": { "allowedSkus": { "value": "Standard_A1" @@ -44,6 +45,7 @@ "displayName": "Enforces a tag key and value", "description": "Ensure a given tag key and value are present on all resources", "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/TagKeyValue", + "definitionVersion": "1.*.*", "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/resourceGroups/TestResourceGroup", "notScopes": [] } diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicySetDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicySetDefinitionVersions.json index b0191b4b1b54..cfa70a124f88 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicySetDefinitionVersions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicySetDefinitionVersions.json @@ -23,6 +23,7 @@ "policyDefinitions": [ { "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Limit_Skus", "parameters": { "listOfAllowedSKUs": { @@ -35,6 +36,7 @@ }, { "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Resource_Naming", "parameters": { "prefix": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicySetDefinitionVersionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicySetDefinitionVersionsByManagementGroup.json index fa7e45ed2d50..6067833bb870 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicySetDefinitionVersionsByManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicySetDefinitionVersionsByManagementGroup.json @@ -23,6 +23,7 @@ "policyDefinitions": [ { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Limit_Skus", "parameters": { "listOfAllowedSKUs": { @@ -35,6 +36,7 @@ }, { "policyDefinitionId": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Resource_Naming", "parameters": { "prefix": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicySetDefinitions.json index e39556f2f482..6153d13e96da 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicySetDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicySetDefinitions.json @@ -25,42 +25,52 @@ "policyDefinitions": [ { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/a8bef009-a5c9-4d0f-90d7-6018734e8a16", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId1" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/af8051bf-258b-44e2-a2bf-165330459f9d", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId2" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/86b3d65f-7626-441e-b690-81a8b71cff60", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId3" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/655cb504-bcee-4362-bd4c-402e6aa38759", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId4" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/b0f33259-77d7-4c9e-aac6-3aabcfae693c", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId5" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/47a6b606-51aa-4496-8bb7-64b11cf66adc", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId6" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/44452482-524f-4bf4-b852-0bff7cc4a3ed", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId7" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/e1e5fd5d-3e4c-4ce1-8661-7d1873ae6b15", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId8" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/af6cd1bd-1635-48cb-bde7-5b15693900b9", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId9" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/0961003e-5a0a-4549-abde-af6a37f2724d", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId10" } ] @@ -87,6 +97,7 @@ "policyDefinitions": [ { "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Limit_Skus", "parameters": { "listOfAllowedSKUs": { @@ -99,6 +110,7 @@ }, { "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Resource_Naming", "parameters": { "prefix": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicySetDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicySetDefinitionsByManagementGroup.json index d3155e5e7966..10d926f44e88 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicySetDefinitionsByManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicySetDefinitionsByManagementGroup.json @@ -25,18 +25,22 @@ "policyDefinitions": [ { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/a8bef009-a5c9-4d0f-90d7-6018734e8a16", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId1" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/af8051bf-258b-44e2-a2bf-165330459f9d", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId2" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/86b3d65f-7626-441e-b690-81a8b71cff60", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId3" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/655cb504-bcee-4362-bd4c-402e6aa38759", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId4" }, { @@ -45,10 +49,12 @@ }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/47a6b606-51aa-4496-8bb7-64b11cf66adc", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId6" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/44452482-524f-4bf4-b852-0bff7cc4a3ed", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId7" }, { @@ -57,10 +63,12 @@ }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/af6cd1bd-1635-48cb-bde7-5b15693900b9", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId9" }, { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/0961003e-5a0a-4549-abde-af6a37f2724d", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "RefId10" } ] @@ -87,6 +95,7 @@ "policyDefinitions": [ { "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Limit_Skus", "parameters": { "listOfAllowedSKUs": { @@ -99,6 +108,7 @@ }, { "policyDefinitionId": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "policyDefinitionReferenceId": "Resource_Naming", "parameters": { "prefix": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/updatePolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/updatePolicyAssignmentWithIdentity.json index af0861f2c6c0..e2b68eeb0841 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/updatePolicyAssignmentWithIdentity.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/updatePolicyAssignmentWithIdentity.json @@ -21,6 +21,7 @@ "assignedBy": "Special Someone" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "notScopes": [], "parameters": { "prefix": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/updatePolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/updatePolicyAssignmentWithIdentityById.json index 5348c752720c..2073cf18fc0f 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/updatePolicyAssignmentWithIdentityById.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/updatePolicyAssignmentWithIdentityById.json @@ -20,6 +20,7 @@ "assignedBy": "Cheapskate Boss" }, "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "notScopes": [], "parameters": { "listOfAllowedSKUs": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/updatePolicyAssignmentWithOverrides.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/updatePolicyAssignmentWithOverrides.json index d3a2e76989ab..b221db74ad3f 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/updatePolicyAssignmentWithOverrides.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/updatePolicyAssignmentWithOverrides.json @@ -34,6 +34,7 @@ "assignedBy": "Special Someone" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policySetDefinitions/CostManagement", + "definitionVersion": "1.*.*", "notScopes": [], "enforcementMode": "Default", "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2", diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/updatePolicyAssignmentWithResourceSelectors.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/updatePolicyAssignmentWithResourceSelectors.json index 9d1e732d9b9b..8f809988f2b7 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/updatePolicyAssignmentWithResourceSelectors.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/updatePolicyAssignmentWithResourceSelectors.json @@ -33,6 +33,7 @@ "assignedBy": "Special Someone" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policySetDefinitions/CostManagement", + "definitionVersion": "1.*.*", "notScopes": [], "enforcementMode": "Default", "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2", diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json index 76077a9496e2..f89c222b562c 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json @@ -24,6 +24,7 @@ "assignedBy": "Special Someone" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "notScopes": [], "parameters": { "prefix": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/policyAssignments.json index e584799fe24f..92e22341c101 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/policyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/policyAssignments.json @@ -738,6 +738,10 @@ "type": "string", "description": "The ID of the policy definition or policy set definition being assigned." }, + "definitionVersion": { + "type": "string", + "description": "The version of the policy definition to use." + }, "scope": { "type": "string", "description": "The scope for the policy assignment.", diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/policySetDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/policySetDefinitionVersions.json index a814c951f329..c0a382296763 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/policySetDefinitionVersions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/policySetDefinitionVersions.json @@ -679,6 +679,10 @@ "type": "string", "description": "The ID of the policy definition or policy set definition." }, + "definitionVersion": { + "type": "string", + "description": "The version of the policy definition to use." + }, "parameters": { "description": "The parameter values for the referenced policy rule. The keys are the parameter names.", "$ref": "./policyAssignments.json#/definitions/ParameterValues" diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/policySetDefinitions.json index a9b8cd89659b..9f027f86f4f6 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/policySetDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/policySetDefinitions.json @@ -598,6 +598,10 @@ "type": "string", "description": "The ID of the policy definition or policy set definition." }, + "definitionVersion": { + "type": "string", + "description": "The version of the policy definition to use." + }, "parameters": { "description": "The parameter values for the referenced policy rule. The keys are the parameter names.", "$ref": "./policyAssignments.json#/definitions/ParameterValues" diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignment.json index 85cf01e4b970..02dbba61bbef 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignment.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignment.json @@ -38,6 +38,7 @@ "assignedBy": "Special Someone" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "notScopes": [], "parameters": { "prefix": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentById.json index af6799c6950f..bf107b4d4c7c 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentById.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentById.json @@ -10,6 +10,7 @@ "assignedBy": "Cheapskate Boss" }, "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "parameters": { "listOfAllowedSKUs": { "value": [ @@ -33,6 +34,7 @@ "assignedBy": "Cheapskate Boss" }, "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "notScopes": [], "parameters": { "listOfAllowedSKUs": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentNonComplianceMessages.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentNonComplianceMessages.json index 23116f553880..8d605ddcecc3 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentNonComplianceMessages.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentNonComplianceMessages.json @@ -33,6 +33,7 @@ "assignedBy": "User 1" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policySetDefinitions/securityInitiative", + "definitionVersion": "1.*.*", "notScopes": [], "enforcementMode": "Default", "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2", diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithIdentity.json index bba5bf1c8f98..a02023950bfe 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithIdentity.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithIdentity.json @@ -38,6 +38,7 @@ "assignedBy": "Special Someone" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "notScopes": [], "parameters": { "prefix": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithIdentityById.json index 291ade5de921..d8da8a7ea4b1 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithIdentityById.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithIdentityById.json @@ -14,6 +14,7 @@ "assignedBy": "Cheapskate Boss" }, "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "parameters": { "listOfAllowedSKUs": { "value": [ @@ -37,6 +38,7 @@ "assignedBy": "Cheapskate Boss" }, "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "notScopes": [], "parameters": { "listOfAllowedSKUs": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithOverrides.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithOverrides.json index 0ff331f5690a..1d965467450a 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithOverrides.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithOverrides.json @@ -40,6 +40,7 @@ "assignedBy": "Special Someone" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policySetDefinitions/CostManagement", + "definitionVersion": "1.*.*", "notScopes": [], "enforcementMode": "Default", "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2", diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithResourceSelectors.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithResourceSelectors.json index a6a50f960b6a..a7c41a835a87 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithResourceSelectors.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithResourceSelectors.json @@ -39,6 +39,7 @@ "assignedBy": "Special Someone" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policySetDefinitions/CostManagement", + "definitionVersion": "1.*.*", "notScopes": [], "enforcementMode": "Default", "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2", diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json index cffaf2f79364..4a2038094fef 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json @@ -41,6 +41,7 @@ "assignedBy": "Special Someone" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "notScopes": [], "parameters": { "prefix": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithoutEnforcement.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithoutEnforcement.json index 8f0050637a42..cd258447ceec 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithoutEnforcement.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithoutEnforcement.json @@ -34,6 +34,7 @@ "assignedBy": "Special Someone" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "notScopes": [], "parameters": { "prefix": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/deletePolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/deletePolicyAssignment.json index 4a49760afdc4..8129777e1d02 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/deletePolicyAssignment.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/deletePolicyAssignment.json @@ -15,6 +15,7 @@ "assignedBy": "Special Someone" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "notScopes": [], "parameters": { "prefix": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/deletePolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/deletePolicyAssignmentById.json index d38f5a690267..7578c60c795b 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/deletePolicyAssignmentById.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/deletePolicyAssignmentById.json @@ -14,6 +14,7 @@ "assignedBy": "Cheapskate Boss" }, "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "notScopes": [], "parameters": { "listOfAllowedSKUs": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignment.json index da77ffaff5fb..44c51d732b3a 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignment.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignment.json @@ -15,6 +15,7 @@ "assignedBy": "Special Someone" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "notScopes": [], "parameters": { "prefix": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentById.json index 865bbc44cbaf..e2e064d167dc 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentById.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentById.json @@ -14,6 +14,7 @@ "assignedBy": "Cheapskate Boss" }, "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "notScopes": [], "parameters": { "listOfAllowedSKUs": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentWithIdentity.json index bfbb3a57e35c..d9466bee0947 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentWithIdentity.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentWithIdentity.json @@ -15,6 +15,7 @@ "assignedBy": "Special Someone" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "notScopes": [], "parameters": { "prefix": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentWithIdentityById.json index dd5447ac93be..d8fa9c168440 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentWithIdentityById.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentWithIdentityById.json @@ -14,6 +14,7 @@ "assignedBy": "Cheapskate Boss" }, "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "notScopes": [], "parameters": { "listOfAllowedSKUs": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentWithOverrides.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentWithOverrides.json index 3fa10f7368e3..e68a8e6db887 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentWithOverrides.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentWithOverrides.json @@ -15,6 +15,7 @@ "assignedBy": "Special Someone" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policySetDefinitions/CostManagement", + "definitionVersion": "1.*.*", "notScopes": [], "enforcementMode": "Default", "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2", diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentWithResourceSelectors.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentWithResourceSelectors.json index dafab2356629..6f049c483cba 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentWithResourceSelectors.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentWithResourceSelectors.json @@ -15,6 +15,7 @@ "assignedBy": "Special Someone" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policySetDefinitions/CostManagement", + "definitionVersion": "1.*.*", "notScopes": [], "enforcementMode": "Default", "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2", diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json index eb05de90a9bd..b7f41ee1ba85 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json @@ -15,6 +15,7 @@ "assignedBy": "Special Someone" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "notScopes": [], "parameters": { "prefix": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/listPolicyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/listPolicyAssignments.json index b85ab0c72973..b257e1a0800f 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/listPolicyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/listPolicyAssignments.json @@ -26,6 +26,7 @@ "category": "Cost Management" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/storageSkus", + "definitionVersion": "1.*.*", "parameters": { "allowedSkus": { "value": "Standard_A1" @@ -43,6 +44,7 @@ "displayName": "Enforces a tag key and value", "description": "Ensure a given tag key and value are present on all resources", "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/TagKeyValue", + "definitionVersion": "1.*.*", "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2", "notScopes": [] } diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/listPolicyAssignmentsForManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/listPolicyAssignmentsForManagementGroup.json index 8f54b3d3f6e6..343e58cd3e41 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/listPolicyAssignmentsForManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/listPolicyAssignmentsForManagementGroup.json @@ -26,6 +26,7 @@ "category": "Cost Management" }, "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/TestManagementGroup/providers/Microsoft.Authorization/policyDefinitions/storageSkus", + "definitionVersion": "1.*.*", "parameters": { "allowedSkus": { "value": "Standard_A1" @@ -43,6 +44,7 @@ "displayName": "Enforces a tag key and value", "description": "Ensure a given tag key and value are present on all resources", "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/TestManagementGroup/providers/Microsoft.Authorization/policyDefinitions/TagKeyValue", + "definitionVersion": "1.*.*", "scope": "/providers/Microsoft.Management/managementGroups/TestManagementGroup", "notScopes": [] } diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/listPolicyAssignmentsForResource.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/listPolicyAssignmentsForResource.json index f2883c5064aa..b3d3190d233a 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/listPolicyAssignmentsForResource.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/listPolicyAssignmentsForResource.json @@ -30,6 +30,7 @@ "category": "Cost Management" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/vmSkus", + "definitionVersion": "1.*.*", "parameters": { "allowedSkus": { "value": "Standard_A1" @@ -47,6 +48,7 @@ "displayName": "Enforces a tag key and value", "description": "Ensure a given tag key and value are present on all resources", "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/TagKeyValue", + "definitionVersion": "1.*.*", "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/resourceGroups/TestResourceGroup", "notScopes": [] } diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/listPolicyAssignmentsForResourceGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/listPolicyAssignmentsForResourceGroup.json index b618b59fe37b..81dfb68247a9 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/listPolicyAssignmentsForResourceGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/listPolicyAssignmentsForResourceGroup.json @@ -27,6 +27,7 @@ "category": "Cost Management" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/storageSkus", + "definitionVersion": "1.*.*", "parameters": { "allowedSkus": { "value": "Standard_A1" @@ -44,6 +45,7 @@ "displayName": "Enforces a tag key and value", "description": "Ensure a given tag key and value are present on all resources", "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/TagKeyValue", + "definitionVersion": "1.*.*", "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/resourceGroups/TestResourceGroup", "notScopes": [] } diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/updatePolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/updatePolicyAssignmentWithIdentity.json index 2632a663244e..1ec8cb070c0b 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/updatePolicyAssignmentWithIdentity.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/updatePolicyAssignmentWithIdentity.json @@ -21,6 +21,7 @@ "assignedBy": "Special Someone" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "notScopes": [], "parameters": { "prefix": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/updatePolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/updatePolicyAssignmentWithIdentityById.json index eb459749a08f..508061dcbe37 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/updatePolicyAssignmentWithIdentityById.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/updatePolicyAssignmentWithIdentityById.json @@ -20,6 +20,7 @@ "assignedBy": "Cheapskate Boss" }, "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1", + "definitionVersion": "1.*.*", "notScopes": [], "parameters": { "listOfAllowedSKUs": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/updatePolicyAssignmentWithOverrides.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/updatePolicyAssignmentWithOverrides.json index 5ed98ca5862a..f53a09658ab4 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/updatePolicyAssignmentWithOverrides.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/updatePolicyAssignmentWithOverrides.json @@ -34,6 +34,7 @@ "assignedBy": "Special Someone" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policySetDefinitions/CostManagement", + "definitionVersion": "1.*.*", "notScopes": [], "enforcementMode": "Default", "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2", diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/updatePolicyAssignmentWithResourceSelectors.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/updatePolicyAssignmentWithResourceSelectors.json index 89deef919e58..9e7aba5cd45b 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/updatePolicyAssignmentWithResourceSelectors.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/updatePolicyAssignmentWithResourceSelectors.json @@ -33,6 +33,7 @@ "assignedBy": "Special Someone" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policySetDefinitions/CostManagement", + "definitionVersion": "1.*.*", "notScopes": [], "enforcementMode": "Default", "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2", diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json index 8623bdac57dc..d4f222a4ee04 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json @@ -24,6 +24,7 @@ "assignedBy": "Special Someone" }, "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming", + "definitionVersion": "1.*.*", "notScopes": [], "parameters": { "prefix": { diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/policyAssignments.json index 3e7730f09970..b9b68f8043e3 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/policyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/policyAssignments.json @@ -738,6 +738,10 @@ "type": "string", "description": "The ID of the policy definition or policy set definition being assigned." }, + "definitionVersion": { + "type": "string", + "description": "The version of the policy definition to use." + }, "scope": { "type": "string", "description": "The scope for the policy assignment.",