From cc8565c7ac0ed5ae4a6937d69f621bc6fec61a95 Mon Sep 17 00:00:00 2001 From: zedy Date: Wed, 12 Nov 2025 17:48:05 +0800 Subject: [PATCH 01/14] refactor the folder structure --- specification/resources/cspell.yaml | 10 +- .../locks/readme.go.md | 21 + .../Microsoft.Authorization/locks/readme.md | 99 + .../locks/readme.nodejs.md | 22 + .../locks/readme.python.md | 34 + .../locks/readme.ruby.md | 30 + .../locks/readme.typescript.md | 39 + .../{ => locks}/stable/2015-01-01/locks.json | 0 .../examples/ListProviderOperations.json | 0 ...ks_CreateOrUpdateAtResourceGroupLevel.json | 0 ...ntLocks_CreateOrUpdateAtResourceLevel.json | 0 ...ManagementLocks_CreateOrUpdateAtScope.json | 0 ...cks_CreateOrUpdateAtSubscriptionLevel.json | 0 ...ementLocks_DeleteAtResourceGroupLevel.json | 0 ...ManagementLocks_DeleteAtResourceLevel.json | 0 .../ManagementLocks_DeleteAtScope.json | 0 ...gementLocks_DeleteAtSubscriptionLevel.json | 0 ...nagementLocks_GetAtResourceGroupLevel.json | 0 .../ManagementLocks_GetAtResourceLevel.json | 0 .../examples/ManagementLocks_GetAtScope.json | 0 ...anagementLocks_GetAtSubscriptionLevel.json | 0 ...agementLocks_ListAtResourceGroupLevel.json | 0 .../ManagementLocks_ListAtResourceLevel.json | 0 .../examples/ManagementLocks_ListAtScope.json | 0 ...nagementLocks_ListAtSubscriptionLevel.json | 0 .../{ => locks}/stable/2016-09-01/locks.json | 0 .../examples/ListProviderOperations.json | 0 ...ks_CreateOrUpdateAtResourceGroupLevel.json | 0 ...ntLocks_CreateOrUpdateAtResourceLevel.json | 0 ...ManagementLocks_CreateOrUpdateAtScope.json | 0 ...cks_CreateOrUpdateAtSubscriptionLevel.json | 0 ...ementLocks_DeleteAtResourceGroupLevel.json | 0 ...ManagementLocks_DeleteAtResourceLevel.json | 0 .../ManagementLocks_DeleteAtScope.json | 0 ...gementLocks_DeleteAtSubscriptionLevel.json | 0 ...nagementLocks_GetAtResourceGroupLevel.json | 0 .../ManagementLocks_GetAtResourceLevel.json | 0 .../examples/ManagementLocks_GetAtScope.json | 0 ...anagementLocks_GetAtSubscriptionLevel.json | 0 ...agementLocks_ListAtResourceGroupLevel.json | 0 .../ManagementLocks_ListAtResourceLevel.json | 0 .../examples/ManagementLocks_ListAtScope.json | 0 ...nagementLocks_ListAtSubscriptionLevel.json | 0 .../{ => locks}/stable/2017-04-01/locks.json | 34 +- .../examples/ListProviderOperations.json | 0 ...ks_CreateOrUpdateAtResourceGroupLevel.json | 0 ...ntLocks_CreateOrUpdateAtResourceLevel.json | 0 ...ManagementLocks_CreateOrUpdateAtScope.json | 0 ...cks_CreateOrUpdateAtSubscriptionLevel.json | 0 ...ementLocks_DeleteAtResourceGroupLevel.json | 0 ...ManagementLocks_DeleteAtResourceLevel.json | 0 .../ManagementLocks_DeleteAtScope.json | 0 ...gementLocks_DeleteAtSubscriptionLevel.json | 0 ...nagementLocks_GetAtResourceGroupLevel.json | 0 .../ManagementLocks_GetAtResourceLevel.json | 0 .../examples/ManagementLocks_GetAtScope.json | 0 ...anagementLocks_GetAtSubscriptionLevel.json | 0 ...agementLocks_ListAtResourceGroupLevel.json | 0 .../ManagementLocks_ListAtResourceLevel.json | 0 .../examples/ManagementLocks_ListAtScope.json | 0 ...nagementLocks_ListAtSubscriptionLevel.json | 0 .../{ => locks}/stable/2020-05-01/locks.json | 70 +- .../locks/suppressions.yaml | 12 + .../preview/2015-10-01-preview/policy.json | 0 .../createOrUpdatePolicySetDefinition.json | 0 ...ePolicySetDefinitionAtManagementGroup.json | 0 .../examples/createPolicyAssignment.json | 0 .../getBuiltInPolicySetDefinition.json | 0 .../examples/getPolicyAssignment.json | 0 .../examples/getPolicySetDefinition.json | 0 ...tPolicySetDefinitionAtManagementGroup.json | 0 .../listBuiltInPolicySetDefinitions.json | 0 .../examples/listPolicyAssignments.json | 0 .../examples/listPolicySetDefinitions.json | 0 ...PolicySetDefinitionsByManagementGroup.json | 0 .../2017-06-01-preview/policyAssignments.json | 0 .../policySetDefinitions.json | 0 .../createOrUpdatePolicyExemption.json | 0 .../examples/deletePolicyExemption.json | 0 .../examples/getPolicyExemption.json | 0 ...istPolicyExemptionsForManagementGroup.json | 0 .../listPolicyExemptionsForResource.json | 0 .../listPolicyExemptionsForResourceGroup.json | 0 .../listPolicyExemptionsForSubscription.json | 0 .../2020-07-01-preview/policyExemptions.json | 0 .../2022-07-01-preview}/common/v1/types.json | 0 .../createOrUpdatePolicyExemption.json | 0 ...ePolicyExemptionWithResourceSelectors.json | 0 .../examples/deletePolicyExemption.json | 0 .../examples/getPolicyExemption.json | 0 ...tPolicyExemptionWithResourceSelectors.json | 0 ...istPolicyExemptionsForManagementGroup.json | 0 .../listPolicyExemptionsForResource.json | 0 .../listPolicyExemptionsForResourceGroup.json | 0 .../listPolicyExemptionsForSubscription.json | 0 ...ePolicyExemptionWithResourceSelectors.json | 0 .../2022-07-01-preview/policyExemptions.json | 4 +- .../examples/createOrUpdateVariable.json | 0 ...eateOrUpdateVariableAtManagementGroup.json | 0 .../examples/createOrUpdateVariableValue.json | 0 ...rUpdateVariableValueAtManagementGroup.json | 0 .../examples/deleteVariable.json | 0 .../deleteVariableAtManagementGroup.json | 0 .../examples/deleteVariableValue.json | 0 .../deleteVariableValueAtManagementGroup.json | 0 .../examples/getVariable.json | 0 .../getVariableAtManagementGroup.json | 0 .../examples/getVariableValue.json | 0 .../getVariableValueAtManagementGroup.json | 0 .../listVariableValuesForManagementGroup.json | 0 .../listVariableValuesForSubscription.json | 0 .../listVariablesForManagementGroup.json | 0 .../listVariablesForSubscription.json | 0 .../policyVariableValues.json | 0 .../2022-08-01-preview/policyVariables.json | 0 .../2024-12-01-preview}/common/v3/types.json | 0 .../createOrUpdatePolicyExemption.json | 0 ...ePolicyExemptionWithResourceSelectors.json | 0 .../examples/createOrUpdateVariable.json | 0 ...eateOrUpdateVariableAtManagementGroup.json | 0 .../examples/createOrUpdateVariableValue.json | 0 ...rUpdateVariableValueAtManagementGroup.json | 0 .../examples/deletePolicyExemption.json | 0 .../examples/deleteVariable.json | 0 .../deleteVariableAtManagementGroup.json | 0 .../examples/deleteVariableValue.json | 0 .../deleteVariableValueAtManagementGroup.json | 0 .../examples/getPolicyExemption.json | 0 ...tPolicyExemptionWithResourceSelectors.json | 0 .../examples/getVariable.json | 0 .../getVariableAtManagementGroup.json | 0 .../examples/getVariableValue.json | 0 .../getVariableValueAtManagementGroup.json | 0 ...istPolicyExemptionsForManagementGroup.json | 0 .../listPolicyExemptionsForResource.json | 0 .../listPolicyExemptionsForResourceGroup.json | 0 .../listPolicyExemptionsForSubscription.json | 0 .../listVariableValuesForManagementGroup.json | 0 .../listVariableValuesForSubscription.json | 0 .../listVariablesForManagementGroup.json | 0 .../listVariablesForSubscription.json | 0 ...ePolicyExemptionWithResourceSelectors.json | 0 .../2024-12-01-preview/policyExemptions.json | 4 +- .../policyVariableValues.json | 0 .../2024-12-01-preview/policyVariables.json | 0 .../policy/readme.go.md | 21 + .../policy/readme.java.md | 60 + .../Microsoft.Authorization/policy/readme.md | 693 ++++ .../policy/readme.nodejs.md | 22 + .../policy/readme.python.md | 34 + .../policy/readme.ruby.md | 52 + .../policy/readme.terraform.md | 24 + .../policy/readme.typescript.md | 42 + .../policy/sdk-suppressions.yaml | 83 + .../stable/2016-04-01/policy.json | 0 .../stable/2016-12-01/policyAssignments.json | 0 .../stable/2016-12-01/policyDefinitions.json | 0 .../createOrUpdatePolicyDefinition.json | 0 ...datePolicyDefinitionAtManagementGroup.json | 0 .../createOrUpdatePolicySetDefinition.json | 0 ...ePolicySetDefinitionAtManagementGroup.json | 0 .../examples/createPolicyAssignment.json | 0 .../examples/createPolicyAssignmentById.json | 0 .../examples/deletePolicyAssignment.json | 0 .../examples/deletePolicyAssignmentById.json | 0 .../examples/deletePolicyDefinition.json | 0 ...letePolicyDefinitionAtManagementGroup.json | 0 .../examples/deletePolicySetDefinition.json | 0 ...ePolicySetDefinitionAtManagementGroup.json | 0 .../getBuiltInPolicySetDefinition.json | 0 .../examples/getBuiltinPolicyDefinition.json | 0 .../examples/getPolicyAssignment.json | 0 .../examples/getPolicyAssignmentById.json | 0 .../examples/getPolicyDefinition.json | 0 .../getPolicyDefinitionAtManagementGroup.json | 0 .../examples/getPolicySetDefinition.json | 0 ...tPolicySetDefinitionAtManagementGroup.json | 0 .../listBuiltInPolicyDefinitions.json | 0 .../listBuiltInPolicySetDefinitions.json | 0 .../examples/listPolicyAssignments.json | 0 .../listPolicyAssignmentsForResource.json | 0 ...listPolicyAssignmentsForResourceGroup.json | 0 .../examples/listPolicyDefinitions.json | 0 ...istPolicyDefinitionsByManagementGroup.json | 0 .../examples/listPolicySetDefinitions.json | 0 ...PolicySetDefinitionsByManagementGroup.json | 0 .../stable/2018-03-01/policyAssignments.json | 0 .../stable/2018-03-01/policyDefinitions.json | 0 .../2018-03-01/policySetDefinitions.json | 0 .../createOrUpdatePolicyDefinition.json | 0 ...datePolicyDefinitionAtManagementGroup.json | 0 .../createOrUpdatePolicySetDefinition.json | 0 ...ePolicySetDefinitionAtManagementGroup.json | 0 .../examples/createPolicyAssignment.json | 0 .../examples/createPolicyAssignmentById.json | 0 .../createPolicyAssignmentWithIdentity.json | 0 ...reatePolicyAssignmentWithIdentityById.json | 0 .../examples/deletePolicyAssignment.json | 0 .../examples/deletePolicyAssignmentById.json | 0 .../examples/deletePolicyDefinition.json | 0 ...letePolicyDefinitionAtManagementGroup.json | 0 .../examples/deletePolicySetDefinition.json | 0 ...ePolicySetDefinitionAtManagementGroup.json | 0 .../getBuiltInPolicySetDefinition.json | 0 .../examples/getBuiltinPolicyDefinition.json | 0 .../examples/getPolicyAssignment.json | 0 .../examples/getPolicyAssignmentById.json | 0 .../getPolicyAssignmentWithIdentity.json | 0 .../getPolicyAssignmentWithIdentityById.json | 0 .../examples/getPolicyDefinition.json | 0 .../getPolicyDefinitionAtManagementGroup.json | 0 .../examples/getPolicySetDefinition.json | 0 ...tPolicySetDefinitionAtManagementGroup.json | 0 .../listBuiltInPolicyDefinitions.json | 0 .../listBuiltInPolicySetDefinitions.json | 0 .../examples/listPolicyAssignments.json | 0 .../listPolicyAssignmentsForResource.json | 0 ...listPolicyAssignmentsForResourceGroup.json | 0 .../examples/listPolicyDefinitions.json | 0 ...istPolicyDefinitionsByManagementGroup.json | 0 .../examples/listPolicySetDefinitions.json | 0 ...PolicySetDefinitionsByManagementGroup.json | 0 .../stable/2018-05-01/policyAssignments.json | 0 .../stable/2018-05-01/policyDefinitions.json | 0 .../2018-05-01/policySetDefinitions.json | 0 .../createOrUpdatePolicyDefinition.json | 0 ...datePolicyDefinitionAtManagementGroup.json | 0 .../createOrUpdatePolicySetDefinition.json | 0 ...ePolicySetDefinitionAtManagementGroup.json | 0 .../examples/createPolicyAssignment.json | 0 .../examples/createPolicyAssignmentById.json | 0 .../createPolicyAssignmentWithIdentity.json | 0 ...reatePolicyAssignmentWithIdentityById.json | 0 .../examples/deletePolicyAssignment.json | 0 .../examples/deletePolicyAssignmentById.json | 0 .../examples/deletePolicyDefinition.json | 0 ...letePolicyDefinitionAtManagementGroup.json | 0 .../examples/deletePolicySetDefinition.json | 0 ...ePolicySetDefinitionAtManagementGroup.json | 0 .../getBuiltInPolicySetDefinition.json | 0 .../examples/getBuiltinPolicyDefinition.json | 0 .../examples/getPolicyAssignment.json | 0 .../examples/getPolicyAssignmentById.json | 0 .../getPolicyAssignmentWithIdentity.json | 0 .../getPolicyAssignmentWithIdentityById.json | 0 .../examples/getPolicyDefinition.json | 0 .../getPolicyDefinitionAtManagementGroup.json | 0 .../examples/getPolicySetDefinition.json | 0 ...tPolicySetDefinitionAtManagementGroup.json | 0 .../listBuiltInPolicyDefinitions.json | 0 .../listBuiltInPolicySetDefinitions.json | 0 .../examples/listPolicyAssignments.json | 0 .../listPolicyAssignmentsForResource.json | 0 ...listPolicyAssignmentsForResourceGroup.json | 0 .../examples/listPolicyDefinitions.json | 0 ...istPolicyDefinitionsByManagementGroup.json | 0 .../examples/listPolicySetDefinitions.json | 0 ...PolicySetDefinitionsByManagementGroup.json | 0 .../stable/2019-01-01/policyAssignments.json | 0 .../stable/2019-01-01/policyDefinitions.json | 0 .../2019-01-01/policySetDefinitions.json | 0 .../createOrUpdatePolicyDefinition.json | 0 ...datePolicyDefinitionAtManagementGroup.json | 0 .../createOrUpdatePolicySetDefinition.json | 0 ...ePolicySetDefinitionAtManagementGroup.json | 0 .../examples/createPolicyAssignment.json | 0 .../examples/createPolicyAssignmentById.json | 0 .../createPolicyAssignmentWithIdentity.json | 0 ...reatePolicyAssignmentWithIdentityById.json | 0 ...atePolicyAssignmentWithoutEnforcement.json | 0 .../examples/deletePolicyAssignment.json | 0 .../examples/deletePolicyAssignmentById.json | 0 .../examples/deletePolicyDefinition.json | 0 ...letePolicyDefinitionAtManagementGroup.json | 0 .../examples/deletePolicySetDefinition.json | 0 ...ePolicySetDefinitionAtManagementGroup.json | 0 .../getBuiltInPolicySetDefinition.json | 0 .../examples/getBuiltinPolicyDefinition.json | 0 .../examples/getPolicyAssignment.json | 0 .../examples/getPolicyAssignmentById.json | 0 .../getPolicyAssignmentWithIdentity.json | 0 .../getPolicyAssignmentWithIdentityById.json | 0 .../examples/getPolicyDefinition.json | 0 .../getPolicyDefinitionAtManagementGroup.json | 0 .../examples/getPolicySetDefinition.json | 0 ...tPolicySetDefinitionAtManagementGroup.json | 0 .../listBuiltInPolicyDefinitions.json | 0 .../listBuiltInPolicySetDefinitions.json | 0 .../examples/listPolicyAssignments.json | 0 .../listPolicyAssignmentsForResource.json | 0 ...listPolicyAssignmentsForResourceGroup.json | 0 .../examples/listPolicyDefinitions.json | 0 ...istPolicyDefinitionsByManagementGroup.json | 0 .../examples/listPolicySetDefinitions.json | 0 ...PolicySetDefinitionsByManagementGroup.json | 0 .../stable/2019-06-01/policyAssignments.json | 0 .../stable/2019-06-01/policyDefinitions.json | 0 .../2019-06-01/policySetDefinitions.json | 0 .../createOrUpdatePolicyDefinition.json | 0 ...rUpdatePolicyDefinitionAdvancedParams.json | 0 ...datePolicyDefinitionAtManagementGroup.json | 0 .../createOrUpdatePolicySetDefinition.json | 0 ...ePolicySetDefinitionAtManagementGroup.json | 0 ...OrUpdatePolicySetDefinitionWithGroups.json | 0 ...DefinitionWithGroupsAtManagementGroup.json | 0 .../examples/createPolicyAssignment.json | 0 .../examples/createPolicyAssignmentById.json | 0 .../createPolicyAssignmentWithIdentity.json | 0 ...reatePolicyAssignmentWithIdentityById.json | 0 ...atePolicyAssignmentWithoutEnforcement.json | 0 .../examples/deletePolicyAssignment.json | 0 .../examples/deletePolicyAssignmentById.json | 0 .../examples/deletePolicyDefinition.json | 0 ...letePolicyDefinitionAtManagementGroup.json | 0 .../examples/deletePolicySetDefinition.json | 0 ...ePolicySetDefinitionAtManagementGroup.json | 0 .../getBuiltInPolicySetDefinition.json | 0 .../examples/getBuiltinPolicyDefinition.json | 0 .../examples/getPolicyAssignment.json | 0 .../examples/getPolicyAssignmentById.json | 0 .../getPolicyAssignmentWithIdentity.json | 0 .../getPolicyAssignmentWithIdentityById.json | 0 .../examples/getPolicyDefinition.json | 0 .../getPolicyDefinitionAtManagementGroup.json | 0 .../examples/getPolicySetDefinition.json | 0 ...tPolicySetDefinitionAtManagementGroup.json | 0 .../listBuiltInPolicyDefinitions.json | 0 .../listBuiltInPolicySetDefinitions.json | 0 .../examples/listPolicyAssignments.json | 0 ...stPolicyAssignmentsForManagementGroup.json | 0 .../listPolicyAssignmentsForResource.json | 0 ...listPolicyAssignmentsForResourceGroup.json | 0 .../examples/listPolicyDefinitions.json | 0 ...istPolicyDefinitionsByManagementGroup.json | 0 .../examples/listPolicySetDefinitions.json | 0 ...PolicySetDefinitionsByManagementGroup.json | 0 .../stable/2019-09-01/policyAssignments.json | 0 .../stable/2019-09-01/policyDefinitions.json | 0 .../2019-09-01/policySetDefinitions.json | 0 .../createOrUpdatePolicyDefinition.json | 0 ...rUpdatePolicyDefinitionAdvancedParams.json | 0 ...datePolicyDefinitionAtManagementGroup.json | 0 .../createOrUpdatePolicySetDefinition.json | 0 ...ePolicySetDefinitionAtManagementGroup.json | 0 ...OrUpdatePolicySetDefinitionWithGroups.json | 0 ...DefinitionWithGroupsAtManagementGroup.json | 0 .../examples/createPolicyAssignment.json | 0 .../examples/createPolicyAssignmentById.json | 0 .../createPolicyAssignmentWithIdentity.json | 0 ...reatePolicyAssignmentWithIdentityById.json | 0 ...atePolicyAssignmentWithoutEnforcement.json | 0 .../examples/deletePolicyAssignment.json | 0 .../examples/deletePolicyAssignmentById.json | 0 .../examples/deletePolicyDefinition.json | 0 ...letePolicyDefinitionAtManagementGroup.json | 0 .../examples/deletePolicySetDefinition.json | 0 ...ePolicySetDefinitionAtManagementGroup.json | 0 .../getBuiltInPolicySetDefinition.json | 0 .../examples/getBuiltinPolicyDefinition.json | 0 .../examples/getPolicyAssignment.json | 0 .../examples/getPolicyAssignmentById.json | 0 .../getPolicyAssignmentWithIdentity.json | 0 .../getPolicyAssignmentWithIdentityById.json | 0 .../examples/getPolicyDefinition.json | 0 .../getPolicyDefinitionAtManagementGroup.json | 0 .../examples/getPolicySetDefinition.json | 0 ...tPolicySetDefinitionAtManagementGroup.json | 0 .../listBuiltInPolicyDefinitions.json | 0 .../listBuiltInPolicySetDefinitions.json | 0 .../examples/listPolicyAssignments.json | 0 ...stPolicyAssignmentsForManagementGroup.json | 0 .../listPolicyAssignmentsForResource.json | 0 ...listPolicyAssignmentsForResourceGroup.json | 0 .../examples/listPolicyDefinitions.json | 0 ...istPolicyDefinitionsByManagementGroup.json | 0 .../examples/listPolicySetDefinitions.json | 0 ...PolicySetDefinitionsByManagementGroup.json | 0 .../stable/2020-03-01/policyAssignments.json | 0 .../stable/2020-03-01/policyDefinitions.json | 0 .../2020-03-01/policySetDefinitions.json | 0 .../2020-09-01/dataPolicyManifests.json | 0 .../createOrUpdatePolicyDefinition.json | 0 ...rUpdatePolicyDefinitionAdvancedParams.json | 0 ...datePolicyDefinitionAtManagementGroup.json | 0 .../createOrUpdatePolicySetDefinition.json | 0 ...ePolicySetDefinitionAtManagementGroup.json | 0 ...OrUpdatePolicySetDefinitionWithGroups.json | 0 ...DefinitionWithGroupsAtManagementGroup.json | 0 .../examples/createPolicyAssignment.json | 0 .../examples/createPolicyAssignmentById.json | 0 ...PolicyAssignmentNonComplianceMessages.json | 0 .../createPolicyAssignmentWithIdentity.json | 0 ...reatePolicyAssignmentWithIdentityById.json | 0 ...atePolicyAssignmentWithoutEnforcement.json | 0 .../examples/deletePolicyAssignment.json | 0 .../examples/deletePolicyAssignmentById.json | 0 .../examples/deletePolicyDefinition.json | 0 ...letePolicyDefinitionAtManagementGroup.json | 0 .../examples/deletePolicySetDefinition.json | 0 ...ePolicySetDefinitionAtManagementGroup.json | 0 .../getBuiltInPolicySetDefinition.json | 0 .../examples/getBuiltinPolicyDefinition.json | 0 .../examples/getDataPolicyManifest.json | 0 .../examples/getPolicyAssignment.json | 0 .../examples/getPolicyAssignmentById.json | 0 .../getPolicyAssignmentWithIdentity.json | 0 .../getPolicyAssignmentWithIdentityById.json | 0 .../examples/getPolicyDefinition.json | 0 .../getPolicyDefinitionAtManagementGroup.json | 0 .../examples/getPolicySetDefinition.json | 0 ...tPolicySetDefinitionAtManagementGroup.json | 0 .../listBuiltInPolicyDefinitions.json | 0 .../listBuiltInPolicySetDefinitions.json | 0 .../examples/listDataPolicyManifests.json | 0 ...istDataPolicyManifestsNamespaceFilter.json | 0 .../examples/listPolicyAssignments.json | 0 ...stPolicyAssignmentsForManagementGroup.json | 0 .../listPolicyAssignmentsForResource.json | 0 ...listPolicyAssignmentsForResourceGroup.json | 0 .../examples/listPolicyDefinitions.json | 0 ...istPolicyDefinitionsByManagementGroup.json | 0 .../examples/listPolicySetDefinitions.json | 0 ...PolicySetDefinitionsByManagementGroup.json | 0 .../stable/2020-09-01/policyAssignments.json | 0 .../stable/2020-09-01/policyDefinitions.json | 0 .../2020-09-01/policySetDefinitions.json | 0 .../createOrUpdatePolicyDefinition.json | 0 ...rUpdatePolicyDefinitionAdvancedParams.json | 0 ...datePolicyDefinitionAtManagementGroup.json | 0 .../createOrUpdatePolicySetDefinition.json | 0 ...ePolicySetDefinitionAtManagementGroup.json | 0 ...OrUpdatePolicySetDefinitionWithGroups.json | 0 ...DefinitionWithGroupsAtManagementGroup.json | 0 .../examples/createPolicyAssignment.json | 0 .../examples/createPolicyAssignmentById.json | 0 ...PolicyAssignmentNonComplianceMessages.json | 0 .../createPolicyAssignmentWithIdentity.json | 0 ...reatePolicyAssignmentWithIdentityById.json | 0 ...icyAssignmentWithUserAssignedIdentity.json | 0 ...atePolicyAssignmentWithoutEnforcement.json | 0 .../examples/deletePolicyAssignment.json | 0 .../examples/deletePolicyAssignmentById.json | 0 .../examples/deletePolicyDefinition.json | 0 ...letePolicyDefinitionAtManagementGroup.json | 0 .../examples/deletePolicySetDefinition.json | 0 ...ePolicySetDefinitionAtManagementGroup.json | 0 .../getBuiltInPolicySetDefinition.json | 0 .../examples/getBuiltinPolicyDefinition.json | 0 .../examples/getPolicyAssignment.json | 0 .../examples/getPolicyAssignmentById.json | 0 .../getPolicyAssignmentWithIdentity.json | 0 .../getPolicyAssignmentWithIdentityById.json | 0 ...icyAssignmentWithUserAssignedIdentity.json | 0 .../examples/getPolicyDefinition.json | 0 .../getPolicyDefinitionAtManagementGroup.json | 0 .../examples/getPolicySetDefinition.json | 0 ...tPolicySetDefinitionAtManagementGroup.json | 0 .../listBuiltInPolicyDefinitions.json | 0 .../listBuiltInPolicySetDefinitions.json | 0 .../examples/listPolicyAssignments.json | 0 ...stPolicyAssignmentsForManagementGroup.json | 0 .../listPolicyAssignmentsForResource.json | 0 ...listPolicyAssignmentsForResourceGroup.json | 0 .../examples/listPolicyDefinitions.json | 0 ...istPolicyDefinitionsByManagementGroup.json | 0 .../examples/listPolicySetDefinitions.json | 0 ...PolicySetDefinitionsByManagementGroup.json | 0 .../updatePolicyAssignmentWithIdentity.json | 0 ...pdatePolicyAssignmentWithIdentityById.json | 0 ...icyAssignmentWithUserAssignedIdentity.json | 0 .../stable/2021-06-01/policyAssignments.json | 0 .../stable/2021-06-01/policyDefinitions.json | 0 .../2021-06-01/policySetDefinitions.json | 0 .../stable/2022-06-01/common/v1/types.json | 115 + .../examples/createPolicyAssignment.json | 0 .../examples/createPolicyAssignmentById.json | 0 ...PolicyAssignmentNonComplianceMessages.json | 0 .../createPolicyAssignmentWithIdentity.json | 0 ...reatePolicyAssignmentWithIdentityById.json | 0 .../createPolicyAssignmentWithOverrides.json | 0 ...PolicyAssignmentWithResourceSelectors.json | 0 ...icyAssignmentWithUserAssignedIdentity.json | 0 ...atePolicyAssignmentWithoutEnforcement.json | 0 .../examples/deletePolicyAssignment.json | 0 .../examples/deletePolicyAssignmentById.json | 0 .../examples/getPolicyAssignment.json | 0 .../examples/getPolicyAssignmentById.json | 0 .../getPolicyAssignmentWithIdentity.json | 0 .../getPolicyAssignmentWithIdentityById.json | 0 .../getPolicyAssignmentWithOverrides.json | 0 ...PolicyAssignmentWithResourceSelectors.json | 0 ...icyAssignmentWithUserAssignedIdentity.json | 0 .../examples/listPolicyAssignments.json | 0 ...stPolicyAssignmentsForManagementGroup.json | 0 .../listPolicyAssignmentsForResource.json | 0 ...listPolicyAssignmentsForResourceGroup.json | 0 .../updatePolicyAssignmentWithIdentity.json | 0 ...pdatePolicyAssignmentWithIdentityById.json | 0 .../updatePolicyAssignmentWithOverrides.json | 0 ...PolicyAssignmentWithResourceSelectors.json | 0 ...icyAssignmentWithUserAssignedIdentity.json | 0 .../stable/2022-06-01/policyAssignments.json | 8 +- .../stable/2023-04-01/common/v1/types.json | 115 + .../createOrUpdatePolicyDefinition.json | 0 ...rUpdatePolicyDefinitionAdvancedParams.json | 0 ...datePolicyDefinitionAtManagementGroup.json | 0 ...createOrUpdatePolicyDefinitionVersion.json | 0 ...icyDefinitionVersionAtManagementGroup.json | 0 .../createOrUpdatePolicySetDefinition.json | 0 ...ePolicySetDefinitionAtManagementGroup.json | 0 ...ateOrUpdatePolicySetDefinitionVersion.json | 0 ...SetDefinitionVersionAtManagementGroup.json | 0 ...OrUpdatePolicySetDefinitionWithGroups.json | 0 ...DefinitionWithGroupsAtManagementGroup.json | 0 .../examples/createPolicyAssignment.json | 0 .../examples/createPolicyAssignmentById.json | 0 ...PolicyAssignmentNonComplianceMessages.json | 0 .../createPolicyAssignmentWithIdentity.json | 0 ...reatePolicyAssignmentWithIdentityById.json | 0 .../createPolicyAssignmentWithOverrides.json | 0 ...PolicyAssignmentWithResourceSelectors.json | 0 ...icyAssignmentWithUserAssignedIdentity.json | 0 ...atePolicyAssignmentWithoutEnforcement.json | 0 .../examples/deletePolicyAssignment.json | 0 .../examples/deletePolicyAssignmentById.json | 0 .../examples/deletePolicyDefinition.json | 0 ...letePolicyDefinitionAtManagementGroup.json | 0 .../deletePolicyDefinitionVersion.json | 0 ...icyDefinitionVersionAtManagementGroup.json | 0 .../examples/deletePolicySetDefinition.json | 0 ...ePolicySetDefinitionAtManagementGroup.json | 0 .../deletePolicySetDefinitionVersion.json | 0 ...SetDefinitionVersionAtManagementGroup.json | 0 .../getBuiltInPolicySetDefinition.json | 0 .../getBuiltInPolicySetDefinitionVersion.json | 0 .../examples/getBuiltinPolicyDefinition.json | 0 .../getBuiltinPolicyDefinitionVersion.json | 0 .../examples/getPolicyAssignment.json | 0 .../examples/getPolicyAssignmentById.json | 0 .../getPolicyAssignmentWithIdentity.json | 0 .../getPolicyAssignmentWithIdentityById.json | 0 .../getPolicyAssignmentWithOverrides.json | 0 ...PolicyAssignmentWithResourceSelectors.json | 0 ...icyAssignmentWithUserAssignedIdentity.json | 0 .../examples/getPolicyDefinition.json | 0 .../getPolicyDefinitionAtManagementGroup.json | 0 .../examples/getPolicyDefinitionVersion.json | 0 ...icyDefinitionVersionAtManagementGroup.json | 0 .../examples/getPolicySetDefinition.json | 0 ...tPolicySetDefinitionAtManagementGroup.json | 0 .../getPolicySetDefinitionVersion.json | 0 ...SetDefinitionVersionAtManagementGroup.json | 0 ...istAllBuiltInPolicyDefinitionVersions.json | 0 ...AllBuiltInPolicySetDefinitionVersions.json | 0 .../listAllPolicyDefinitionVersions.json | 0 ...cyDefinitionVersionsByManagementGroup.json | 0 .../listAllPolicySetDefinitionVersions.json | 0 ...etDefinitionVersionsByManagementGroup.json | 0 .../listBuiltInPolicyDefinitionVersions.json | 0 .../listBuiltInPolicyDefinitions.json | 0 ...istBuiltInPolicySetDefinitionVersions.json | 0 .../listBuiltInPolicySetDefinitions.json | 0 .../examples/listPolicyAssignments.json | 0 ...stPolicyAssignmentsForManagementGroup.json | 0 .../listPolicyAssignmentsForResource.json | 0 ...listPolicyAssignmentsForResourceGroup.json | 0 .../listPolicyDefinitionVersions.json | 0 ...cyDefinitionVersionsByManagementGroup.json | 0 .../examples/listPolicyDefinitions.json | 0 ...istPolicyDefinitionsByManagementGroup.json | 0 .../listPolicySetDefinitionVersions.json | 0 ...etDefinitionVersionsByManagementGroup.json | 0 .../examples/listPolicySetDefinitions.json | 0 ...PolicySetDefinitionsByManagementGroup.json | 0 .../updatePolicyAssignmentWithIdentity.json | 0 ...pdatePolicyAssignmentWithIdentityById.json | 0 .../updatePolicyAssignmentWithOverrides.json | 0 ...PolicyAssignmentWithResourceSelectors.json | 0 ...icyAssignmentWithUserAssignedIdentity.json | 0 .../stable/2023-04-01/policyAssignments.json | 8 +- .../2023-04-01/policyDefinitionVersions.json | 0 .../stable/2023-04-01/policyDefinitions.json | 0 .../policySetDefinitionVersions.json | 0 .../2023-04-01/policySetDefinitions.json | 0 .../stable/2024-04-01/common/v1/types.json | 115 + .../examples/createPolicyAssignment.json | 0 .../examples/createPolicyAssignmentById.json | 0 ...PolicyAssignmentNonComplianceMessages.json | 0 .../createPolicyAssignmentWithIdentity.json | 0 ...reatePolicyAssignmentWithIdentityById.json | 0 .../createPolicyAssignmentWithOverrides.json | 0 ...PolicyAssignmentWithResourceSelectors.json | 0 ...icyAssignmentWithUserAssignedIdentity.json | 0 ...atePolicyAssignmentWithoutEnforcement.json | 0 .../examples/deletePolicyAssignment.json | 0 .../examples/deletePolicyAssignmentById.json | 0 .../examples/getPolicyAssignment.json | 0 .../examples/getPolicyAssignmentById.json | 0 .../getPolicyAssignmentWithIdentity.json | 0 .../getPolicyAssignmentWithIdentityById.json | 0 .../getPolicyAssignmentWithOverrides.json | 0 ...PolicyAssignmentWithResourceSelectors.json | 0 ...icyAssignmentWithUserAssignedIdentity.json | 0 .../examples/listPolicyAssignments.json | 0 ...stPolicyAssignmentsForManagementGroup.json | 0 .../listPolicyAssignmentsForResource.json | 0 ...listPolicyAssignmentsForResourceGroup.json | 0 .../updatePolicyAssignmentWithIdentity.json | 0 ...pdatePolicyAssignmentWithIdentityById.json | 0 .../updatePolicyAssignmentWithOverrides.json | 0 ...PolicyAssignmentWithResourceSelectors.json | 0 ...icyAssignmentWithUserAssignedIdentity.json | 0 .../stable/2024-04-01/policyAssignments.json | 8 +- .../stable/2024-05-01}/common/v2/types.json | 0 .../createOrUpdatePolicyDefinition.json | 0 ...rUpdatePolicyDefinitionAdvancedParams.json | 0 ...datePolicyDefinitionAtManagementGroup.json | 0 ...createOrUpdatePolicyDefinitionVersion.json | 0 ...icyDefinitionVersionAtManagementGroup.json | 0 .../createOrUpdatePolicySetDefinition.json | 0 ...ePolicySetDefinitionAtManagementGroup.json | 0 ...ateOrUpdatePolicySetDefinitionVersion.json | 0 ...SetDefinitionVersionAtManagementGroup.json | 0 ...OrUpdatePolicySetDefinitionWithGroups.json | 0 ...DefinitionWithGroupsAtManagementGroup.json | 0 .../examples/createPolicyAssignment.json | 0 .../examples/createPolicyAssignmentById.json | 0 ...PolicyAssignmentNonComplianceMessages.json | 0 .../createPolicyAssignmentWithIdentity.json | 0 ...reatePolicyAssignmentWithIdentityById.json | 0 .../createPolicyAssignmentWithOverrides.json | 0 ...PolicyAssignmentWithResourceSelectors.json | 0 ...icyAssignmentWithUserAssignedIdentity.json | 0 ...atePolicyAssignmentWithoutEnforcement.json | 0 .../examples/deletePolicyAssignment.json | 0 .../examples/deletePolicyAssignmentById.json | 0 .../examples/deletePolicyDefinition.json | 0 ...letePolicyDefinitionAtManagementGroup.json | 0 .../deletePolicyDefinitionVersion.json | 0 ...icyDefinitionVersionAtManagementGroup.json | 0 .../examples/deletePolicySetDefinition.json | 0 ...ePolicySetDefinitionAtManagementGroup.json | 0 .../deletePolicySetDefinitionVersion.json | 0 ...SetDefinitionVersionAtManagementGroup.json | 0 .../getBuiltInPolicySetDefinition.json | 0 .../getBuiltInPolicySetDefinitionVersion.json | 0 .../examples/getBuiltinPolicyDefinition.json | 0 .../getBuiltinPolicyDefinitionVersion.json | 0 .../examples/getPolicyAssignment.json | 0 .../examples/getPolicyAssignmentById.json | 0 .../getPolicyAssignmentWithIdentity.json | 0 .../getPolicyAssignmentWithIdentityById.json | 0 .../getPolicyAssignmentWithOverrides.json | 0 ...PolicyAssignmentWithResourceSelectors.json | 0 ...icyAssignmentWithUserAssignedIdentity.json | 0 .../examples/getPolicyDefinition.json | 0 .../getPolicyDefinitionAtManagementGroup.json | 0 .../examples/getPolicyDefinitionVersion.json | 0 ...icyDefinitionVersionAtManagementGroup.json | 0 .../examples/getPolicySetDefinition.json | 0 ...tPolicySetDefinitionAtManagementGroup.json | 0 .../getPolicySetDefinitionVersion.json | 0 ...SetDefinitionVersionAtManagementGroup.json | 0 ...istAllBuiltInPolicyDefinitionVersions.json | 0 ...AllBuiltInPolicySetDefinitionVersions.json | 0 .../listAllPolicyDefinitionVersions.json | 0 ...cyDefinitionVersionsByManagementGroup.json | 0 .../listAllPolicySetDefinitionVersions.json | 0 ...etDefinitionVersionsByManagementGroup.json | 0 .../listBuiltInPolicyDefinitionVersions.json | 0 .../listBuiltInPolicyDefinitions.json | 0 ...istBuiltInPolicySetDefinitionVersions.json | 0 .../listBuiltInPolicySetDefinitions.json | 0 .../examples/listPolicyAssignments.json | 0 ...stPolicyAssignmentsForManagementGroup.json | 0 .../listPolicyAssignmentsForResource.json | 0 ...listPolicyAssignmentsForResourceGroup.json | 0 .../listPolicyDefinitionVersions.json | 0 ...cyDefinitionVersionsByManagementGroup.json | 0 .../examples/listPolicyDefinitions.json | 0 ...istPolicyDefinitionsByManagementGroup.json | 0 .../listPolicySetDefinitionVersions.json | 0 ...etDefinitionVersionsByManagementGroup.json | 0 .../examples/listPolicySetDefinitions.json | 0 ...PolicySetDefinitionsByManagementGroup.json | 0 .../updatePolicyAssignmentWithIdentity.json | 0 ...pdatePolicyAssignmentWithIdentityById.json | 0 .../updatePolicyAssignmentWithOverrides.json | 0 ...PolicyAssignmentWithResourceSelectors.json | 0 ...icyAssignmentWithUserAssignedIdentity.json | 0 .../stable/2024-05-01/policyAssignments.json | 8 +- .../2024-05-01/policyDefinitionVersions.json | 0 .../stable/2024-05-01/policyDefinitions.json | 0 .../policySetDefinitionVersions.json | 0 .../2024-05-01/policySetDefinitions.json | 0 .../stable/2025-01-01/common/v2/types.json | 120 + .../createOrUpdatePolicyDefinition.json | 0 ...rUpdatePolicyDefinitionAdvancedParams.json | 0 ...datePolicyDefinitionAtManagementGroup.json | 0 ...createOrUpdatePolicyDefinitionVersion.json | 0 ...icyDefinitionVersionAtManagementGroup.json | 0 .../createOrUpdatePolicySetDefinition.json | 0 ...ePolicySetDefinitionAtManagementGroup.json | 0 ...ateOrUpdatePolicySetDefinitionVersion.json | 0 ...SetDefinitionVersionAtManagementGroup.json | 0 ...OrUpdatePolicySetDefinitionWithGroups.json | 0 ...DefinitionWithGroupsAtManagementGroup.json | 0 .../examples/createPolicyAssignment.json | 0 .../examples/createPolicyAssignmentById.json | 0 ...PolicyAssignmentNonComplianceMessages.json | 0 ...PolicyAssignmentWithEnrollEnforcement.json | 0 .../createPolicyAssignmentWithIdentity.json | 0 ...reatePolicyAssignmentWithIdentityById.json | 0 .../createPolicyAssignmentWithOverrides.json | 0 ...PolicyAssignmentWithResourceSelectors.json | 0 ...icyAssignmentWithUserAssignedIdentity.json | 0 ...atePolicyAssignmentWithoutEnforcement.json | 0 .../examples/deletePolicyAssignment.json | 0 .../examples/deletePolicyAssignmentById.json | 0 .../examples/deletePolicyDefinition.json | 0 ...letePolicyDefinitionAtManagementGroup.json | 0 .../deletePolicyDefinitionVersion.json | 0 ...icyDefinitionVersionAtManagementGroup.json | 0 .../examples/deletePolicySetDefinition.json | 0 ...ePolicySetDefinitionAtManagementGroup.json | 0 .../deletePolicySetDefinitionVersion.json | 0 ...SetDefinitionVersionAtManagementGroup.json | 0 .../getBuiltInPolicySetDefinition.json | 0 .../getBuiltInPolicySetDefinitionVersion.json | 0 .../examples/getBuiltinPolicyDefinition.json | 0 .../getBuiltinPolicyDefinitionVersion.json | 0 .../examples/getPolicyAssignment.json | 0 .../examples/getPolicyAssignmentById.json | 0 .../getPolicyAssignmentWithIdentity.json | 0 .../getPolicyAssignmentWithIdentityById.json | 0 .../getPolicyAssignmentWithOverrides.json | 0 ...PolicyAssignmentWithResourceSelectors.json | 0 ...icyAssignmentWithUserAssignedIdentity.json | 0 .../examples/getPolicyDefinition.json | 0 .../getPolicyDefinitionAtManagementGroup.json | 0 .../examples/getPolicyDefinitionVersion.json | 0 ...icyDefinitionVersionAtManagementGroup.json | 0 .../examples/getPolicySetDefinition.json | 0 ...tPolicySetDefinitionAtManagementGroup.json | 0 .../getPolicySetDefinitionVersion.json | 0 ...SetDefinitionVersionAtManagementGroup.json | 0 ...istAllBuiltInPolicyDefinitionVersions.json | 0 ...AllBuiltInPolicySetDefinitionVersions.json | 0 .../listAllPolicyDefinitionVersions.json | 0 ...cyDefinitionVersionsByManagementGroup.json | 0 .../listAllPolicySetDefinitionVersions.json | 0 ...etDefinitionVersionsByManagementGroup.json | 0 .../listBuiltInPolicyDefinitionVersions.json | 0 .../listBuiltInPolicyDefinitions.json | 0 ...istBuiltInPolicySetDefinitionVersions.json | 0 .../listBuiltInPolicySetDefinitions.json | 0 .../examples/listPolicyAssignments.json | 0 ...stPolicyAssignmentsForManagementGroup.json | 0 .../listPolicyAssignmentsForResource.json | 0 ...listPolicyAssignmentsForResourceGroup.json | 0 .../listPolicyDefinitionVersions.json | 0 ...cyDefinitionVersionsByManagementGroup.json | 0 .../examples/listPolicyDefinitions.json | 0 ...istPolicyDefinitionsByManagementGroup.json | 0 .../listPolicySetDefinitionVersions.json | 0 ...etDefinitionVersionsByManagementGroup.json | 0 .../examples/listPolicySetDefinitions.json | 0 ...PolicySetDefinitionsByManagementGroup.json | 0 .../updatePolicyAssignmentWithIdentity.json | 0 ...pdatePolicyAssignmentWithIdentityById.json | 0 .../updatePolicyAssignmentWithOverrides.json | 0 ...PolicyAssignmentWithResourceSelectors.json | 0 ...icyAssignmentWithUserAssignedIdentity.json | 0 .../stable/2025-01-01/policyAssignments.json | 8 +- .../2025-01-01/policyDefinitionVersions.json | 0 .../stable/2025-01-01/policyDefinitions.json | 0 .../policySetDefinitionVersions.json | 0 .../2025-01-01/policySetDefinitions.json | 0 .../stable/2025-03-01/common/v2/types.json | 120 + .../examples/acquirePolicyToken.json | 0 .../acquirePolicyTokenAtManagementGroup.json | 0 .../createOrUpdatePolicyDefinition.json | 0 ...rUpdatePolicyDefinitionAdvancedParams.json | 0 ...datePolicyDefinitionAtManagementGroup.json | 0 ...ExternalEvaluationEnforcementSettings.json | 0 ...createOrUpdatePolicyDefinitionVersion.json | 0 ...icyDefinitionVersionAtManagementGroup.json | 0 .../createOrUpdatePolicySetDefinition.json | 0 ...ePolicySetDefinitionAtManagementGroup.json | 0 ...ateOrUpdatePolicySetDefinitionVersion.json | 0 ...SetDefinitionVersionAtManagementGroup.json | 0 ...OrUpdatePolicySetDefinitionWithGroups.json | 0 ...DefinitionWithGroupsAtManagementGroup.json | 0 .../examples/createPolicyAssignment.json | 0 .../examples/createPolicyAssignmentById.json | 0 ...PolicyAssignmentNonComplianceMessages.json | 0 ...PolicyAssignmentWithEnrollEnforcement.json | 0 .../createPolicyAssignmentWithIdentity.json | 0 ...reatePolicyAssignmentWithIdentityById.json | 0 .../createPolicyAssignmentWithOverrides.json | 0 ...PolicyAssignmentWithResourceSelectors.json | 0 ...icyAssignmentWithUserAssignedIdentity.json | 0 ...atePolicyAssignmentWithoutEnforcement.json | 0 .../examples/deletePolicyAssignment.json | 0 .../examples/deletePolicyAssignmentById.json | 0 .../examples/deletePolicyDefinition.json | 0 ...letePolicyDefinitionAtManagementGroup.json | 0 .../deletePolicyDefinitionVersion.json | 0 ...icyDefinitionVersionAtManagementGroup.json | 0 .../examples/deletePolicySetDefinition.json | 0 ...ePolicySetDefinitionAtManagementGroup.json | 0 .../deletePolicySetDefinitionVersion.json | 0 ...SetDefinitionVersionAtManagementGroup.json | 0 .../getBuiltInPolicySetDefinition.json | 0 .../getBuiltInPolicySetDefinitionVersion.json | 0 .../examples/getBuiltinPolicyDefinition.json | 0 .../getBuiltinPolicyDefinitionVersion.json | 0 .../examples/getPolicyAssignment.json | 0 .../examples/getPolicyAssignmentById.json | 0 .../getPolicyAssignmentWithIdentity.json | 0 .../getPolicyAssignmentWithIdentityById.json | 0 .../getPolicyAssignmentWithOverrides.json | 0 ...PolicyAssignmentWithResourceSelectors.json | 0 ...icyAssignmentWithUserAssignedIdentity.json | 0 .../examples/getPolicyDefinition.json | 0 .../getPolicyDefinitionAtManagementGroup.json | 0 .../examples/getPolicyDefinitionVersion.json | 0 ...icyDefinitionVersionAtManagementGroup.json | 0 .../examples/getPolicySetDefinition.json | 0 ...tPolicySetDefinitionAtManagementGroup.json | 0 .../getPolicySetDefinitionVersion.json | 0 ...SetDefinitionVersionAtManagementGroup.json | 0 ...istAllBuiltInPolicyDefinitionVersions.json | 0 ...AllBuiltInPolicySetDefinitionVersions.json | 0 .../listAllPolicyDefinitionVersions.json | 0 ...cyDefinitionVersionsByManagementGroup.json | 0 .../listAllPolicySetDefinitionVersions.json | 0 ...etDefinitionVersionsByManagementGroup.json | 0 .../listBuiltInPolicyDefinitionVersions.json | 0 .../listBuiltInPolicyDefinitions.json | 0 ...istBuiltInPolicySetDefinitionVersions.json | 0 .../listBuiltInPolicySetDefinitions.json | 0 .../examples/listPolicyAssignments.json | 0 ...stPolicyAssignmentsForManagementGroup.json | 0 .../listPolicyAssignmentsForResource.json | 0 ...listPolicyAssignmentsForResourceGroup.json | 0 .../listPolicyDefinitionVersions.json | 0 ...cyDefinitionVersionsByManagementGroup.json | 0 .../examples/listPolicyDefinitions.json | 0 ...istPolicyDefinitionsByManagementGroup.json | 0 .../listPolicySetDefinitionVersions.json | 0 ...etDefinitionVersionsByManagementGroup.json | 0 .../examples/listPolicySetDefinitions.json | 0 ...PolicySetDefinitionsByManagementGroup.json | 0 .../updatePolicyAssignmentWithIdentity.json | 0 ...pdatePolicyAssignmentWithIdentityById.json | 0 .../updatePolicyAssignmentWithOverrides.json | 0 ...PolicyAssignmentWithResourceSelectors.json | 0 ...icyAssignmentWithUserAssignedIdentity.json | 0 .../stable/2025-03-01/policyAssignments.json | 8 +- .../2025-03-01/policyDefinitionVersions.json | 0 .../stable/2025-03-01/policyDefinitions.json | 0 .../policySetDefinitionVersions.json | 0 .../2025-03-01/policySetDefinitions.json | 0 .../stable/2025-03-01/policyTokens.json | 0 .../policy/suppressions.yaml | 66 + .../privatelinks/readme.md | 88 + .../privatelinks/readme.python.md | 34 + .../DeletePrivateLinkAssociation.json | 0 .../DeleteResourceManagementPrivateLink.json | 0 .../examples/GetPrivateLinkAssociation.json | 0 .../GetResourceManagementPrivateLink.json | 0 .../examples/ListPrivateLinkAssociation.json | 0 ...rceGroupResourceManagementPrivateLink.json | 0 ...criptionResourceManagementPrivateLink.json | 0 .../examples/PutPrivateLinkAssociation.json | 0 .../PutResourceManagementPrivateLink.json | 0 .../stable/2020-05-01/privateLinks.json | 2 +- .../privatelinks/suppressions.yaml | 3 + .../Microsoft.Features/features/readme.go.md | 21 + .../Microsoft.Features/features/readme.md | 88 + .../features/readme.nodejs.md | 22 + .../features/readme.python.md | 34 + .../features/readme.ruby.md | 30 + .../features/readme.terraform.md | 24 + .../features/readme.typescript.md | 19 + .../2015-12-01/examples/getFeature.json | 0 .../examples/listFeaturesOperations.json | 0 .../examples/listProviderFeatures.json | 0 .../examples/listSubscriptionFeatures.json | 0 .../2015-12-01/examples/registerFeature.json | 0 .../examples/unregisterFeature.json | 0 .../stable/2015-12-01/features.json | 0 .../SubscriptionFeatureRegistration.json | 0 ...SubscriptionFeatureRegistrationDELETE.json | 0 .../SubscriptionFeatureRegistrationGET.json | 0 .../SubscriptionFeatureRegistrationLIST.json | 0 ...ubscriptionFeatureRegistrationLISTALL.json | 0 .../SubscriptionFeatureRegistrationPUT.json | 0 .../2021-07-01/examples/getFeature.json | 0 .../examples/listFeaturesOperations.json | 0 .../examples/listProviderFeatures.json | 0 .../examples/listSubscriptionFeatures.json | 0 .../2021-07-01/examples/registerFeature.json | 0 .../examples/unregisterFeature.json | 0 .../stable/2021-07-01/features.json | 0 .../features/suppressions.yaml | 0 .../Microsoft.Resources/bicep}/client.tsp | 0 .../examples/2023-11-01/DecompileBicep.json | 0 .../Microsoft.Resources/bicep}/main.tsp | 0 .../Microsoft.Resources/bicep}/models.tsp | 0 .../Microsoft.Resources/bicep}/routes.tsp | 0 .../bicep/suppressions.yaml | 4 + .../Microsoft.Resources/bicep}/tspconfig.yaml | 5 +- .../preview/2022-03-01-preview/changes.json | 0 .../examples/GetChange.json | 0 .../examples/ListChanges.json | 0 .../preview/2023-03-01-preview/changes.json | 0 .../examples/GetChange.json | 0 .../examples/ListChanges.json | 0 .../preview/2023-07-01-preview/changes.json | 0 .../examples/GetChange.json | 0 .../examples/ListChanges.json | 0 .../preview/2024-06-01-preview/changes.json | 0 .../examples/GetChange.json | 0 .../examples/ListChanges.json | 0 .../changes}/readme.go.md | 0 .../changes}/readme.java.md | 0 .../Microsoft.Resources/changes/readme.md | 130 + .../changes}/readme.nodejs.md | 0 .../changes}/readme.python.md | 0 .../changes}/readme.ruby.md | 0 .../changes}/readme.terraform.md | 0 .../changes}/readme.typescript.md | 0 .../stable/2022-05-01/changes.json | 0 .../stable/2022-05-01/examples/GetChange.json | 0 .../2022-05-01/examples/ListChanges.json | 0 .../databoundaries/readme.go.md | 87 + .../databoundaries/readme.java.md | 60 + .../databoundaries/readme.md | 84 + .../databoundaries/readme.nodejs.md | 59 + .../databoundaries/readme.python.md | 144 + .../databoundaries/readme.ruby.md | 304 ++ .../databoundaries/readme.terraform.md | 50 + .../databoundaries/readme.typescript.md | 159 + .../stable/2024-08-01/dataBoundaries.json | 0 .../examples/GetScopedDataBoundary.json | 0 .../examples/GetTenantDataBoundary.json | 0 .../2024-08-01/examples/Operations_List.json | 0 .../2024-08-01/examples/PutDataBoundary.json | 0 .../deploymentScripts/suppressions.yaml | 6 + .../deploymentStacks}/back-compat.tsp | 0 .../deploymentStacks}/client.tsp | 0 .../DeploymentStackExportTemplate.json | 0 .../DeploymentStackManagementGroupCreate.json | 0 .../DeploymentStackManagementGroupDelete.json | 0 ...entStackManagementGroupExportTemplate.json | 0 .../DeploymentStackManagementGroupGet.json | 0 .../DeploymentStackManagementGroupList.json | 0 .../DeploymentStackResourceGroupCreate.json | 0 .../DeploymentStackResourceGroupDelete.json | 0 .../DeploymentStackResourceGroupGet.json | 0 .../DeploymentStackResourceGroupList.json | 0 .../DeploymentStackSubscriptionCreate.json | 0 .../DeploymentStackSubscriptionDelete.json | 0 ...oymentStackSubscriptionExportTemplate.json | 0 .../DeploymentStackSubscriptionGet.json | 0 .../DeploymentStackSubscriptionList.json | 0 .../DeploymentStackExportTemplate.json | 0 .../DeploymentStackManagementGroupCreate.json | 0 .../DeploymentStackManagementGroupDelete.json | 0 ...entStackManagementGroupExportTemplate.json | 0 .../DeploymentStackManagementGroupGet.json | 0 .../DeploymentStackManagementGroupList.json | 0 ...eploymentStackManagementGroupValidate.json | 0 .../DeploymentStackResourceGroupCreate.json | 0 .../DeploymentStackResourceGroupDelete.json | 0 .../DeploymentStackResourceGroupGet.json | 0 .../DeploymentStackResourceGroupList.json | 0 .../DeploymentStackResourceGroupValidate.json | 0 .../DeploymentStackSubscriptionCreate.json | 0 .../DeploymentStackSubscriptionDelete.json | 0 ...oymentStackSubscriptionExportTemplate.json | 0 .../DeploymentStackSubscriptionGet.json | 0 .../DeploymentStackSubscriptionList.json | 0 .../DeploymentStackSubscriptionValidate.json | 0 .../deploymentStacks}/main.tsp | 0 .../deploymentStacks}/models.tsp | 0 .../deploymentStacks}/routeTypes.tsp | 0 .../deploymentStacks}/routes.tsp | 0 .../deploymentStacks}/sdk-suppressions.yaml | 0 .../deploymentStacks/suppressions.yaml | 5 + .../deploymentStacks}/tspconfig.yaml | 5 +- .../{ => deployments}/suppressions.yaml | 29 +- .../Microsoft.Resources/links/readme.go.md | 87 + .../Microsoft.Resources/links/readme.java.md | 60 + .../Microsoft.Resources/links/readme.md | 72 + .../links/readme.nodejs.md | 59 + .../links/readme.python.md | 144 + .../Microsoft.Resources/links/readme.ruby.md | 304 ++ .../links/readme.terraform.md | 50 + .../links/readme.typescript.md | 159 + .../{ => links}/stable/2016-09-01/links.json | 0 .../resources/readme.go.md | 21 + .../Microsoft.Resources/resources/readme.md | 530 +++ .../resources/readme.nodejs.md | 22 + .../resources/readme.python.md | 34 + .../resources/readme.ruby.md | 63 + .../resources/readme.typescript.md | 39 + .../resources/sdk-suppressions.yaml | 113 + .../examples/CheckResourceName.json | 0 .../examples/PostCheckZonePeers.json | 0 .../stable/2015-11-01/resources.json | 0 .../stable/2016-02-01/resources.json | 0 .../stable/2016-07-01/resources.json | 0 .../stable/2016-09-01/resources.json | 0 .../stable/2017-05-10/resources.json | 0 .../stable/2018-02-01/resources.json | 0 .../examples/CreateResourceGroup.json | 0 .../stable/2018-05-01/resources.json | 0 .../examples/CreateResourceGroup.json | 0 .../examples/ExportResourceGroup.json | 0 .../ExportResourceGroupWithFiltering.json | 0 .../stable/2019-03-01/resources.json | 0 .../examples/CreateResourceGroup.json | 0 .../examples/ExportResourceGroup.json | 0 .../ExportResourceGroupWithFiltering.json | 0 .../stable/2019-05-01/resources.json | 0 .../examples/CreateResourceGroup.json | 0 .../examples/ExportResourceGroup.json | 0 .../ExportResourceGroupWithFiltering.json | 0 .../stable/2019-05-10/resources.json | 0 .../examples/CreateResourceGroup.json | 0 .../examples/ExportResourceGroup.json | 0 .../ExportResourceGroupWithFiltering.json | 0 .../stable/2019-07-01/resources.json | 0 .../examples/CreateResourceGroup.json | 0 .../examples/ExportResourceGroup.json | 0 .../ExportResourceGroupWithFiltering.json | 0 .../stable/2019-08-01/resources.json | 0 .../examples/CreateResourceGroup.json | 0 .../examples/ExportResourceGroup.json | 0 .../ExportResourceGroupWithFiltering.json | 0 .../2019-10-01/examples/GetTagsResource.json | 0 .../examples/GetTagsSubscription.json | 0 .../2019-10-01/examples/PutTagsResource.json | 0 .../examples/PutTagsSubscription.json | 0 .../stable/2019-10-01/resources.json | 0 .../examples/CreateResourceGroup.json | 0 .../examples/ExportResourceGroup.json | 0 .../ExportResourceGroupWithFiltering.json | 0 .../ForceDeleteVMsAndVMSSInResourceGroup.json | 0 .../ForceDeleteVMsInResourceGroup.json | 0 .../examples/GetNamedProviderAtTenant.json | 0 .../2020-06-01/examples/GetTagsResource.json | 0 .../examples/GetTagsSubscription.json | 0 .../2020-06-01/examples/PutTagsResource.json | 0 .../examples/PutTagsSubscription.json | 0 .../stable/2020-06-01/resources.json | 0 .../examples/CreateResourceGroup.json | 0 .../examples/ExportResourceGroup.json | 0 .../ExportResourceGroupWithFiltering.json | 0 .../examples/GetNamedProviderAtTenant.json | 0 .../2020-08-01/examples/GetProvider.json | 0 .../examples/GetProviderResourceTypes.json | 0 .../2020-08-01/examples/GetProviders.json | 0 .../2020-08-01/examples/GetTagsResource.json | 0 .../examples/GetTagsSubscription.json | 0 .../2020-08-01/examples/PutTagsResource.json | 0 .../examples/PutTagsSubscription.json | 0 .../stable/2020-08-01/resources.json | 0 .../examples/CreateResourceGroup.json | 0 .../examples/ExportResourceGroup.json | 0 .../ExportResourceGroupWithFiltering.json | 0 .../examples/GetNamedProviderAtTenant.json | 0 .../2020-10-01/examples/GetProvider.json | 0 .../examples/GetProviderResourceTypes.json | 0 .../2020-10-01/examples/GetProviders.json | 0 .../2020-10-01/examples/GetTagsResource.json | 0 .../examples/GetTagsSubscription.json | 0 .../2020-10-01/examples/PutTagsResource.json | 0 .../examples/PutTagsSubscription.json | 0 .../stable/2020-10-01/resources.json | 0 .../examples/CheckResourceName.json | 0 .../examples/CreateResourceGroup.json | 0 .../examples/ExportResourceGroup.json | 0 .../ExportResourceGroupWithFiltering.json | 0 .../ForceDeleteVMsAndVMSSInResourceGroup.json | 0 .../ForceDeleteVMsInResourceGroup.json | 0 .../2021-01-01/examples/GetLocations.json | 0 .../GetLocationsWithExtendedLocations.json | 0 .../examples/GetNamedProviderAtTenant.json | 0 .../2021-01-01/examples/GetProvider.json | 0 .../examples/GetProviderResourceTypes.json | 0 .../2021-01-01/examples/GetProviders.json | 0 .../2021-01-01/examples/GetSubscription.json | 0 .../2021-01-01/examples/GetSubscriptions.json | 0 .../2021-01-01/examples/GetTagsResource.json | 0 .../examples/GetTagsSubscription.json | 0 .../2021-01-01/examples/GetTenants.json | 0 .../examples/PostCheckZonePeers.json | 0 .../2021-01-01/examples/PutTagsResource.json | 0 .../examples/PutTagsSubscription.json | 0 .../stable/2021-01-01/resources.json | 0 .../stable/2021-01-01/subscriptions.json | 0 .../examples/CreateResourceGroup.json | 0 .../examples/ExportResourceGroup.json | 0 .../ExportResourceGroupWithFiltering.json | 0 .../ForceDeleteVMsAndVMSSInResourceGroup.json | 0 .../ForceDeleteVMsInResourceGroup.json | 0 .../examples/GetNamedProviderAtTenant.json | 0 .../2021-04-01/examples/GetProvider.json | 0 .../examples/GetProviderPermissions.json | 0 .../examples/GetProviderResourceTypes.json | 0 .../2021-04-01/examples/GetProviders.json | 0 .../2021-04-01/examples/GetTagsResource.json | 0 .../examples/GetTagsSubscription.json | 0 .../2021-04-01/examples/PutTagsResource.json | 0 .../examples/PutTagsSubscription.json | 0 .../stable/2021-04-01/resources.json | 0 .../examples/CreateResourceGroup.json | 0 .../examples/DeleteTagsResource.json | 0 .../examples/DeleteTagsSubscription.json | 0 .../examples/ExportResourceGroup.json | 0 .../ExportResourceGroupWithFiltering.json | 0 .../ForceDeleteVMsAndVMSSInResourceGroup.json | 0 .../ForceDeleteVMsInResourceGroup.json | 0 .../examples/GetNamedProviderAtTenant.json | 0 .../2022-09-01/examples/GetProvider.json | 0 .../examples/GetProviderPermissions.json | 0 .../examples/GetProviderResourceTypes.json | 0 .../2022-09-01/examples/GetProviders.json | 0 .../2022-09-01/examples/GetTagsResource.json | 0 .../examples/GetTagsSubscription.json | 0 .../examples/PatchTagsResource.json | 0 .../examples/PatchTagsSubscription.json | 0 .../2022-09-01/examples/PutTagsResource.json | 0 .../examples/PutTagsSubscription.json | 0 .../stable/2022-09-01/resources.json | 0 .../examples/CreateResourceGroup.json | 0 .../examples/DeleteTagsResource.json | 0 .../examples/DeleteTagsSubscription.json | 0 .../examples/ExportResourceGroup.json | 0 .../ExportResourceGroupWithFiltering.json | 0 .../ForceDeleteVMsAndVMSSInResourceGroup.json | 0 .../ForceDeleteVMsInResourceGroup.json | 0 .../examples/GetNamedProviderAtTenant.json | 0 .../2023-07-01/examples/GetProvider.json | 0 .../examples/GetProviderPermissions.json | 0 .../examples/GetProviderResourceTypes.json | 0 .../2023-07-01/examples/GetProviders.json | 0 .../2023-07-01/examples/GetTagsResource.json | 0 .../examples/GetTagsSubscription.json | 0 .../examples/PatchTagsResource.json | 0 .../examples/PatchTagsSubscription.json | 0 .../2023-07-01/examples/PutTagsResource.json | 0 .../examples/PutTagsSubscription.json | 0 .../stable/2023-07-01/resources.json | 0 .../examples/CreateResourceGroup.json | 0 .../examples/DeleteTagsResource.json | 0 .../examples/DeleteTagsSubscription.json | 0 .../examples/ExportResourceGroup.json | 0 .../examples/ExportResourceGroupAsBicep.json | 0 .../ExportResourceGroupWithFiltering.json | 0 .../ForceDeleteVMsAndVMSSInResourceGroup.json | 0 .../ForceDeleteVMsInResourceGroup.json | 0 .../examples/GetNamedProviderAtTenant.json | 0 .../2024-03-01/examples/GetProvider.json | 0 .../examples/GetProviderPermissions.json | 0 .../examples/GetProviderResourceTypes.json | 0 .../2024-03-01/examples/GetProviders.json | 0 .../2024-03-01/examples/GetTagsResource.json | 0 .../examples/GetTagsSubscription.json | 0 .../examples/PatchTagsResource.json | 0 .../examples/PatchTagsSubscription.json | 0 .../2024-03-01/examples/PutTagsResource.json | 0 .../examples/PutTagsSubscription.json | 0 .../stable/2024-03-01/resources.json | 0 .../examples/CreateResourceGroup.json | 0 .../examples/DeleteTagsResource.json | 0 .../examples/DeleteTagsSubscription.json | 0 .../examples/ExportResourceGroup.json | 0 .../examples/ExportResourceGroupAsBicep.json | 0 .../ExportResourceGroupWithFiltering.json | 0 .../ForceDeleteVMsAndVMSSInResourceGroup.json | 0 .../ForceDeleteVMsInResourceGroup.json | 0 .../examples/GetNamedProviderAtTenant.json | 0 .../2024-07-01/examples/GetProvider.json | 0 .../examples/GetProviderPermissions.json | 0 .../examples/GetProviderResourceTypes.json | 0 .../2024-07-01/examples/GetProviders.json | 0 .../2024-07-01/examples/GetTagsResource.json | 0 .../examples/GetTagsSubscription.json | 0 .../examples/PatchTagsResource.json | 0 .../examples/PatchTagsSubscription.json | 0 .../2024-07-01/examples/PutTagsResource.json | 0 .../examples/PutTagsSubscription.json | 0 .../stable/2024-07-01/resources.json | 0 .../examples/CreateResourceGroup.json | 0 .../examples/DeleteTagsResource.json | 0 .../examples/DeleteTagsSubscription.json | 0 .../examples/ExportResourceGroup.json | 0 .../examples/ExportResourceGroupAsBicep.json | 0 .../ExportResourceGroupWithFiltering.json | 0 .../ForceDeleteVMsAndVMSSInResourceGroup.json | 0 .../ForceDeleteVMsInResourceGroup.json | 0 .../examples/GetNamedProviderAtTenant.json | 0 .../2024-11-01/examples/GetProvider.json | 0 .../examples/GetProviderPermissions.json | 0 .../examples/GetProviderResourceTypes.json | 0 .../2024-11-01/examples/GetProviders.json | 0 .../2024-11-01/examples/GetTagsResource.json | 0 .../examples/GetTagsSubscription.json | 0 .../examples/PatchTagsResource.json | 0 .../examples/PatchTagsSubscription.json | 0 .../2024-11-01/examples/PutTagsResource.json | 0 .../examples/PutTagsSubscription.json | 0 .../stable/2024-11-01/resources.json | 0 .../examples/CreateResourceGroup.json | 0 .../examples/DeleteTagsResource.json | 0 .../examples/DeleteTagsSubscription.json | 0 .../examples/ExportResourceGroup.json | 0 .../examples/ExportResourceGroupAsBicep.json | 0 .../ExportResourceGroupWithFiltering.json | 0 .../ForceDeleteVMsAndVMSSInResourceGroup.json | 0 .../ForceDeleteVMsInResourceGroup.json | 0 .../examples/GetNamedProviderAtTenant.json | 0 .../2025-03-01/examples/GetProvider.json | 0 .../examples/GetProviderPermissions.json | 0 .../examples/GetProviderResourceTypes.json | 0 .../2025-03-01/examples/GetProviders.json | 0 .../2025-03-01/examples/GetTagsResource.json | 0 .../examples/GetTagsSubscription.json | 0 .../examples/PatchTagsResource.json | 0 .../examples/PatchTagsSubscription.json | 0 .../2025-03-01/examples/PutTagsResource.json | 0 .../examples/PutTagsSubscription.json | 0 .../stable/2025-03-01/resources.json | 0 .../examples/CreateResourceGroup.json | 0 .../examples/DeleteTagsResource.json | 0 .../examples/DeleteTagsSubscription.json | 0 .../examples/ExportResourceGroup.json | 0 .../examples/ExportResourceGroupAsBicep.json | 0 .../ExportResourceGroupWithFiltering.json | 0 .../ForceDeleteVMsAndVMSSInResourceGroup.json | 0 .../ForceDeleteVMsInResourceGroup.json | 0 .../examples/GetNamedProviderAtTenant.json | 0 .../2025-04-01/examples/GetProvider.json | 0 .../examples/GetProviderPermissions.json | 0 .../examples/GetProviderResourceTypes.json | 0 .../2025-04-01/examples/GetProviders.json | 0 .../2025-04-01/examples/GetTagsResource.json | 0 .../examples/GetTagsSubscription.json | 0 .../examples/PatchTagsResource.json | 0 .../examples/PatchTagsSubscription.json | 0 .../2025-04-01/examples/PutTagsResource.json | 0 .../examples/PutTagsSubscription.json | 0 .../stable/2025-04-01/resources.json | 0 .../examples/GetSnapshot.json | 0 .../examples/ListSnapshots.json | 0 .../preview/2022-11-01-preview/snapshots.json | 0 .../snapshots/readme.go.md | 87 + .../snapshots/readme.java.md | 60 + .../Microsoft.Resources/snapshots/readme.md | 85 + .../snapshots/readme.nodejs.md | 59 + .../snapshots/readme.python.md | 144 + .../snapshots/readme.ruby.md | 304 ++ .../snapshots/readme.terraform.md | 50 + .../snapshots/readme.typescript.md | 159 + .../subscriptions/readme.go.md | 87 + .../subscriptions/readme.java.md | 60 + .../subscriptions/readme.md | 153 + .../subscriptions/readme.nodejs.md | 59 + .../subscriptions/readme.python.md | 144 + .../subscriptions/readme.ruby.md | 304 ++ .../subscriptions/readme.terraform.md | 50 + .../subscriptions/readme.typescript.md | 159 + .../examples/CheckResourceName.json | 20 + .../examples/PostCheckZonePeers.json | 0 .../stable/2015-11-01/subscriptions.json | 0 .../examples/CheckResourceName.json | 0 .../examples/PostCheckZonePeers.json | 0 .../stable/2016-06-01/subscriptions.json | 0 .../examples/CheckResourceName.json | 0 .../examples/PostCheckZonePeers.json | 0 .../stable/2018-06-01/subscriptions.json | 0 .../examples/CheckResourceName.json | 0 .../2019-06-01/examples/GetSubscription.json | 0 .../2019-06-01/examples/GetSubscriptions.json | 0 .../examples/PostCheckZonePeers.json | 0 .../stable/2019-06-01/subscriptions.json | 0 .../examples/CheckResourceName.json | 0 .../2019-11-01/examples/GetLocations.json | 0 .../2019-11-01/examples/GetSubscription.json | 0 .../2019-11-01/examples/GetSubscriptions.json | 0 .../examples/PostCheckZonePeers.json | 0 .../stable/2019-11-01/subscriptions.json | 0 .../examples/CheckResourceName.json | 0 .../2020-01-01/examples/GetLocations.json | 0 .../2020-01-01/examples/GetSubscription.json | 0 .../2020-01-01/examples/GetSubscriptions.json | 0 .../2020-01-01/examples/GetTenants.json | 0 .../examples/PostCheckZonePeers.json | 49 + .../stable/2020-01-01/subscriptions.json | 0 .../examples/CheckResourceName.json | 20 + .../examples/CreateResourceGroup.json | 32 + .../examples/ExportResourceGroup.json | 68 + .../ExportResourceGroupWithFiltering.json | 46 + .../ForceDeleteVMsAndVMSSInResourceGroup.json | 16 + .../ForceDeleteVMsInResourceGroup.json | 16 + .../2021-01-01/examples/GetLocations.json | 54 + .../GetLocationsWithExtendedLocations.json | 83 + .../examples/GetNamedProviderAtTenant.json | 253 ++ .../2021-01-01/examples/GetProvider.json | 51 + .../examples/GetProviderResourceTypes.json | 47 + .../2021-01-01/examples/GetProviders.json | 175 + .../2021-01-01/examples/GetSubscription.json | 32 + .../2021-01-01/examples/GetSubscriptions.json | 61 + .../2021-01-01/examples/GetTagsResource.json | 18 + .../examples/GetTagsSubscription.json | 18 + .../2021-01-01/examples/GetTenants.json | 53 + .../examples/PostCheckZonePeers.json | 49 + .../2021-01-01/examples/PutTagsResource.json | 26 + .../examples/PutTagsSubscription.json | 26 + .../stable/2021-01-01/resources.json | 3084 +++++++++++++++++ .../stable/2021-01-01/subscriptions.json | 847 +++++ .../examples/CheckResourceName.json | 0 .../2022-12-01/examples/GetLocations.json | 0 .../GetLocationsWithExtendedLocations.json | 0 .../2022-12-01/examples/GetSubscription.json | 0 .../2022-12-01/examples/GetSubscriptions.json | 0 .../2022-12-01/examples/GetTenants.json | 0 .../examples/PostCheckZonePeers.json | 0 .../stable/2022-12-01/subscriptions.json | 0 .../templateSpecs/suppressions.yaml | 7 + .../examples/createOrUpdateAppliance.json | 0 .../createOrUpdateApplianceDefinition.json | 0 .../examples/getAppliance.json | 0 .../examples/getApplianceDefinition.json | 0 ...stApplianceDefinitionsByResourceGroup.json | 0 .../listAppliancesByResourceGroup.json | 0 .../managedapplications.json | 0 .../examples/createOrUpdateApplication.json | 0 .../createOrUpdateApplicationDefinition.json | 0 .../examples/deleteApplicationDefinition.json | 0 .../examples/getApplication.json | 0 .../examples/getApplicationDefinition.json | 0 ...ApplicationDefinitionsByResourceGroup.json | 0 .../listApplicationsByResourceGroup.json | 0 .../examples/listSolutionsOperations.json | 0 .../examples/updateApplication.json | 0 .../managedapplications.json | 0 .../managedappliations/readme.go.md | 21 + .../managedappliations/readme.md | 133 + .../managedappliations/readme.nodejs.md | 17 + .../managedappliations/readme.python.md | 34 + .../managedappliations/readme.ruby.md | 52 + .../managedappliations/readme.terraform.md | 32 + .../managedappliations/readme.typescript.md | 19 + .../examples/createOrUpdateApplication.json | 0 .../createOrUpdateApplicationDefinition.json | 0 .../2017-09-01/examples/getApplication.json | 0 .../examples/getApplicationDefinition.json | 0 ...ApplicationDefinitionsByResourceGroup.json | 0 .../listApplicationsByResourceGroup.json | 0 .../2017-09-01/managedapplications.json | 0 .../examples/createOrUpdateApplication.json | 0 .../createOrUpdateApplicationById.json | 0 .../createOrUpdateApplicationDefinition.json | 0 .../examples/deleteApplication.json | 0 .../examples/deleteApplicationById.json | 0 .../examples/deleteApplicationDefinition.json | 0 .../2018-06-01/examples/getApplication.json | 0 .../examples/getApplicationById.json | 0 .../examples/getApplicationDefinition.json | 0 ...ApplicationDefinitionsByResourceGroup.json | 0 .../listApplicationsByResourceGroup.json | 0 .../listApplicationsBySubscription.json | 0 .../examples/listSolutionsOperations.json | 0 .../examples/updateApplication.json | 0 .../examples/updateApplicationById.json | 0 .../2018-06-01/managedapplications.json | 0 .../examples/createOrUpdateApplication.json | 0 .../createOrUpdateApplicationDefinition.json | 0 .../examples/deleteApplicationDefinition.json | 0 .../2019-07-01/examples/getApplication.json | 0 .../examples/getApplicationDefinition.json | 0 ...ApplicationDefinitionsByResourceGroup.json | 0 .../listApplicationsByResourceGroup.json | 0 .../examples/listSolutionsOperations.json | 0 .../examples/updateApplication.json | 0 .../2019-07-01/managedapplications.json | 0 .../managedappliations/suppressions.yaml | 0 .../resources/resource-manager/readme.md | 1437 -------- specification/suppressions.yaml | 2 +- 1395 files changed, 12668 insertions(+), 1556 deletions(-) create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/locks/readme.go.md create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/locks/readme.md create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/locks/readme.nodejs.md create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/locks/readme.python.md create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/locks/readme.ruby.md create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/locks/readme.typescript.md rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2015-01-01/locks.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2016-09-01/examples/ListProviderOperations.json (100%) mode change 100755 => 100644 rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2016-09-01/examples/ManagementLocks_CreateOrUpdateAtResourceGroupLevel.json (100%) mode change 100755 => 100644 rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2016-09-01/examples/ManagementLocks_CreateOrUpdateAtResourceLevel.json (100%) mode change 100755 => 100644 rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2016-09-01/examples/ManagementLocks_CreateOrUpdateAtScope.json (100%) mode change 100755 => 100644 rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2016-09-01/examples/ManagementLocks_CreateOrUpdateAtSubscriptionLevel.json (100%) mode change 100755 => 100644 rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2016-09-01/examples/ManagementLocks_DeleteAtResourceGroupLevel.json (100%) mode change 100755 => 100644 rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2016-09-01/examples/ManagementLocks_DeleteAtResourceLevel.json (100%) mode change 100755 => 100644 rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2016-09-01/examples/ManagementLocks_DeleteAtScope.json (100%) mode change 100755 => 100644 rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2016-09-01/examples/ManagementLocks_DeleteAtSubscriptionLevel.json (100%) mode change 100755 => 100644 rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2016-09-01/examples/ManagementLocks_GetAtResourceGroupLevel.json (100%) mode change 100755 => 100644 rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2016-09-01/examples/ManagementLocks_GetAtResourceLevel.json (100%) mode change 100755 => 100644 rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2016-09-01/examples/ManagementLocks_GetAtScope.json (100%) mode change 100755 => 100644 rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2016-09-01/examples/ManagementLocks_GetAtSubscriptionLevel.json (100%) mode change 100755 => 100644 rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2016-09-01/examples/ManagementLocks_ListAtResourceGroupLevel.json (100%) mode change 100755 => 100644 rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2016-09-01/examples/ManagementLocks_ListAtResourceLevel.json (100%) mode change 100755 => 100644 rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2016-09-01/examples/ManagementLocks_ListAtScope.json (100%) mode change 100755 => 100644 rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2016-09-01/examples/ManagementLocks_ListAtSubscriptionLevel.json (100%) mode change 100755 => 100644 rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2016-09-01/locks.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2017-04-01/examples/ListProviderOperations.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2017-04-01/examples/ManagementLocks_CreateOrUpdateAtResourceGroupLevel.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2017-04-01/examples/ManagementLocks_CreateOrUpdateAtResourceLevel.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2017-04-01/examples/ManagementLocks_CreateOrUpdateAtScope.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2017-04-01/examples/ManagementLocks_CreateOrUpdateAtSubscriptionLevel.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2017-04-01/examples/ManagementLocks_DeleteAtResourceGroupLevel.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2017-04-01/examples/ManagementLocks_DeleteAtResourceLevel.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2017-04-01/examples/ManagementLocks_DeleteAtScope.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2017-04-01/examples/ManagementLocks_DeleteAtSubscriptionLevel.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2017-04-01/examples/ManagementLocks_GetAtResourceGroupLevel.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2017-04-01/examples/ManagementLocks_GetAtResourceLevel.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2017-04-01/examples/ManagementLocks_GetAtScope.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2017-04-01/examples/ManagementLocks_GetAtSubscriptionLevel.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2017-04-01/examples/ManagementLocks_ListAtResourceGroupLevel.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2017-04-01/examples/ManagementLocks_ListAtResourceLevel.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2017-04-01/examples/ManagementLocks_ListAtScope.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2017-04-01/examples/ManagementLocks_ListAtSubscriptionLevel.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2017-04-01/locks.json (95%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2020-05-01/examples/ListProviderOperations.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2020-05-01/examples/ManagementLocks_CreateOrUpdateAtResourceGroupLevel.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2020-05-01/examples/ManagementLocks_CreateOrUpdateAtResourceLevel.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2020-05-01/examples/ManagementLocks_CreateOrUpdateAtScope.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2020-05-01/examples/ManagementLocks_CreateOrUpdateAtSubscriptionLevel.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2020-05-01/examples/ManagementLocks_DeleteAtResourceGroupLevel.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2020-05-01/examples/ManagementLocks_DeleteAtResourceLevel.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2020-05-01/examples/ManagementLocks_DeleteAtScope.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2020-05-01/examples/ManagementLocks_DeleteAtSubscriptionLevel.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2020-05-01/examples/ManagementLocks_GetAtResourceGroupLevel.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2020-05-01/examples/ManagementLocks_GetAtResourceLevel.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2020-05-01/examples/ManagementLocks_GetAtScope.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2020-05-01/examples/ManagementLocks_GetAtSubscriptionLevel.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2020-05-01/examples/ManagementLocks_ListAtResourceGroupLevel.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2020-05-01/examples/ManagementLocks_ListAtResourceLevel.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2020-05-01/examples/ManagementLocks_ListAtScope.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2020-05-01/examples/ManagementLocks_ListAtSubscriptionLevel.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => locks}/stable/2020-05-01/locks.json (90%) create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/locks/suppressions.yaml rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2015-10-01-preview/policy.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2017-06-01-preview/examples/createOrUpdatePolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2017-06-01-preview/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2017-06-01-preview/examples/createPolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2017-06-01-preview/examples/getBuiltInPolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2017-06-01-preview/examples/getPolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2017-06-01-preview/examples/getPolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2017-06-01-preview/examples/getPolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2017-06-01-preview/examples/listBuiltInPolicySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2017-06-01-preview/examples/listPolicyAssignments.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2017-06-01-preview/examples/listPolicySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2017-06-01-preview/examples/listPolicySetDefinitionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2017-06-01-preview/policyAssignments.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2017-06-01-preview/policySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2020-07-01-preview/examples/createOrUpdatePolicyExemption.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2020-07-01-preview/examples/deletePolicyExemption.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2020-07-01-preview/examples/getPolicyExemption.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2020-07-01-preview/examples/listPolicyExemptionsForManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2020-07-01-preview/examples/listPolicyExemptionsForResource.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2020-07-01-preview/examples/listPolicyExemptionsForResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2020-07-01-preview/examples/listPolicyExemptionsForSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2020-07-01-preview/policyExemptions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy/preview/2022-07-01-preview}/common/v1/types.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2022-07-01-preview/examples/createOrUpdatePolicyExemption.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2022-07-01-preview/examples/createOrUpdatePolicyExemptionWithResourceSelectors.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2022-07-01-preview/examples/deletePolicyExemption.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2022-07-01-preview/examples/getPolicyExemption.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2022-07-01-preview/examples/getPolicyExemptionWithResourceSelectors.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2022-07-01-preview/examples/listPolicyExemptionsForManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2022-07-01-preview/examples/listPolicyExemptionsForResource.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2022-07-01-preview/examples/listPolicyExemptionsForResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2022-07-01-preview/examples/listPolicyExemptionsForSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2022-07-01-preview/examples/updatePolicyExemptionWithResourceSelectors.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2022-07-01-preview/policyExemptions.json (99%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2022-08-01-preview/examples/createOrUpdateVariable.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2022-08-01-preview/examples/createOrUpdateVariableAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2022-08-01-preview/examples/createOrUpdateVariableValue.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2022-08-01-preview/examples/createOrUpdateVariableValueAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2022-08-01-preview/examples/deleteVariable.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2022-08-01-preview/examples/deleteVariableAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2022-08-01-preview/examples/deleteVariableValue.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2022-08-01-preview/examples/deleteVariableValueAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2022-08-01-preview/examples/getVariable.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2022-08-01-preview/examples/getVariableAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2022-08-01-preview/examples/getVariableValue.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2022-08-01-preview/examples/getVariableValueAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2022-08-01-preview/examples/listVariableValuesForManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2022-08-01-preview/examples/listVariableValuesForSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2022-08-01-preview/examples/listVariablesForManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2022-08-01-preview/examples/listVariablesForSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2022-08-01-preview/policyVariableValues.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2022-08-01-preview/policyVariables.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy/preview/2024-12-01-preview}/common/v3/types.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2024-12-01-preview/examples/createOrUpdatePolicyExemption.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2024-12-01-preview/examples/createOrUpdatePolicyExemptionWithResourceSelectors.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2024-12-01-preview/examples/createOrUpdateVariable.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2024-12-01-preview/examples/createOrUpdateVariableAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2024-12-01-preview/examples/createOrUpdateVariableValue.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2024-12-01-preview/examples/createOrUpdateVariableValueAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2024-12-01-preview/examples/deletePolicyExemption.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2024-12-01-preview/examples/deleteVariable.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2024-12-01-preview/examples/deleteVariableAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2024-12-01-preview/examples/deleteVariableValue.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2024-12-01-preview/examples/deleteVariableValueAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2024-12-01-preview/examples/getPolicyExemption.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2024-12-01-preview/examples/getPolicyExemptionWithResourceSelectors.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2024-12-01-preview/examples/getVariable.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2024-12-01-preview/examples/getVariableAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2024-12-01-preview/examples/getVariableValue.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2024-12-01-preview/examples/getVariableValueAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2024-12-01-preview/examples/listPolicyExemptionsForManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2024-12-01-preview/examples/listPolicyExemptionsForResource.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2024-12-01-preview/examples/listPolicyExemptionsForResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2024-12-01-preview/examples/listPolicyExemptionsForSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2024-12-01-preview/examples/listVariableValuesForManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2024-12-01-preview/examples/listVariableValuesForSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2024-12-01-preview/examples/listVariablesForManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2024-12-01-preview/examples/listVariablesForSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2024-12-01-preview/examples/updatePolicyExemptionWithResourceSelectors.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2024-12-01-preview/policyExemptions.json (99%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2024-12-01-preview/policyVariableValues.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/preview/2024-12-01-preview/policyVariables.json (100%) create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/policy/readme.go.md create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/policy/readme.java.md create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/policy/readme.md create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/policy/readme.nodejs.md create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/policy/readme.python.md create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/policy/readme.ruby.md create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/policy/readme.terraform.md create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/policy/readme.typescript.md create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/policy/sdk-suppressions.yaml rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2016-04-01/policy.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2016-12-01/policyAssignments.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2016-12-01/policyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-03-01/examples/createOrUpdatePolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-03-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-03-01/examples/createOrUpdatePolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-03-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-03-01/examples/createPolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-03-01/examples/createPolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-03-01/examples/deletePolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-03-01/examples/deletePolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-03-01/examples/deletePolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-03-01/examples/deletePolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-03-01/examples/deletePolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-03-01/examples/deletePolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-03-01/examples/getBuiltInPolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-03-01/examples/getBuiltinPolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-03-01/examples/getPolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-03-01/examples/getPolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-03-01/examples/getPolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-03-01/examples/getPolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-03-01/examples/getPolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-03-01/examples/getPolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-03-01/examples/listBuiltInPolicyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-03-01/examples/listBuiltInPolicySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-03-01/examples/listPolicyAssignments.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-03-01/examples/listPolicyAssignmentsForResource.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-03-01/examples/listPolicyAssignmentsForResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-03-01/examples/listPolicyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-03-01/examples/listPolicyDefinitionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-03-01/examples/listPolicySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-03-01/examples/listPolicySetDefinitionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-03-01/policyAssignments.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-03-01/policyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-03-01/policySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/examples/createOrUpdatePolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/examples/createOrUpdatePolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/examples/createPolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/examples/createPolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/examples/createPolicyAssignmentWithIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/examples/createPolicyAssignmentWithIdentityById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/examples/deletePolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/examples/deletePolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/examples/deletePolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/examples/deletePolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/examples/deletePolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/examples/deletePolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/examples/getBuiltInPolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/examples/getBuiltinPolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/examples/getPolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/examples/getPolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/examples/getPolicyAssignmentWithIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/examples/getPolicyAssignmentWithIdentityById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/examples/getPolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/examples/getPolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/examples/getPolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/examples/getPolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/examples/listBuiltInPolicyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/examples/listBuiltInPolicySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/examples/listPolicyAssignments.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/examples/listPolicyAssignmentsForResource.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/examples/listPolicyAssignmentsForResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/examples/listPolicyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/examples/listPolicyDefinitionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/examples/listPolicySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/examples/listPolicySetDefinitionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/policyAssignments.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/policyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2018-05-01/policySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/examples/createOrUpdatePolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/examples/createOrUpdatePolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/examples/createPolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/examples/createPolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/examples/createPolicyAssignmentWithIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/examples/createPolicyAssignmentWithIdentityById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/examples/deletePolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/examples/deletePolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/examples/deletePolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/examples/deletePolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/examples/deletePolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/examples/deletePolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/examples/getBuiltInPolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/examples/getBuiltinPolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/examples/getPolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/examples/getPolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/examples/getPolicyAssignmentWithIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/examples/getPolicyAssignmentWithIdentityById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/examples/getPolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/examples/getPolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/examples/getPolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/examples/getPolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/examples/listBuiltInPolicyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/examples/listBuiltInPolicySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/examples/listPolicyAssignments.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/examples/listPolicyAssignmentsForResource.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/examples/listPolicyAssignmentsForResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/examples/listPolicyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/examples/listPolicyDefinitionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/examples/listPolicySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/examples/listPolicySetDefinitionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/policyAssignments.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/policyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-01-01/policySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/createOrUpdatePolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/createOrUpdatePolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/createPolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/createPolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/createPolicyAssignmentWithIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/createPolicyAssignmentWithIdentityById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/createPolicyAssignmentWithoutEnforcement.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/deletePolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/deletePolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/deletePolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/deletePolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/deletePolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/deletePolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/getBuiltInPolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/getBuiltinPolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/getPolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/getPolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/getPolicyAssignmentWithIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/getPolicyAssignmentWithIdentityById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/getPolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/getPolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/getPolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/getPolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/listBuiltInPolicyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/listBuiltInPolicySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/listPolicyAssignments.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/listPolicyAssignmentsForResource.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/listPolicyAssignmentsForResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/listPolicyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/listPolicyDefinitionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/listPolicySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/examples/listPolicySetDefinitionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/policyAssignments.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/policyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-06-01/policySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/createOrUpdatePolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/createOrUpdatePolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/createPolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/createPolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/createPolicyAssignmentWithIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/createPolicyAssignmentWithIdentityById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/createPolicyAssignmentWithoutEnforcement.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/deletePolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/deletePolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/deletePolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/deletePolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/deletePolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/deletePolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/getBuiltInPolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/getBuiltinPolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/getPolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/getPolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/getPolicyAssignmentWithIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/getPolicyAssignmentWithIdentityById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/getPolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/getPolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/getPolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/getPolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/listBuiltInPolicyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/listBuiltInPolicySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/listPolicyAssignments.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/listPolicyAssignmentsForManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/listPolicyAssignmentsForResource.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/listPolicyAssignmentsForResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/listPolicyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/listPolicyDefinitionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/listPolicySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/examples/listPolicySetDefinitionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/policyAssignments.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/policyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2019-09-01/policySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/createOrUpdatePolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/createOrUpdatePolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/createPolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/createPolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/createPolicyAssignmentWithIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/createPolicyAssignmentWithIdentityById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/createPolicyAssignmentWithoutEnforcement.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/deletePolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/deletePolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/deletePolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/deletePolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/deletePolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/deletePolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/getBuiltInPolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/getBuiltinPolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/getPolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/getPolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/getPolicyAssignmentWithIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/getPolicyAssignmentWithIdentityById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/getPolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/getPolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/getPolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/getPolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/listBuiltInPolicyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/listBuiltInPolicySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/listPolicyAssignments.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/listPolicyAssignmentsForManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/listPolicyAssignmentsForResource.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/listPolicyAssignmentsForResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/listPolicyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/listPolicyDefinitionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/listPolicySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/examples/listPolicySetDefinitionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/policyAssignments.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/policyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-03-01/policySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/dataPolicyManifests.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/createOrUpdatePolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/createOrUpdatePolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/createPolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/createPolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/createPolicyAssignmentNonComplianceMessages.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/createPolicyAssignmentWithIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/createPolicyAssignmentWithIdentityById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/createPolicyAssignmentWithoutEnforcement.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/deletePolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/deletePolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/deletePolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/deletePolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/deletePolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/deletePolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/getBuiltInPolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/getBuiltinPolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/getDataPolicyManifest.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/getPolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/getPolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/getPolicyAssignmentWithIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/getPolicyAssignmentWithIdentityById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/getPolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/getPolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/getPolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/getPolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/listBuiltInPolicyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/listBuiltInPolicySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/listDataPolicyManifests.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/listDataPolicyManifestsNamespaceFilter.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/listPolicyAssignments.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/listPolicyAssignmentsForManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/listPolicyAssignmentsForResource.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/listPolicyAssignmentsForResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/listPolicyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/listPolicyDefinitionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/listPolicySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/examples/listPolicySetDefinitionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/policyAssignments.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/policyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2020-09-01/policySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/createOrUpdatePolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/createOrUpdatePolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/createPolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/createPolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/createPolicyAssignmentNonComplianceMessages.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/createPolicyAssignmentWithIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/createPolicyAssignmentWithIdentityById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/createPolicyAssignmentWithoutEnforcement.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/deletePolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/deletePolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/deletePolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/deletePolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/deletePolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/deletePolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/getBuiltInPolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/getBuiltinPolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/getPolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/getPolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/getPolicyAssignmentWithIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/getPolicyAssignmentWithIdentityById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/getPolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/getPolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/getPolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/getPolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/listBuiltInPolicyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/listBuiltInPolicySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/listPolicyAssignments.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/listPolicyAssignmentsForManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/listPolicyAssignmentsForResource.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/listPolicyAssignmentsForResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/listPolicyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/listPolicyDefinitionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/listPolicySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/listPolicySetDefinitionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/updatePolicyAssignmentWithIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/updatePolicyAssignmentWithIdentityById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/policyAssignments.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/policyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2021-06-01/policySetDefinitions.json (100%) create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/common/v1/types.json rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2022-06-01/examples/createPolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2022-06-01/examples/createPolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2022-06-01/examples/createPolicyAssignmentNonComplianceMessages.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2022-06-01/examples/createPolicyAssignmentWithIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2022-06-01/examples/createPolicyAssignmentWithIdentityById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2022-06-01/examples/createPolicyAssignmentWithOverrides.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2022-06-01/examples/createPolicyAssignmentWithResourceSelectors.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2022-06-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2022-06-01/examples/createPolicyAssignmentWithoutEnforcement.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2022-06-01/examples/deletePolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2022-06-01/examples/deletePolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2022-06-01/examples/getPolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2022-06-01/examples/getPolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2022-06-01/examples/getPolicyAssignmentWithIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2022-06-01/examples/getPolicyAssignmentWithIdentityById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2022-06-01/examples/getPolicyAssignmentWithOverrides.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2022-06-01/examples/getPolicyAssignmentWithResourceSelectors.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2022-06-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2022-06-01/examples/listPolicyAssignments.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2022-06-01/examples/listPolicyAssignmentsForManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2022-06-01/examples/listPolicyAssignmentsForResource.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2022-06-01/examples/listPolicyAssignmentsForResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2022-06-01/examples/updatePolicyAssignmentWithIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2022-06-01/examples/updatePolicyAssignmentWithIdentityById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2022-06-01/examples/updatePolicyAssignmentWithOverrides.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2022-06-01/examples/updatePolicyAssignmentWithResourceSelectors.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2022-06-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2022-06-01/policyAssignments.json (99%) create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/common/v1/types.json rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/createOrUpdatePolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/createOrUpdatePolicyDefinitionVersion.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/createOrUpdatePolicyDefinitionVersionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/createOrUpdatePolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionVersion.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionVersionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/createPolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/createPolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/createPolicyAssignmentNonComplianceMessages.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/createPolicyAssignmentWithIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/createPolicyAssignmentWithIdentityById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/createPolicyAssignmentWithOverrides.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/createPolicyAssignmentWithResourceSelectors.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/createPolicyAssignmentWithoutEnforcement.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/deletePolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/deletePolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/deletePolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/deletePolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/deletePolicyDefinitionVersion.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/deletePolicyDefinitionVersionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/deletePolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/deletePolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/deletePolicySetDefinitionVersion.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/deletePolicySetDefinitionVersionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/getBuiltInPolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/getBuiltInPolicySetDefinitionVersion.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/getBuiltinPolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/getBuiltinPolicyDefinitionVersion.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/getPolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/getPolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/getPolicyAssignmentWithIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/getPolicyAssignmentWithIdentityById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/getPolicyAssignmentWithOverrides.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/getPolicyAssignmentWithResourceSelectors.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/getPolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/getPolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/getPolicyDefinitionVersion.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/getPolicyDefinitionVersionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/getPolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/getPolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/getPolicySetDefinitionVersion.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/getPolicySetDefinitionVersionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/listAllBuiltInPolicyDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/listAllBuiltInPolicySetDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/listAllPolicyDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/listAllPolicyDefinitionVersionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/listAllPolicySetDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/listAllPolicySetDefinitionVersionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/listBuiltInPolicyDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/listBuiltInPolicyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/listBuiltInPolicySetDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/listBuiltInPolicySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/listPolicyAssignments.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/listPolicyAssignmentsForManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/listPolicyAssignmentsForResource.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/listPolicyAssignmentsForResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/listPolicyDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/listPolicyDefinitionVersionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/listPolicyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/listPolicyDefinitionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/listPolicySetDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/listPolicySetDefinitionVersionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/listPolicySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/listPolicySetDefinitionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/updatePolicyAssignmentWithIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/updatePolicyAssignmentWithIdentityById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/updatePolicyAssignmentWithOverrides.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/updatePolicyAssignmentWithResourceSelectors.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/policyAssignments.json (99%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/policyDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/policyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/policySetDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2023-04-01/policySetDefinitions.json (100%) create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/common/v1/types.json rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-04-01/examples/createPolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-04-01/examples/createPolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-04-01/examples/createPolicyAssignmentNonComplianceMessages.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-04-01/examples/createPolicyAssignmentWithIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-04-01/examples/createPolicyAssignmentWithIdentityById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-04-01/examples/createPolicyAssignmentWithOverrides.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-04-01/examples/createPolicyAssignmentWithResourceSelectors.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-04-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-04-01/examples/createPolicyAssignmentWithoutEnforcement.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-04-01/examples/deletePolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-04-01/examples/deletePolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-04-01/examples/getPolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-04-01/examples/getPolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-04-01/examples/getPolicyAssignmentWithIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-04-01/examples/getPolicyAssignmentWithIdentityById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-04-01/examples/getPolicyAssignmentWithOverrides.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-04-01/examples/getPolicyAssignmentWithResourceSelectors.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-04-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-04-01/examples/listPolicyAssignments.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-04-01/examples/listPolicyAssignmentsForManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-04-01/examples/listPolicyAssignmentsForResource.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-04-01/examples/listPolicyAssignmentsForResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-04-01/examples/updatePolicyAssignmentWithIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-04-01/examples/updatePolicyAssignmentWithIdentityById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-04-01/examples/updatePolicyAssignmentWithOverrides.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-04-01/examples/updatePolicyAssignmentWithResourceSelectors.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-04-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-04-01/policyAssignments.json (99%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy/stable/2024-05-01}/common/v2/types.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/createOrUpdatePolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/createOrUpdatePolicyDefinitionVersion.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/createOrUpdatePolicyDefinitionVersionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/createOrUpdatePolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/createOrUpdatePolicySetDefinitionVersion.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/createOrUpdatePolicySetDefinitionVersionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/createPolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/createPolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/createPolicyAssignmentNonComplianceMessages.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/createPolicyAssignmentWithIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/createPolicyAssignmentWithIdentityById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/createPolicyAssignmentWithOverrides.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/createPolicyAssignmentWithResourceSelectors.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/createPolicyAssignmentWithoutEnforcement.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/deletePolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/deletePolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/deletePolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/deletePolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/deletePolicyDefinitionVersion.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/deletePolicyDefinitionVersionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/deletePolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/deletePolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/deletePolicySetDefinitionVersion.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/deletePolicySetDefinitionVersionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/getBuiltInPolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/getBuiltInPolicySetDefinitionVersion.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/getBuiltinPolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/getBuiltinPolicyDefinitionVersion.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/getPolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/getPolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/getPolicyAssignmentWithIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/getPolicyAssignmentWithIdentityById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/getPolicyAssignmentWithOverrides.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/getPolicyAssignmentWithResourceSelectors.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/getPolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/getPolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/getPolicyDefinitionVersion.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/getPolicyDefinitionVersionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/getPolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/getPolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/getPolicySetDefinitionVersion.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/getPolicySetDefinitionVersionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/listAllBuiltInPolicyDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/listAllBuiltInPolicySetDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/listAllPolicyDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/listAllPolicyDefinitionVersionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/listAllPolicySetDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/listAllPolicySetDefinitionVersionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/listBuiltInPolicyDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/listBuiltInPolicyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/listBuiltInPolicySetDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/listBuiltInPolicySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/listPolicyAssignments.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/listPolicyAssignmentsForManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/listPolicyAssignmentsForResource.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/listPolicyAssignmentsForResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/listPolicyDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/listPolicyDefinitionVersionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/listPolicyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/listPolicyDefinitionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/listPolicySetDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/listPolicySetDefinitionVersionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/listPolicySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/listPolicySetDefinitionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/updatePolicyAssignmentWithIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/updatePolicyAssignmentWithIdentityById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/updatePolicyAssignmentWithOverrides.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/updatePolicyAssignmentWithResourceSelectors.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/policyAssignments.json (99%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/policyDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/policyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/policySetDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2024-05-01/policySetDefinitions.json (100%) create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/common/v2/types.json rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/createOrUpdatePolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/createOrUpdatePolicyDefinitionVersion.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/createOrUpdatePolicyDefinitionVersionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/createOrUpdatePolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/createOrUpdatePolicySetDefinitionVersion.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/createOrUpdatePolicySetDefinitionVersionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/createPolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/createPolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/createPolicyAssignmentNonComplianceMessages.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/createPolicyAssignmentWithEnrollEnforcement.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/createPolicyAssignmentWithIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/createPolicyAssignmentWithIdentityById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/createPolicyAssignmentWithOverrides.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/createPolicyAssignmentWithResourceSelectors.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/createPolicyAssignmentWithoutEnforcement.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/deletePolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/deletePolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/deletePolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/deletePolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/deletePolicyDefinitionVersion.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/deletePolicyDefinitionVersionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/deletePolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/deletePolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/deletePolicySetDefinitionVersion.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/deletePolicySetDefinitionVersionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/getBuiltInPolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/getBuiltInPolicySetDefinitionVersion.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/getBuiltinPolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/getBuiltinPolicyDefinitionVersion.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/getPolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/getPolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/getPolicyAssignmentWithIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/getPolicyAssignmentWithIdentityById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/getPolicyAssignmentWithOverrides.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/getPolicyAssignmentWithResourceSelectors.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/getPolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/getPolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/getPolicyDefinitionVersion.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/getPolicyDefinitionVersionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/getPolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/getPolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/getPolicySetDefinitionVersion.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/getPolicySetDefinitionVersionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/listAllBuiltInPolicyDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/listAllBuiltInPolicySetDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/listAllPolicyDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/listAllPolicyDefinitionVersionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/listAllPolicySetDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/listAllPolicySetDefinitionVersionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/listBuiltInPolicyDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/listBuiltInPolicyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/listBuiltInPolicySetDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/listBuiltInPolicySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/listPolicyAssignments.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/listPolicyAssignmentsForManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/listPolicyAssignmentsForResource.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/listPolicyAssignmentsForResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/listPolicyDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/listPolicyDefinitionVersionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/listPolicyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/listPolicyDefinitionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/listPolicySetDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/listPolicySetDefinitionVersionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/listPolicySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/listPolicySetDefinitionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/updatePolicyAssignmentWithIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/updatePolicyAssignmentWithIdentityById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/updatePolicyAssignmentWithOverrides.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/updatePolicyAssignmentWithResourceSelectors.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/policyAssignments.json (99%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/policyDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/policyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/policySetDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-01-01/policySetDefinitions.json (100%) create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/common/v2/types.json rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/acquirePolicyToken.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/acquirePolicyTokenAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/createOrUpdatePolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/createOrUpdatePolicyDefinitionExternalEvaluationEnforcementSettings.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/createOrUpdatePolicyDefinitionVersion.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/createOrUpdatePolicyDefinitionVersionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/createOrUpdatePolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/createOrUpdatePolicySetDefinitionVersion.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/createOrUpdatePolicySetDefinitionVersionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/createPolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/createPolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/createPolicyAssignmentNonComplianceMessages.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/createPolicyAssignmentWithEnrollEnforcement.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/createPolicyAssignmentWithIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/createPolicyAssignmentWithIdentityById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/createPolicyAssignmentWithOverrides.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/createPolicyAssignmentWithResourceSelectors.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/createPolicyAssignmentWithoutEnforcement.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/deletePolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/deletePolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/deletePolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/deletePolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/deletePolicyDefinitionVersion.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/deletePolicyDefinitionVersionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/deletePolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/deletePolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/deletePolicySetDefinitionVersion.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/deletePolicySetDefinitionVersionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/getBuiltInPolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/getBuiltInPolicySetDefinitionVersion.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/getBuiltinPolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/getBuiltinPolicyDefinitionVersion.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/getPolicyAssignment.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/getPolicyAssignmentById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/getPolicyAssignmentWithIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/getPolicyAssignmentWithIdentityById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/getPolicyAssignmentWithOverrides.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/getPolicyAssignmentWithResourceSelectors.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/getPolicyDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/getPolicyDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/getPolicyDefinitionVersion.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/getPolicyDefinitionVersionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/getPolicySetDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/getPolicySetDefinitionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/getPolicySetDefinitionVersion.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/getPolicySetDefinitionVersionAtManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/listAllBuiltInPolicyDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/listAllBuiltInPolicySetDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/listAllPolicyDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/listAllPolicyDefinitionVersionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/listAllPolicySetDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/listAllPolicySetDefinitionVersionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/listBuiltInPolicyDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/listBuiltInPolicyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/listBuiltInPolicySetDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/listBuiltInPolicySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/listPolicyAssignments.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/listPolicyAssignmentsForManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/listPolicyAssignmentsForResource.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/listPolicyAssignmentsForResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/listPolicyDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/listPolicyDefinitionVersionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/listPolicyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/listPolicyDefinitionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/listPolicySetDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/listPolicySetDefinitionVersionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/listPolicySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/listPolicySetDefinitionsByManagementGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/updatePolicyAssignmentWithIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/updatePolicyAssignmentWithIdentityById.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/updatePolicyAssignmentWithOverrides.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/updatePolicyAssignmentWithResourceSelectors.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/policyAssignments.json (99%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/policyDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/policyDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/policySetDefinitionVersions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/policySetDefinitions.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => policy}/stable/2025-03-01/policyTokens.json (100%) create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/policy/suppressions.yaml create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.md create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.python.md rename specification/resources/resource-manager/Microsoft.Authorization/{ => privatelinks}/stable/2020-05-01/examples/DeletePrivateLinkAssociation.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => privatelinks}/stable/2020-05-01/examples/DeleteResourceManagementPrivateLink.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => privatelinks}/stable/2020-05-01/examples/GetPrivateLinkAssociation.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => privatelinks}/stable/2020-05-01/examples/GetResourceManagementPrivateLink.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => privatelinks}/stable/2020-05-01/examples/ListPrivateLinkAssociation.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => privatelinks}/stable/2020-05-01/examples/ListResourceGroupResourceManagementPrivateLink.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => privatelinks}/stable/2020-05-01/examples/ListSubscriptionResourceManagementPrivateLink.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => privatelinks}/stable/2020-05-01/examples/PutPrivateLinkAssociation.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => privatelinks}/stable/2020-05-01/examples/PutResourceManagementPrivateLink.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/{ => privatelinks}/stable/2020-05-01/privateLinks.json (99%) create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/privatelinks/suppressions.yaml create mode 100644 specification/resources/resource-manager/Microsoft.Features/features/readme.go.md create mode 100644 specification/resources/resource-manager/Microsoft.Features/features/readme.md create mode 100644 specification/resources/resource-manager/Microsoft.Features/features/readme.nodejs.md create mode 100644 specification/resources/resource-manager/Microsoft.Features/features/readme.python.md create mode 100644 specification/resources/resource-manager/Microsoft.Features/features/readme.ruby.md create mode 100644 specification/resources/resource-manager/Microsoft.Features/features/readme.terraform.md create mode 100644 specification/resources/resource-manager/Microsoft.Features/features/readme.typescript.md rename specification/resources/resource-manager/Microsoft.Features/{ => features}/stable/2015-12-01/examples/getFeature.json (100%) rename specification/resources/resource-manager/Microsoft.Features/{ => features}/stable/2015-12-01/examples/listFeaturesOperations.json (100%) rename specification/resources/resource-manager/Microsoft.Features/{ => features}/stable/2015-12-01/examples/listProviderFeatures.json (100%) rename specification/resources/resource-manager/Microsoft.Features/{ => features}/stable/2015-12-01/examples/listSubscriptionFeatures.json (100%) rename specification/resources/resource-manager/Microsoft.Features/{ => features}/stable/2015-12-01/examples/registerFeature.json (100%) rename specification/resources/resource-manager/Microsoft.Features/{ => features}/stable/2015-12-01/examples/unregisterFeature.json (100%) rename specification/resources/resource-manager/Microsoft.Features/{ => features}/stable/2015-12-01/features.json (100%) rename specification/resources/resource-manager/Microsoft.Features/{ => features}/stable/2021-07-01/SubscriptionFeatureRegistration.json (100%) rename specification/resources/resource-manager/Microsoft.Features/{ => features}/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationDELETE.json (100%) rename specification/resources/resource-manager/Microsoft.Features/{ => features}/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationGET.json (100%) rename specification/resources/resource-manager/Microsoft.Features/{ => features}/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationLIST.json (100%) rename specification/resources/resource-manager/Microsoft.Features/{ => features}/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationLISTALL.json (100%) rename specification/resources/resource-manager/Microsoft.Features/{ => features}/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationPUT.json (100%) rename specification/resources/resource-manager/Microsoft.Features/{ => features}/stable/2021-07-01/examples/getFeature.json (100%) rename specification/resources/resource-manager/Microsoft.Features/{ => features}/stable/2021-07-01/examples/listFeaturesOperations.json (100%) rename specification/resources/resource-manager/Microsoft.Features/{ => features}/stable/2021-07-01/examples/listProviderFeatures.json (100%) rename specification/resources/resource-manager/Microsoft.Features/{ => features}/stable/2021-07-01/examples/listSubscriptionFeatures.json (100%) rename specification/resources/resource-manager/Microsoft.Features/{ => features}/stable/2021-07-01/examples/registerFeature.json (100%) rename specification/resources/resource-manager/Microsoft.Features/{ => features}/stable/2021-07-01/examples/unregisterFeature.json (100%) rename specification/resources/resource-manager/Microsoft.Features/{ => features}/stable/2021-07-01/features.json (100%) create mode 100644 specification/resources/resource-manager/Microsoft.Features/features/suppressions.yaml rename specification/resources/{Bicep.Management => resource-manager/Microsoft.Resources/bicep}/client.tsp (100%) rename specification/resources/{Bicep.Management => resource-manager/Microsoft.Resources/bicep}/examples/2023-11-01/DecompileBicep.json (100%) rename specification/resources/{Bicep.Management => resource-manager/Microsoft.Resources/bicep}/main.tsp (100%) rename specification/resources/{Bicep.Management => resource-manager/Microsoft.Resources/bicep}/models.tsp (100%) rename specification/resources/{Bicep.Management => resource-manager/Microsoft.Resources/bicep}/routes.tsp (100%) create mode 100644 specification/resources/resource-manager/Microsoft.Resources/bicep/suppressions.yaml rename specification/resources/{Bicep.Management => resource-manager/Microsoft.Resources/bicep}/tspconfig.yaml (89%) rename specification/resources/resource-manager/Microsoft.Resources/{ => changes}/preview/2022-03-01-preview/changes.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => changes}/preview/2022-03-01-preview/examples/GetChange.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => changes}/preview/2022-03-01-preview/examples/ListChanges.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => changes}/preview/2023-03-01-preview/changes.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => changes}/preview/2023-03-01-preview/examples/GetChange.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => changes}/preview/2023-03-01-preview/examples/ListChanges.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => changes}/preview/2023-07-01-preview/changes.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => changes}/preview/2023-07-01-preview/examples/GetChange.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => changes}/preview/2023-07-01-preview/examples/ListChanges.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => changes}/preview/2024-06-01-preview/changes.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => changes}/preview/2024-06-01-preview/examples/GetChange.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => changes}/preview/2024-06-01-preview/examples/ListChanges.json (100%) rename specification/resources/resource-manager/{ => Microsoft.Resources/changes}/readme.go.md (100%) rename specification/resources/resource-manager/{ => Microsoft.Resources/changes}/readme.java.md (100%) create mode 100644 specification/resources/resource-manager/Microsoft.Resources/changes/readme.md rename specification/resources/resource-manager/{ => Microsoft.Resources/changes}/readme.nodejs.md (100%) rename specification/resources/resource-manager/{ => Microsoft.Resources/changes}/readme.python.md (100%) rename specification/resources/resource-manager/{ => Microsoft.Resources/changes}/readme.ruby.md (100%) rename specification/resources/resource-manager/{ => Microsoft.Resources/changes}/readme.terraform.md (100%) rename specification/resources/resource-manager/{ => Microsoft.Resources/changes}/readme.typescript.md (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => changes}/stable/2022-05-01/changes.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => changes}/stable/2022-05-01/examples/GetChange.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => changes}/stable/2022-05-01/examples/ListChanges.json (100%) create mode 100644 specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.go.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.java.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.nodejs.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.python.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.ruby.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.terraform.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.typescript.md rename specification/resources/resource-manager/Microsoft.Resources/{ => databoundaries}/stable/2024-08-01/dataBoundaries.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => databoundaries}/stable/2024-08-01/examples/GetScopedDataBoundary.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => databoundaries}/stable/2024-08-01/examples/GetTenantDataBoundary.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => databoundaries}/stable/2024-08-01/examples/Operations_List.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => databoundaries}/stable/2024-08-01/examples/PutDataBoundary.json (100%) create mode 100644 specification/resources/resource-manager/Microsoft.Resources/deploymentScripts/suppressions.yaml rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/back-compat.tsp (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/client.tsp (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/examples/2022-08-01-preview/DeploymentStackExportTemplate.json (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/examples/2022-08-01-preview/DeploymentStackManagementGroupCreate.json (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/examples/2022-08-01-preview/DeploymentStackManagementGroupDelete.json (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/examples/2022-08-01-preview/DeploymentStackManagementGroupExportTemplate.json (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/examples/2022-08-01-preview/DeploymentStackManagementGroupGet.json (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/examples/2022-08-01-preview/DeploymentStackManagementGroupList.json (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/examples/2022-08-01-preview/DeploymentStackResourceGroupCreate.json (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/examples/2022-08-01-preview/DeploymentStackResourceGroupDelete.json (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/examples/2022-08-01-preview/DeploymentStackResourceGroupGet.json (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/examples/2022-08-01-preview/DeploymentStackResourceGroupList.json (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/examples/2022-08-01-preview/DeploymentStackSubscriptionCreate.json (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/examples/2022-08-01-preview/DeploymentStackSubscriptionDelete.json (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/examples/2022-08-01-preview/DeploymentStackSubscriptionExportTemplate.json (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/examples/2022-08-01-preview/DeploymentStackSubscriptionGet.json (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/examples/2022-08-01-preview/DeploymentStackSubscriptionList.json (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/examples/2024-03-01/DeploymentStackExportTemplate.json (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/examples/2024-03-01/DeploymentStackManagementGroupCreate.json (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/examples/2024-03-01/DeploymentStackManagementGroupDelete.json (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/examples/2024-03-01/DeploymentStackManagementGroupExportTemplate.json (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/examples/2024-03-01/DeploymentStackManagementGroupGet.json (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/examples/2024-03-01/DeploymentStackManagementGroupList.json (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/examples/2024-03-01/DeploymentStackManagementGroupValidate.json (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/examples/2024-03-01/DeploymentStackResourceGroupCreate.json (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/examples/2024-03-01/DeploymentStackResourceGroupDelete.json (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/examples/2024-03-01/DeploymentStackResourceGroupGet.json (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/examples/2024-03-01/DeploymentStackResourceGroupList.json (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/examples/2024-03-01/DeploymentStackResourceGroupValidate.json (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/examples/2024-03-01/DeploymentStackSubscriptionCreate.json (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/examples/2024-03-01/DeploymentStackSubscriptionDelete.json (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/examples/2024-03-01/DeploymentStackSubscriptionExportTemplate.json (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/examples/2024-03-01/DeploymentStackSubscriptionGet.json (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/examples/2024-03-01/DeploymentStackSubscriptionList.json (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/examples/2024-03-01/DeploymentStackSubscriptionValidate.json (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/main.tsp (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/models.tsp (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/routeTypes.tsp (100%) rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/routes.tsp (100%) rename specification/resources/resource-manager/{ => Microsoft.Resources/deploymentStacks}/sdk-suppressions.yaml (100%) create mode 100644 specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/suppressions.yaml rename specification/resources/{DeploymentStacks.Management => resource-manager/Microsoft.Resources/deploymentStacks}/tspconfig.yaml (90%) rename specification/resources/resource-manager/Microsoft.Resources/{ => deployments}/suppressions.yaml (56%) create mode 100644 specification/resources/resource-manager/Microsoft.Resources/links/readme.go.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/links/readme.java.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/links/readme.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/links/readme.nodejs.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/links/readme.python.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/links/readme.ruby.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/links/readme.terraform.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/links/readme.typescript.md rename specification/resources/resource-manager/Microsoft.Resources/{ => links}/stable/2016-09-01/links.json (100%) create mode 100644 specification/resources/resource-manager/Microsoft.Resources/resources/readme.go.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/resources/readme.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/resources/readme.nodejs.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/resources/readme.python.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/resources/readme.ruby.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/resources/readme.typescript.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/resources/sdk-suppressions.yaml rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2015-11-01/examples/CheckResourceName.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2015-11-01/examples/PostCheckZonePeers.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2015-11-01/resources.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2016-02-01/resources.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2016-07-01/resources.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2016-09-01/resources.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2017-05-10/resources.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2018-02-01/resources.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2018-05-01/examples/CreateResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2018-05-01/resources.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2019-03-01/examples/CreateResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2019-03-01/examples/ExportResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2019-03-01/examples/ExportResourceGroupWithFiltering.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2019-03-01/resources.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2019-05-01/examples/CreateResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2019-05-01/examples/ExportResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2019-05-01/examples/ExportResourceGroupWithFiltering.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2019-05-01/resources.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2019-05-10/examples/CreateResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2019-05-10/examples/ExportResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2019-05-10/examples/ExportResourceGroupWithFiltering.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2019-05-10/resources.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2019-07-01/examples/CreateResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2019-07-01/examples/ExportResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2019-07-01/examples/ExportResourceGroupWithFiltering.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2019-07-01/resources.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2019-08-01/examples/CreateResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2019-08-01/examples/ExportResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2019-08-01/examples/ExportResourceGroupWithFiltering.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2019-08-01/resources.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2019-10-01/examples/CreateResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2019-10-01/examples/ExportResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2019-10-01/examples/ExportResourceGroupWithFiltering.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2019-10-01/examples/GetTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2019-10-01/examples/GetTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2019-10-01/examples/PutTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2019-10-01/examples/PutTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2019-10-01/resources.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-06-01/examples/CreateResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-06-01/examples/ExportResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-06-01/examples/ExportResourceGroupWithFiltering.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-06-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-06-01/examples/ForceDeleteVMsInResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-06-01/examples/GetNamedProviderAtTenant.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-06-01/examples/GetTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-06-01/examples/GetTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-06-01/examples/PutTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-06-01/examples/PutTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-06-01/resources.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-08-01/examples/CreateResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-08-01/examples/ExportResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-08-01/examples/ExportResourceGroupWithFiltering.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-08-01/examples/GetNamedProviderAtTenant.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-08-01/examples/GetProvider.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-08-01/examples/GetProviderResourceTypes.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-08-01/examples/GetProviders.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-08-01/examples/GetTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-08-01/examples/GetTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-08-01/examples/PutTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-08-01/examples/PutTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-08-01/resources.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-10-01/examples/CreateResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-10-01/examples/ExportResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-10-01/examples/ExportResourceGroupWithFiltering.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-10-01/examples/GetNamedProviderAtTenant.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-10-01/examples/GetProvider.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-10-01/examples/GetProviderResourceTypes.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-10-01/examples/GetProviders.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-10-01/examples/GetTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-10-01/examples/GetTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-10-01/examples/PutTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-10-01/examples/PutTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2020-10-01/resources.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-01-01/examples/CheckResourceName.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-01-01/examples/CreateResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-01-01/examples/ExportResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-01-01/examples/ExportResourceGroupWithFiltering.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-01-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-01-01/examples/ForceDeleteVMsInResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-01-01/examples/GetLocations.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-01-01/examples/GetLocationsWithExtendedLocations.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-01-01/examples/GetNamedProviderAtTenant.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-01-01/examples/GetProvider.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-01-01/examples/GetProviderResourceTypes.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-01-01/examples/GetProviders.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-01-01/examples/GetSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-01-01/examples/GetSubscriptions.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-01-01/examples/GetTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-01-01/examples/GetTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-01-01/examples/GetTenants.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{stable/2016-06-01 => resources/stable/2021-01-01}/examples/PostCheckZonePeers.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-01-01/examples/PutTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-01-01/examples/PutTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-01-01/resources.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-01-01/subscriptions.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-04-01/examples/CreateResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-04-01/examples/ExportResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-04-01/examples/ExportResourceGroupWithFiltering.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-04-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-04-01/examples/ForceDeleteVMsInResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-04-01/examples/GetNamedProviderAtTenant.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-04-01/examples/GetProvider.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-04-01/examples/GetProviderPermissions.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-04-01/examples/GetProviderResourceTypes.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-04-01/examples/GetProviders.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-04-01/examples/GetTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-04-01/examples/GetTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-04-01/examples/PutTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-04-01/examples/PutTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2021-04-01/resources.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2022-09-01/examples/CreateResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2022-09-01/examples/DeleteTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2022-09-01/examples/DeleteTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2022-09-01/examples/ExportResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2022-09-01/examples/ExportResourceGroupWithFiltering.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2022-09-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2022-09-01/examples/ForceDeleteVMsInResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2022-09-01/examples/GetNamedProviderAtTenant.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2022-09-01/examples/GetProvider.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2022-09-01/examples/GetProviderPermissions.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2022-09-01/examples/GetProviderResourceTypes.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2022-09-01/examples/GetProviders.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2022-09-01/examples/GetTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2022-09-01/examples/GetTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2022-09-01/examples/PatchTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2022-09-01/examples/PatchTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2022-09-01/examples/PutTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2022-09-01/examples/PutTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2022-09-01/resources.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2023-07-01/examples/CreateResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2023-07-01/examples/DeleteTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2023-07-01/examples/DeleteTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2023-07-01/examples/ExportResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2023-07-01/examples/ExportResourceGroupWithFiltering.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2023-07-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2023-07-01/examples/ForceDeleteVMsInResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2023-07-01/examples/GetNamedProviderAtTenant.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2023-07-01/examples/GetProvider.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2023-07-01/examples/GetProviderPermissions.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2023-07-01/examples/GetProviderResourceTypes.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2023-07-01/examples/GetProviders.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2023-07-01/examples/GetTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2023-07-01/examples/GetTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2023-07-01/examples/PatchTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2023-07-01/examples/PatchTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2023-07-01/examples/PutTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2023-07-01/examples/PutTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2023-07-01/resources.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-03-01/examples/CreateResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-03-01/examples/DeleteTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-03-01/examples/DeleteTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-03-01/examples/ExportResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-03-01/examples/ExportResourceGroupAsBicep.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-03-01/examples/ExportResourceGroupWithFiltering.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-03-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-03-01/examples/ForceDeleteVMsInResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-03-01/examples/GetNamedProviderAtTenant.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-03-01/examples/GetProvider.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-03-01/examples/GetProviderPermissions.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-03-01/examples/GetProviderResourceTypes.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-03-01/examples/GetProviders.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-03-01/examples/GetTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-03-01/examples/GetTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-03-01/examples/PatchTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-03-01/examples/PatchTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-03-01/examples/PutTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-03-01/examples/PutTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-03-01/resources.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-07-01/examples/CreateResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-07-01/examples/DeleteTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-07-01/examples/DeleteTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-07-01/examples/ExportResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-07-01/examples/ExportResourceGroupAsBicep.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-07-01/examples/ExportResourceGroupWithFiltering.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-07-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-07-01/examples/ForceDeleteVMsInResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-07-01/examples/GetNamedProviderAtTenant.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-07-01/examples/GetProvider.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-07-01/examples/GetProviderPermissions.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-07-01/examples/GetProviderResourceTypes.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-07-01/examples/GetProviders.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-07-01/examples/GetTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-07-01/examples/GetTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-07-01/examples/PatchTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-07-01/examples/PatchTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-07-01/examples/PutTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-07-01/examples/PutTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-07-01/resources.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-11-01/examples/CreateResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-11-01/examples/DeleteTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-11-01/examples/DeleteTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-11-01/examples/ExportResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-11-01/examples/ExportResourceGroupAsBicep.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-11-01/examples/ExportResourceGroupWithFiltering.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-11-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-11-01/examples/ForceDeleteVMsInResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-11-01/examples/GetNamedProviderAtTenant.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-11-01/examples/GetProvider.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-11-01/examples/GetProviderPermissions.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-11-01/examples/GetProviderResourceTypes.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-11-01/examples/GetProviders.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-11-01/examples/GetTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-11-01/examples/GetTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-11-01/examples/PatchTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-11-01/examples/PatchTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-11-01/examples/PutTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-11-01/examples/PutTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2024-11-01/resources.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-03-01/examples/CreateResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-03-01/examples/DeleteTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-03-01/examples/DeleteTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-03-01/examples/ExportResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-03-01/examples/ExportResourceGroupAsBicep.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-03-01/examples/ExportResourceGroupWithFiltering.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-03-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-03-01/examples/ForceDeleteVMsInResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-03-01/examples/GetNamedProviderAtTenant.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-03-01/examples/GetProvider.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-03-01/examples/GetProviderPermissions.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-03-01/examples/GetProviderResourceTypes.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-03-01/examples/GetProviders.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-03-01/examples/GetTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-03-01/examples/GetTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-03-01/examples/PatchTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-03-01/examples/PatchTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-03-01/examples/PutTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-03-01/examples/PutTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-03-01/resources.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-04-01/examples/CreateResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-04-01/examples/DeleteTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-04-01/examples/DeleteTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-04-01/examples/ExportResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-04-01/examples/ExportResourceGroupAsBicep.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-04-01/examples/ExportResourceGroupWithFiltering.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-04-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-04-01/examples/ForceDeleteVMsInResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-04-01/examples/GetNamedProviderAtTenant.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-04-01/examples/GetProvider.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-04-01/examples/GetProviderPermissions.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-04-01/examples/GetProviderResourceTypes.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-04-01/examples/GetProviders.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-04-01/examples/GetTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-04-01/examples/GetTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-04-01/examples/PatchTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-04-01/examples/PatchTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-04-01/examples/PutTagsResource.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-04-01/examples/PutTagsSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => resources}/stable/2025-04-01/resources.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => snapshots}/preview/2022-11-01-preview/examples/GetSnapshot.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => snapshots}/preview/2022-11-01-preview/examples/ListSnapshots.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => snapshots}/preview/2022-11-01-preview/snapshots.json (100%) create mode 100644 specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.go.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.java.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.nodejs.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.python.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.ruby.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.terraform.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.typescript.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.go.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.java.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.nodejs.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.python.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.ruby.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.terraform.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.typescript.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2015-11-01/examples/CheckResourceName.json rename specification/resources/resource-manager/Microsoft.Resources/{stable/2018-06-01 => subscriptions/stable/2015-11-01}/examples/PostCheckZonePeers.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => subscriptions}/stable/2015-11-01/subscriptions.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => subscriptions}/stable/2016-06-01/examples/CheckResourceName.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{stable/2019-06-01 => subscriptions/stable/2016-06-01}/examples/PostCheckZonePeers.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => subscriptions}/stable/2016-06-01/subscriptions.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => subscriptions}/stable/2018-06-01/examples/CheckResourceName.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{stable/2019-11-01 => subscriptions/stable/2018-06-01}/examples/PostCheckZonePeers.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => subscriptions}/stable/2018-06-01/subscriptions.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => subscriptions}/stable/2019-06-01/examples/CheckResourceName.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => subscriptions}/stable/2019-06-01/examples/GetSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => subscriptions}/stable/2019-06-01/examples/GetSubscriptions.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{stable/2020-01-01 => subscriptions/stable/2019-06-01}/examples/PostCheckZonePeers.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => subscriptions}/stable/2019-06-01/subscriptions.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => subscriptions}/stable/2019-11-01/examples/CheckResourceName.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => subscriptions}/stable/2019-11-01/examples/GetLocations.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => subscriptions}/stable/2019-11-01/examples/GetSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => subscriptions}/stable/2019-11-01/examples/GetSubscriptions.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{stable/2021-01-01 => subscriptions/stable/2019-11-01}/examples/PostCheckZonePeers.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => subscriptions}/stable/2019-11-01/subscriptions.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => subscriptions}/stable/2020-01-01/examples/CheckResourceName.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => subscriptions}/stable/2020-01-01/examples/GetLocations.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => subscriptions}/stable/2020-01-01/examples/GetSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => subscriptions}/stable/2020-01-01/examples/GetSubscriptions.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => subscriptions}/stable/2020-01-01/examples/GetTenants.json (100%) create mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2020-01-01/examples/PostCheckZonePeers.json rename specification/resources/resource-manager/Microsoft.Resources/{ => subscriptions}/stable/2020-01-01/subscriptions.json (100%) create mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/CheckResourceName.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/CreateResourceGroup.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/ExportResourceGroup.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/ExportResourceGroupWithFiltering.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/ForceDeleteVMsInResourceGroup.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetLocations.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetLocationsWithExtendedLocations.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetNamedProviderAtTenant.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetProvider.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetProviderResourceTypes.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetProviders.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetSubscription.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetSubscriptions.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetTagsResource.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetTagsSubscription.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetTenants.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/PostCheckZonePeers.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/PutTagsResource.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/PutTagsSubscription.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/resources.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/subscriptions.json rename specification/resources/resource-manager/Microsoft.Resources/{ => subscriptions}/stable/2022-12-01/examples/CheckResourceName.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => subscriptions}/stable/2022-12-01/examples/GetLocations.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => subscriptions}/stable/2022-12-01/examples/GetLocationsWithExtendedLocations.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => subscriptions}/stable/2022-12-01/examples/GetSubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => subscriptions}/stable/2022-12-01/examples/GetSubscriptions.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => subscriptions}/stable/2022-12-01/examples/GetTenants.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => subscriptions}/stable/2022-12-01/examples/PostCheckZonePeers.json (100%) rename specification/resources/resource-manager/Microsoft.Resources/{ => subscriptions}/stable/2022-12-01/subscriptions.json (100%) create mode 100644 specification/resources/resource-manager/Microsoft.Resources/templateSpecs/suppressions.yaml rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/preview/2016-09-01-preview/examples/createOrUpdateAppliance.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/preview/2016-09-01-preview/examples/createOrUpdateApplianceDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/preview/2016-09-01-preview/examples/getAppliance.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/preview/2016-09-01-preview/examples/getApplianceDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/preview/2016-09-01-preview/examples/listApplianceDefinitionsByResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/preview/2016-09-01-preview/examples/listAppliancesByResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/preview/2016-09-01-preview/managedapplications.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/preview/2020-08-21-preview/examples/createOrUpdateApplication.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/preview/2020-08-21-preview/examples/createOrUpdateApplicationDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/preview/2020-08-21-preview/examples/deleteApplicationDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/preview/2020-08-21-preview/examples/getApplication.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/preview/2020-08-21-preview/examples/getApplicationDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/preview/2020-08-21-preview/examples/listApplicationDefinitionsByResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/preview/2020-08-21-preview/examples/listApplicationsByResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/preview/2020-08-21-preview/examples/listSolutionsOperations.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/preview/2020-08-21-preview/examples/updateApplication.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/preview/2020-08-21-preview/managedapplications.json (100%) create mode 100644 specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.go.md create mode 100644 specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.md create mode 100644 specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.nodejs.md create mode 100644 specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.python.md create mode 100644 specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.ruby.md create mode 100644 specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.terraform.md create mode 100644 specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.typescript.md rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/stable/2017-09-01/examples/createOrUpdateApplication.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/stable/2017-09-01/examples/createOrUpdateApplicationDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/stable/2017-09-01/examples/getApplication.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/stable/2017-09-01/examples/getApplicationDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/stable/2017-09-01/examples/listApplicationDefinitionsByResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/stable/2017-09-01/examples/listApplicationsByResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/stable/2017-09-01/managedapplications.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/stable/2018-06-01/examples/createOrUpdateApplication.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/stable/2018-06-01/examples/createOrUpdateApplicationById.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/stable/2018-06-01/examples/createOrUpdateApplicationDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/stable/2018-06-01/examples/deleteApplication.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/stable/2018-06-01/examples/deleteApplicationById.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/stable/2018-06-01/examples/deleteApplicationDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/stable/2018-06-01/examples/getApplication.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/stable/2018-06-01/examples/getApplicationById.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/stable/2018-06-01/examples/getApplicationDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/stable/2018-06-01/examples/listApplicationDefinitionsByResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/stable/2018-06-01/examples/listApplicationsByResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/stable/2018-06-01/examples/listApplicationsBySubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/stable/2018-06-01/examples/listSolutionsOperations.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/stable/2018-06-01/examples/updateApplication.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/stable/2018-06-01/examples/updateApplicationById.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/stable/2018-06-01/managedapplications.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/stable/2019-07-01/examples/createOrUpdateApplication.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/stable/2019-07-01/examples/createOrUpdateApplicationDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/stable/2019-07-01/examples/deleteApplicationDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/stable/2019-07-01/examples/getApplication.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/stable/2019-07-01/examples/getApplicationDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/stable/2019-07-01/examples/listApplicationDefinitionsByResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/stable/2019-07-01/examples/listApplicationsByResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/stable/2019-07-01/examples/listSolutionsOperations.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/stable/2019-07-01/examples/updateApplication.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{ => managedappliations}/stable/2019-07-01/managedapplications.json (100%) create mode 100644 specification/resources/resource-manager/Microsoft.Solutions/managedappliations/suppressions.yaml diff --git a/specification/resources/cspell.yaml b/specification/resources/cspell.yaml index bb961cb91f05..47d2268edfd9 100644 --- a/specification/resources/cspell.yaml +++ b/specification/resources/cspell.yaml @@ -21,18 +21,18 @@ words: - unregisters - graalvm overrides: - - filename: '**/specification/resources/resource-manager/Microsoft.Resources/stable/2022-05-01/changes.json' + - filename: '**/specification/resources/resource-manager/Microsoft.Resources/changes/stable/2022-05-01/changes.json' words: - ocurred - - filename: '**/specification/resources/resource-manager/Microsoft.Resources/preview/2022-03-01-preview/changes.json' + - filename: '**/specification/resources/resource-manager/Microsoft.Resources/changes/preview/2022-03-01-preview/changes.json' words: - ocurred - - filename: '**/specification/resources/resource-manager/Microsoft.Resources/preview/2024-06-01-preview/changes.json' + - filename: '**/specification/resources/resource-manager/Microsoft.Resources/changes/preview/2024-06-01-preview/changes.json' words: - ocurred - - filename: '**/specification/resources/resource-manager/Microsoft.Resources/preview/2023-03-01-preview/changes.json' + - filename: '**/specification/resources/resource-manager/Microsoft.Resources/changes/preview/2023-03-01-preview/changes.json' words: - ocurred - - filename: '**/specification/resources/resource-manager/Microsoft.Resources/preview/2023-07-01-preview/changes.json' + - filename: '**/specification/resources/resource-manager/Microsoft.Resources/changes/preview/2023-07-01-preview/changes.json' words: - ocurred diff --git a/specification/resources/resource-manager/Microsoft.Authorization/locks/readme.go.md b/specification/resources/resource-manager/Microsoft.Authorization/locks/readme.go.md new file mode 100644 index 000000000000..340eff9576b2 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/locks/readme.go.md @@ -0,0 +1,21 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +### Fix up regular expressions to support Unicode. + +``` yaml +directive: + from: swagger-document # do it globally + where: $.paths..parameters[?(@.name == "resourceGroupName" || @.name == "sourceResourceGroupName")].pattern + set: ^[-\p{L}\._\(\)\w]+$ + reason: Necessary to match Unicode characters in the Go regexp engine. +``` + +``` yaml $(go) && $(track2) && $(package-locks) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armlocks +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/locks/readme.md b/specification/resources/resource-manager/Microsoft.Authorization/locks/readme.md new file mode 100644 index 000000000000..d7af05d968ae --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/locks/readme.md @@ -0,0 +1,99 @@ +# Locks + +> see https://aka.ms/autorest + +This is the AutoRest configuration file. + +## Getting Started + +To build the SDK for Resource, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: + +> `autorest` + +To see additional help and options, run: + +> `autorest --help` + +--- + +## Configuration + +### Basic Information + +These are the global settings for the Resource API. + +``` yaml +title: LocksClient +description: Locks Client +openapi-type: arm +tag: package-locks-2020-05 +``` + +### Tag: package-locks-2020-05 + +These settings apply only when `--tag=package-locks-2020-05` is specified on the command line. + +``` yaml $(tag) == 'package-locks-2020-05' +input-file: +- stable/2020-05-01/locks.json +``` + +### Tag: package-locks-2017-04 + +These settings apply only when `--tag=package-locks-2017-04` is specified on the command line. + +``` yaml $(tag) == 'package-locks-2017-04' +input-file: +- stable/2017-04-01/locks.json +``` + +### Tag: package-locks-2016-09 + +These settings apply only when `--tag=package-locks-2016-09` is specified on the command line. + +``` yaml $(tag) == 'package-locks-2016-09' +input-file: +- stable/2016-09-01/locks.json +``` + +### Tag: package-locks-2015-01 + +These settings apply only when `--tag=package-locks-2015-01` is specified on the command line. + +``` yaml $(tag) == 'package-locks-2015-01' +input-file: +- stable/2015-01-01/locks.json +``` + +--- + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +``` yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-net + - repo: azure-sdk-for-python + - repo: azure-sdk-for-java + - repo: azure-sdk-for-go + - repo: azure-sdk-for-node + - repo: azure-sdk-for-js + - repo: azure-resource-manager-schemas + - repo: azure-powershell +``` + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## Go + +See configuration in [readme.go.md](./readme.go.md) + +## Java + +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/resources/resource-manager/Microsoft.Authorization/locks/readme.nodejs.md b/specification/resources/resource-manager/Microsoft.Authorization/locks/readme.nodejs.md new file mode 100644 index 000000000000..4639e43d5b10 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/locks/readme.nodejs.md @@ -0,0 +1,22 @@ +## Node.js + +These settings apply only when `--nodejs` is specified on the command line. +Please also specify `--node-sdks-folder=`. + +```yaml $(nodejs) +nodejs: + azure-arm: true + batch: true + package-name: azure-arm-resource + generate-license-txt: true + generate-package-json: false + generate-readme-md: false + output-folder: $(node-sdks-folder)/lib/services/resourceManagement +batch: + - package-locks: true +``` + +```yaml $(nodejs) && $(package-locks) +nodejs: + source-code-folder-path: lib/lock +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/locks/readme.python.md b/specification/resources/resource-manager/Microsoft.Authorization/locks/readme.python.md new file mode 100644 index 000000000000..942921f00c08 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/locks/readme.python.md @@ -0,0 +1,34 @@ +## Python + +These settings apply only when `--python` is specified on the command line. + +``` yaml $(python) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +package-name: azure-mgmt-resource +package-version: 1.0.0b1 +no-namespace-folders: true +reformat-next-link: false +combine-operation-files: true +clear-output-folder: true +modelerfour: + lenient-model-deduplication: true +``` + +### Python batch + +```yaml $(python) +batch: + - tag: package-locks-2016-09 +``` + +### Tag: package-locks-2016-09 and python + +These settings apply only when `--tag=package-locks-2016-09 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-locks-2016-09' +title: ManagementLockClient +namespace: azure.mgmt.resource.locks +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/locks +``` diff --git a/specification/resources/resource-manager/Microsoft.Authorization/locks/readme.ruby.md b/specification/resources/resource-manager/Microsoft.Authorization/locks/readme.ruby.md new file mode 100644 index 000000000000..4191140beba2 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/locks/readme.ruby.md @@ -0,0 +1,30 @@ +### Ruby multi-api for locks + +``` yaml $(multiapi) && $(locks) +package-name: azure_mgmt_locks +package-version: "0.16.0" +azure-arm: true +batch: + - tag: package-locks-2016-09 + - tag: package-locks-2015-01 +``` + +### Tag: package-locks-2016-09 and ruby + +These settings apply only when `--tag=package-locks-2016-09 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-locks-2016-09' && $(ruby) +namespace: "Azure::Locks::Mgmt::V2016_09_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_locks/lib +``` + +### Tag: package-locks-2015-01 and ruby + +These settings apply only when `--tag=package-locks-2015-01 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-locks-2015-01' && $(ruby) +namespace: "Azure::Locks::Mgmt::V2015_01_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_locks/lib +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/locks/readme.typescript.md b/specification/resources/resource-manager/Microsoft.Authorization/locks/readme.typescript.md new file mode 100644 index 000000000000..1a32f2a1b3de --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/locks/readme.typescript.md @@ -0,0 +1,39 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +```yaml $(typescript) && !$(profile-content) +typescript: + azure-arm: true + batch: true + generate-metadata: true +batch: + - package-locks: true +``` + +```yaml $(typescript) && $(package-locks) && !$(profile-content) +typescript: + package-name: "@azure/arm-locks" + output-folder: "$(typescript-sdks-folder)/sdk/locks/arm-locks" +``` + +```yaml $(tag)=='package-locks-2016-09' && $(profile-content)=='profile-hybrid-2019-03-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-locks-profile-2019-03-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/locks/arm-locks-profile-2019-03-01-hybrid" + batch: + - tag: package-locks-2016-09 +``` + +```yaml $(tag)=='package-locks-2016-09' && $(profile-content)=='profile-hybrid-2020-09-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-locks-profile-2020-09-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/locks/arm-locks-profile-2020-09-01-hybrid" + batch: + - tag: package-locks-2016-09 +``` diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2015-01-01/locks.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2015-01-01/locks.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2015-01-01/locks.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2015-01-01/locks.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ListProviderOperations.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ListProviderOperations.json old mode 100755 new mode 100644 similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ListProviderOperations.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ListProviderOperations.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ManagementLocks_CreateOrUpdateAtResourceGroupLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ManagementLocks_CreateOrUpdateAtResourceGroupLevel.json old mode 100755 new mode 100644 similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ManagementLocks_CreateOrUpdateAtResourceGroupLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ManagementLocks_CreateOrUpdateAtResourceGroupLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ManagementLocks_CreateOrUpdateAtResourceLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ManagementLocks_CreateOrUpdateAtResourceLevel.json old mode 100755 new mode 100644 similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ManagementLocks_CreateOrUpdateAtResourceLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ManagementLocks_CreateOrUpdateAtResourceLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ManagementLocks_CreateOrUpdateAtScope.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ManagementLocks_CreateOrUpdateAtScope.json old mode 100755 new mode 100644 similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ManagementLocks_CreateOrUpdateAtScope.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ManagementLocks_CreateOrUpdateAtScope.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ManagementLocks_CreateOrUpdateAtSubscriptionLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ManagementLocks_CreateOrUpdateAtSubscriptionLevel.json old mode 100755 new mode 100644 similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ManagementLocks_CreateOrUpdateAtSubscriptionLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ManagementLocks_CreateOrUpdateAtSubscriptionLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ManagementLocks_DeleteAtResourceGroupLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ManagementLocks_DeleteAtResourceGroupLevel.json old mode 100755 new mode 100644 similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ManagementLocks_DeleteAtResourceGroupLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ManagementLocks_DeleteAtResourceGroupLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ManagementLocks_DeleteAtResourceLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ManagementLocks_DeleteAtResourceLevel.json old mode 100755 new mode 100644 similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ManagementLocks_DeleteAtResourceLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ManagementLocks_DeleteAtResourceLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ManagementLocks_DeleteAtScope.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ManagementLocks_DeleteAtScope.json old mode 100755 new mode 100644 similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ManagementLocks_DeleteAtScope.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ManagementLocks_DeleteAtScope.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ManagementLocks_DeleteAtSubscriptionLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ManagementLocks_DeleteAtSubscriptionLevel.json old mode 100755 new mode 100644 similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ManagementLocks_DeleteAtSubscriptionLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ManagementLocks_DeleteAtSubscriptionLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ManagementLocks_GetAtResourceGroupLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ManagementLocks_GetAtResourceGroupLevel.json old mode 100755 new mode 100644 similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ManagementLocks_GetAtResourceGroupLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ManagementLocks_GetAtResourceGroupLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ManagementLocks_GetAtResourceLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ManagementLocks_GetAtResourceLevel.json old mode 100755 new mode 100644 similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ManagementLocks_GetAtResourceLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ManagementLocks_GetAtResourceLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ManagementLocks_GetAtScope.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ManagementLocks_GetAtScope.json old mode 100755 new mode 100644 similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ManagementLocks_GetAtScope.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ManagementLocks_GetAtScope.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ManagementLocks_GetAtSubscriptionLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ManagementLocks_GetAtSubscriptionLevel.json old mode 100755 new mode 100644 similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ManagementLocks_GetAtSubscriptionLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ManagementLocks_GetAtSubscriptionLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ManagementLocks_ListAtResourceGroupLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ManagementLocks_ListAtResourceGroupLevel.json old mode 100755 new mode 100644 similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ManagementLocks_ListAtResourceGroupLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ManagementLocks_ListAtResourceGroupLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ManagementLocks_ListAtResourceLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ManagementLocks_ListAtResourceLevel.json old mode 100755 new mode 100644 similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ManagementLocks_ListAtResourceLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ManagementLocks_ListAtResourceLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ManagementLocks_ListAtScope.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ManagementLocks_ListAtScope.json old mode 100755 new mode 100644 similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ManagementLocks_ListAtScope.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ManagementLocks_ListAtScope.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ManagementLocks_ListAtSubscriptionLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ManagementLocks_ListAtSubscriptionLevel.json old mode 100755 new mode 100644 similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/examples/ManagementLocks_ListAtSubscriptionLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/examples/ManagementLocks_ListAtSubscriptionLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/locks.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/locks.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/locks.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2016-09-01/locks.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ListProviderOperations.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ListProviderOperations.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ListProviderOperations.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ListProviderOperations.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ManagementLocks_CreateOrUpdateAtResourceGroupLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ManagementLocks_CreateOrUpdateAtResourceGroupLevel.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ManagementLocks_CreateOrUpdateAtResourceGroupLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ManagementLocks_CreateOrUpdateAtResourceGroupLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ManagementLocks_CreateOrUpdateAtResourceLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ManagementLocks_CreateOrUpdateAtResourceLevel.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ManagementLocks_CreateOrUpdateAtResourceLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ManagementLocks_CreateOrUpdateAtResourceLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ManagementLocks_CreateOrUpdateAtScope.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ManagementLocks_CreateOrUpdateAtScope.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ManagementLocks_CreateOrUpdateAtScope.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ManagementLocks_CreateOrUpdateAtScope.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ManagementLocks_CreateOrUpdateAtSubscriptionLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ManagementLocks_CreateOrUpdateAtSubscriptionLevel.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ManagementLocks_CreateOrUpdateAtSubscriptionLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ManagementLocks_CreateOrUpdateAtSubscriptionLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ManagementLocks_DeleteAtResourceGroupLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ManagementLocks_DeleteAtResourceGroupLevel.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ManagementLocks_DeleteAtResourceGroupLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ManagementLocks_DeleteAtResourceGroupLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ManagementLocks_DeleteAtResourceLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ManagementLocks_DeleteAtResourceLevel.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ManagementLocks_DeleteAtResourceLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ManagementLocks_DeleteAtResourceLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ManagementLocks_DeleteAtScope.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ManagementLocks_DeleteAtScope.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ManagementLocks_DeleteAtScope.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ManagementLocks_DeleteAtScope.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ManagementLocks_DeleteAtSubscriptionLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ManagementLocks_DeleteAtSubscriptionLevel.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ManagementLocks_DeleteAtSubscriptionLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ManagementLocks_DeleteAtSubscriptionLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ManagementLocks_GetAtResourceGroupLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ManagementLocks_GetAtResourceGroupLevel.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ManagementLocks_GetAtResourceGroupLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ManagementLocks_GetAtResourceGroupLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ManagementLocks_GetAtResourceLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ManagementLocks_GetAtResourceLevel.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ManagementLocks_GetAtResourceLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ManagementLocks_GetAtResourceLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ManagementLocks_GetAtScope.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ManagementLocks_GetAtScope.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ManagementLocks_GetAtScope.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ManagementLocks_GetAtScope.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ManagementLocks_GetAtSubscriptionLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ManagementLocks_GetAtSubscriptionLevel.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ManagementLocks_GetAtSubscriptionLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ManagementLocks_GetAtSubscriptionLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ManagementLocks_ListAtResourceGroupLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ManagementLocks_ListAtResourceGroupLevel.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ManagementLocks_ListAtResourceGroupLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ManagementLocks_ListAtResourceGroupLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ManagementLocks_ListAtResourceLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ManagementLocks_ListAtResourceLevel.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ManagementLocks_ListAtResourceLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ManagementLocks_ListAtResourceLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ManagementLocks_ListAtScope.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ManagementLocks_ListAtScope.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ManagementLocks_ListAtScope.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ManagementLocks_ListAtScope.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ManagementLocks_ListAtSubscriptionLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ManagementLocks_ListAtSubscriptionLevel.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples/ManagementLocks_ListAtSubscriptionLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/examples/ManagementLocks_ListAtSubscriptionLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/locks.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/locks.json similarity index 95% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/locks.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/locks.json index aea219f7f328..6b047f6a7f0e 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/locks.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2017-04-01/locks.json @@ -56,7 +56,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -128,7 +128,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -180,7 +180,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -231,7 +231,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -293,7 +293,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -338,7 +338,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -383,7 +383,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -482,7 +482,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -564,7 +564,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -645,7 +645,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -704,7 +704,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -746,7 +746,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -787,7 +787,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -840,7 +840,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -927,7 +927,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -974,7 +974,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -1025,7 +1025,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ListProviderOperations.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ListProviderOperations.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ListProviderOperations.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ListProviderOperations.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_CreateOrUpdateAtResourceGroupLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ManagementLocks_CreateOrUpdateAtResourceGroupLevel.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_CreateOrUpdateAtResourceGroupLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ManagementLocks_CreateOrUpdateAtResourceGroupLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_CreateOrUpdateAtResourceLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ManagementLocks_CreateOrUpdateAtResourceLevel.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_CreateOrUpdateAtResourceLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ManagementLocks_CreateOrUpdateAtResourceLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_CreateOrUpdateAtScope.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ManagementLocks_CreateOrUpdateAtScope.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_CreateOrUpdateAtScope.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ManagementLocks_CreateOrUpdateAtScope.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_CreateOrUpdateAtSubscriptionLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ManagementLocks_CreateOrUpdateAtSubscriptionLevel.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_CreateOrUpdateAtSubscriptionLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ManagementLocks_CreateOrUpdateAtSubscriptionLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_DeleteAtResourceGroupLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ManagementLocks_DeleteAtResourceGroupLevel.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_DeleteAtResourceGroupLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ManagementLocks_DeleteAtResourceGroupLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_DeleteAtResourceLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ManagementLocks_DeleteAtResourceLevel.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_DeleteAtResourceLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ManagementLocks_DeleteAtResourceLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_DeleteAtScope.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ManagementLocks_DeleteAtScope.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_DeleteAtScope.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ManagementLocks_DeleteAtScope.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_DeleteAtSubscriptionLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ManagementLocks_DeleteAtSubscriptionLevel.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_DeleteAtSubscriptionLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ManagementLocks_DeleteAtSubscriptionLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_GetAtResourceGroupLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ManagementLocks_GetAtResourceGroupLevel.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_GetAtResourceGroupLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ManagementLocks_GetAtResourceGroupLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_GetAtResourceLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ManagementLocks_GetAtResourceLevel.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_GetAtResourceLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ManagementLocks_GetAtResourceLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_GetAtScope.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ManagementLocks_GetAtScope.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_GetAtScope.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ManagementLocks_GetAtScope.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_GetAtSubscriptionLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ManagementLocks_GetAtSubscriptionLevel.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_GetAtSubscriptionLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ManagementLocks_GetAtSubscriptionLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_ListAtResourceGroupLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ManagementLocks_ListAtResourceGroupLevel.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_ListAtResourceGroupLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ManagementLocks_ListAtResourceGroupLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_ListAtResourceLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ManagementLocks_ListAtResourceLevel.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_ListAtResourceLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ManagementLocks_ListAtResourceLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_ListAtScope.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ManagementLocks_ListAtScope.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_ListAtScope.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ManagementLocks_ListAtScope.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_ListAtSubscriptionLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ManagementLocks_ListAtSubscriptionLevel.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_ListAtSubscriptionLevel.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/examples/ManagementLocks_ListAtSubscriptionLevel.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/locks.json b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/locks.json similarity index 90% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/locks.json rename to specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/locks.json index cdf8070f209c..efddc40b8e12 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/locks.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/locks/stable/2020-05-01/locks.json @@ -43,7 +43,7 @@ "description": "Lists all of the available Microsoft.Authorization REST API operations.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -56,7 +56,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -106,7 +106,7 @@ "description": "The management lock parameters." }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" @@ -128,7 +128,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -164,7 +164,7 @@ "description": "The name of lock to delete." }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" @@ -180,7 +180,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -215,7 +215,7 @@ "description": "The name of the lock to get." }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" @@ -231,7 +231,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -274,7 +274,7 @@ "description": "Create or update management lock parameters." }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -293,7 +293,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -325,7 +325,7 @@ "description": "The name of lock." }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -338,7 +338,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -370,7 +370,7 @@ "description": "The name of lock." }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -383,7 +383,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -460,7 +460,7 @@ "description": "Parameters for creating or updating a management lock." }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" @@ -482,7 +482,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -548,7 +548,7 @@ "description": "The name of the lock to delete." }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" @@ -564,7 +564,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -629,7 +629,7 @@ "description": "The name of lock." }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" @@ -645,7 +645,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -682,7 +682,7 @@ "description": "The management lock parameters." }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" @@ -704,7 +704,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -730,7 +730,7 @@ "description": "The name of lock to delete." }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" @@ -746,7 +746,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -771,7 +771,7 @@ "description": "The name of the lock to get." }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" @@ -787,7 +787,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -824,7 +824,7 @@ "description": "The filter to apply on the operation." }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" @@ -840,7 +840,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -911,7 +911,7 @@ "description": "The filter to apply on the operation." }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" @@ -927,7 +927,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -958,7 +958,7 @@ "description": "The filter to apply on the operation." }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" @@ -974,7 +974,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -1012,7 +1012,7 @@ "description": "The filter to apply on the operation." }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1025,7 +1025,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -1109,7 +1109,7 @@ "description": "The name of the lock." }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", "readOnly": true } }, diff --git a/specification/resources/resource-manager/Microsoft.Authorization/locks/suppressions.yaml b/specification/resources/resource-manager/Microsoft.Authorization/locks/suppressions.yaml new file mode 100644 index 000000000000..0acf31a97de1 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/locks/suppressions.yaml @@ -0,0 +1,12 @@ +- tool: TypeSpecRequirement + path: ./stable/2015-01-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2016-09-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2017-04-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2020-05-01/*.json + reason: Brownfield service not ready to migrate \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2015-10-01-preview/policy.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2015-10-01-preview/policy.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2015-10-01-preview/policy.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2015-10-01-preview/policy.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/createOrUpdatePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2017-06-01-preview/examples/createOrUpdatePolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/createOrUpdatePolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2017-06-01-preview/examples/createOrUpdatePolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2017-06-01-preview/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2017-06-01-preview/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/createPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2017-06-01-preview/examples/createPolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/createPolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2017-06-01-preview/examples/createPolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/getBuiltInPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2017-06-01-preview/examples/getBuiltInPolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/getBuiltInPolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2017-06-01-preview/examples/getBuiltInPolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/getPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2017-06-01-preview/examples/getPolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/getPolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2017-06-01-preview/examples/getPolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/getPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2017-06-01-preview/examples/getPolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/getPolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2017-06-01-preview/examples/getPolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/getPolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2017-06-01-preview/examples/getPolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/getPolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2017-06-01-preview/examples/getPolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/listBuiltInPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2017-06-01-preview/examples/listBuiltInPolicySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/listBuiltInPolicySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2017-06-01-preview/examples/listBuiltInPolicySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/listPolicyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2017-06-01-preview/examples/listPolicyAssignments.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/listPolicyAssignments.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2017-06-01-preview/examples/listPolicyAssignments.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/listPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2017-06-01-preview/examples/listPolicySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/listPolicySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2017-06-01-preview/examples/listPolicySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/listPolicySetDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2017-06-01-preview/examples/listPolicySetDefinitionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/examples/listPolicySetDefinitionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2017-06-01-preview/examples/listPolicySetDefinitionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2017-06-01-preview/policyAssignments.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/policyAssignments.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2017-06-01-preview/policyAssignments.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2017-06-01-preview/policySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2017-06-01-preview/policySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2017-06-01-preview/policySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples/createOrUpdatePolicyExemption.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2020-07-01-preview/examples/createOrUpdatePolicyExemption.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples/createOrUpdatePolicyExemption.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2020-07-01-preview/examples/createOrUpdatePolicyExemption.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples/deletePolicyExemption.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2020-07-01-preview/examples/deletePolicyExemption.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples/deletePolicyExemption.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2020-07-01-preview/examples/deletePolicyExemption.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples/getPolicyExemption.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2020-07-01-preview/examples/getPolicyExemption.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples/getPolicyExemption.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2020-07-01-preview/examples/getPolicyExemption.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples/listPolicyExemptionsForManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2020-07-01-preview/examples/listPolicyExemptionsForManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples/listPolicyExemptionsForManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2020-07-01-preview/examples/listPolicyExemptionsForManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples/listPolicyExemptionsForResource.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2020-07-01-preview/examples/listPolicyExemptionsForResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples/listPolicyExemptionsForResource.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2020-07-01-preview/examples/listPolicyExemptionsForResource.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples/listPolicyExemptionsForResourceGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2020-07-01-preview/examples/listPolicyExemptionsForResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples/listPolicyExemptionsForResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2020-07-01-preview/examples/listPolicyExemptionsForResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples/listPolicyExemptionsForSubscription.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2020-07-01-preview/examples/listPolicyExemptionsForSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples/listPolicyExemptionsForSubscription.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2020-07-01-preview/examples/listPolicyExemptionsForSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/policyExemptions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2020-07-01-preview/policyExemptions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/policyExemptions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2020-07-01-preview/policyExemptions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/common/v1/types.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/common/v1/types.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/common/v1/types.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/common/v1/types.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2022-07-01-preview/examples/createOrUpdatePolicyExemption.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/examples/createOrUpdatePolicyExemption.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2022-07-01-preview/examples/createOrUpdatePolicyExemption.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/examples/createOrUpdatePolicyExemption.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2022-07-01-preview/examples/createOrUpdatePolicyExemptionWithResourceSelectors.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/examples/createOrUpdatePolicyExemptionWithResourceSelectors.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2022-07-01-preview/examples/createOrUpdatePolicyExemptionWithResourceSelectors.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/examples/createOrUpdatePolicyExemptionWithResourceSelectors.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2022-07-01-preview/examples/deletePolicyExemption.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/examples/deletePolicyExemption.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2022-07-01-preview/examples/deletePolicyExemption.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/examples/deletePolicyExemption.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2022-07-01-preview/examples/getPolicyExemption.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/examples/getPolicyExemption.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2022-07-01-preview/examples/getPolicyExemption.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/examples/getPolicyExemption.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2022-07-01-preview/examples/getPolicyExemptionWithResourceSelectors.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/examples/getPolicyExemptionWithResourceSelectors.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2022-07-01-preview/examples/getPolicyExemptionWithResourceSelectors.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/examples/getPolicyExemptionWithResourceSelectors.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2022-07-01-preview/examples/listPolicyExemptionsForManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/examples/listPolicyExemptionsForManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2022-07-01-preview/examples/listPolicyExemptionsForManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/examples/listPolicyExemptionsForManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2022-07-01-preview/examples/listPolicyExemptionsForResource.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/examples/listPolicyExemptionsForResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2022-07-01-preview/examples/listPolicyExemptionsForResource.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/examples/listPolicyExemptionsForResource.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2022-07-01-preview/examples/listPolicyExemptionsForResourceGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/examples/listPolicyExemptionsForResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2022-07-01-preview/examples/listPolicyExemptionsForResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/examples/listPolicyExemptionsForResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2022-07-01-preview/examples/listPolicyExemptionsForSubscription.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/examples/listPolicyExemptionsForSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2022-07-01-preview/examples/listPolicyExemptionsForSubscription.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/examples/listPolicyExemptionsForSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2022-07-01-preview/examples/updatePolicyExemptionWithResourceSelectors.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/examples/updatePolicyExemptionWithResourceSelectors.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2022-07-01-preview/examples/updatePolicyExemptionWithResourceSelectors.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/examples/updatePolicyExemptionWithResourceSelectors.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2022-07-01-preview/policyExemptions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/policyExemptions.json similarity index 99% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2022-07-01-preview/policyExemptions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/policyExemptions.json index 72fe5048991c..76578d40794c 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/preview/2022-07-01-preview/policyExemptions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/policyExemptions.json @@ -498,7 +498,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "../../common/v1/types.json#/definitions/ResourceSelector" + "$ref": "./common/v1/types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [ "name" @@ -591,7 +591,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "../../common/v1/types.json#/definitions/ResourceSelector" + "$ref": "./common/v1/types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [], "description": "The resource selector list to filter policies by resource properties." diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/examples/createOrUpdateVariable.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/examples/createOrUpdateVariable.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/examples/createOrUpdateVariable.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/examples/createOrUpdateVariable.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/examples/createOrUpdateVariableAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/examples/createOrUpdateVariableAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/examples/createOrUpdateVariableAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/examples/createOrUpdateVariableAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/examples/createOrUpdateVariableValue.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/examples/createOrUpdateVariableValue.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/examples/createOrUpdateVariableValue.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/examples/createOrUpdateVariableValue.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/examples/createOrUpdateVariableValueAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/examples/createOrUpdateVariableValueAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/examples/createOrUpdateVariableValueAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/examples/createOrUpdateVariableValueAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/examples/deleteVariable.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/examples/deleteVariable.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/examples/deleteVariable.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/examples/deleteVariable.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/examples/deleteVariableAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/examples/deleteVariableAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/examples/deleteVariableAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/examples/deleteVariableAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/examples/deleteVariableValue.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/examples/deleteVariableValue.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/examples/deleteVariableValue.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/examples/deleteVariableValue.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/examples/deleteVariableValueAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/examples/deleteVariableValueAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/examples/deleteVariableValueAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/examples/deleteVariableValueAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/examples/getVariable.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/examples/getVariable.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/examples/getVariable.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/examples/getVariable.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/examples/getVariableAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/examples/getVariableAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/examples/getVariableAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/examples/getVariableAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/examples/getVariableValue.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/examples/getVariableValue.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/examples/getVariableValue.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/examples/getVariableValue.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/examples/getVariableValueAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/examples/getVariableValueAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/examples/getVariableValueAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/examples/getVariableValueAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/examples/listVariableValuesForManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/examples/listVariableValuesForManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/examples/listVariableValuesForManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/examples/listVariableValuesForManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/examples/listVariableValuesForSubscription.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/examples/listVariableValuesForSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/examples/listVariableValuesForSubscription.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/examples/listVariableValuesForSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/examples/listVariablesForManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/examples/listVariablesForManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/examples/listVariablesForManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/examples/listVariablesForManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/examples/listVariablesForSubscription.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/examples/listVariablesForSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/examples/listVariablesForSubscription.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/examples/listVariablesForSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/policyVariableValues.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/policyVariableValues.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/policyVariableValues.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/policyVariableValues.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/policyVariables.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/policyVariables.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2022-08-01-preview/policyVariables.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/policyVariables.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/common/v3/types.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/common/v3/types.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/common/v3/types.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/common/v3/types.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/createOrUpdatePolicyExemption.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/createOrUpdatePolicyExemption.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/createOrUpdatePolicyExemption.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/createOrUpdatePolicyExemption.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/createOrUpdatePolicyExemptionWithResourceSelectors.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/createOrUpdatePolicyExemptionWithResourceSelectors.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/createOrUpdatePolicyExemptionWithResourceSelectors.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/createOrUpdatePolicyExemptionWithResourceSelectors.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/createOrUpdateVariable.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/createOrUpdateVariable.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/createOrUpdateVariable.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/createOrUpdateVariable.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/createOrUpdateVariableAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/createOrUpdateVariableAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/createOrUpdateVariableAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/createOrUpdateVariableAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/createOrUpdateVariableValue.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/createOrUpdateVariableValue.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/createOrUpdateVariableValue.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/createOrUpdateVariableValue.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/createOrUpdateVariableValueAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/createOrUpdateVariableValueAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/createOrUpdateVariableValueAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/createOrUpdateVariableValueAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/deletePolicyExemption.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/deletePolicyExemption.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/deletePolicyExemption.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/deletePolicyExemption.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/deleteVariable.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/deleteVariable.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/deleteVariable.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/deleteVariable.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/deleteVariableAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/deleteVariableAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/deleteVariableAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/deleteVariableAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/deleteVariableValue.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/deleteVariableValue.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/deleteVariableValue.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/deleteVariableValue.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/deleteVariableValueAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/deleteVariableValueAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/deleteVariableValueAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/deleteVariableValueAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/getPolicyExemption.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/getPolicyExemption.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/getPolicyExemption.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/getPolicyExemption.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/getPolicyExemptionWithResourceSelectors.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/getPolicyExemptionWithResourceSelectors.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/getPolicyExemptionWithResourceSelectors.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/getPolicyExemptionWithResourceSelectors.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/getVariable.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/getVariable.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/getVariable.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/getVariable.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/getVariableAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/getVariableAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/getVariableAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/getVariableAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/getVariableValue.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/getVariableValue.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/getVariableValue.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/getVariableValue.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/getVariableValueAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/getVariableValueAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/getVariableValueAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/getVariableValueAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/listPolicyExemptionsForManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/listPolicyExemptionsForManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/listPolicyExemptionsForManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/listPolicyExemptionsForManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/listPolicyExemptionsForResource.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/listPolicyExemptionsForResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/listPolicyExemptionsForResource.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/listPolicyExemptionsForResource.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/listPolicyExemptionsForResourceGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/listPolicyExemptionsForResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/listPolicyExemptionsForResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/listPolicyExemptionsForResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/listPolicyExemptionsForSubscription.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/listPolicyExemptionsForSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/listPolicyExemptionsForSubscription.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/listPolicyExemptionsForSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/listVariableValuesForManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/listVariableValuesForManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/listVariableValuesForManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/listVariableValuesForManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/listVariableValuesForSubscription.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/listVariableValuesForSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/listVariableValuesForSubscription.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/listVariableValuesForSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/listVariablesForManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/listVariablesForManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/listVariablesForManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/listVariablesForManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/listVariablesForSubscription.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/listVariablesForSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/listVariablesForSubscription.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/listVariablesForSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/updatePolicyExemptionWithResourceSelectors.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/updatePolicyExemptionWithResourceSelectors.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/examples/updatePolicyExemptionWithResourceSelectors.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/examples/updatePolicyExemptionWithResourceSelectors.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/policyExemptions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/policyExemptions.json similarity index 99% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/policyExemptions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/policyExemptions.json index a67f6e52d388..44f96e82c472 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/policyExemptions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/policyExemptions.json @@ -498,7 +498,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "../../common/v3/types.json#/definitions/ResourceSelector" + "$ref": "./common/v3/types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [ "name" @@ -591,7 +591,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "../../common/v3/types.json#/definitions/ResourceSelector" + "$ref": "./common/v3/types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [], "description": "The resource selector list to filter policies by resource properties." diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/policyVariableValues.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/policyVariableValues.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/policyVariableValues.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/policyVariableValues.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/policyVariables.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/policyVariables.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/preview/2024-12-01-preview/policyVariables.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/policyVariables.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/readme.go.md b/specification/resources/resource-manager/Microsoft.Authorization/policy/readme.go.md new file mode 100644 index 000000000000..e93d4890038f --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/readme.go.md @@ -0,0 +1,21 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +### Fix up regular expressions to support Unicode. + +``` yaml +directive: + from: swagger-document # do it globally + where: $.paths..parameters[?(@.name == "resourceGroupName" || @.name == "sourceResourceGroupName")].pattern + set: ^[-\p{L}\._\(\)\w]+$ + reason: Necessary to match Unicode characters in the Go regexp engine. +``` + +``` yaml $(go) && $(track2) && $(package-policy) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armpolicy +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/readme.java.md b/specification/resources/resource-manager/Microsoft.Authorization/policy/readme.java.md new file mode 100644 index 000000000000..6c6549c7a847 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/readme.java.md @@ -0,0 +1,60 @@ +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +enable-sync-stack: false + +directive: + - rename-operation: + from: Tags_DeleteValue + to: TagOperations_DeleteValue + - rename-operation: + from: Tags_CreateOrUpdateValue + to: TagOperations_CreateOrUpdateValue + - rename-operation: + from: Tags_CreateOrUpdate + to: TagOperations_CreateOrUpdate + - rename-operation: + from: Tags_Delete + to: TagOperations_Delete + - rename-operation: + from: Tags_DeleteValue + to: TagOperations_DeleteValue + - rename-operation: + from: Tags_List + to: TagOperations_List + - rename-operation: + from: Tags_CreateOrUpdateAtScope + to: TagOperations_CreateOrUpdateAtScope + - rename-operation: + from: Tags_UpdateAtScope + to: TagOperations_UpdateAtScope + - rename-operation: + from: Tags_GetAtScope + to: TagOperations_GetAtScope + - rename-operation: + from: Tags_DeleteAtScope + to: TagOperations_DeleteAtScope +``` + +``` yaml $(tag) == 'package-policy-2022-06-java' +input-file: +- stable/2020-09-01/dataPolicyManifests.json +- stable/2021-06-01/policyDefinitions.json +- stable/2021-06-01/policySetDefinitions.json +- stable/2022-06-01/policyAssignments.json +- preview/2022-07-01-preview/policyExemptions.json +``` + +``` yaml $(tag) == 'package-policy-2023-04-java' +input-file: +- stable/2020-09-01/dataPolicyManifests.json +- stable/2023-04-01/policyDefinitions.json +- stable/2023-04-01/policyDefinitionVersions.json +- stable/2023-04-01/policySetDefinitions.json +- stable/2023-04-01/policySetDefinitionVersions.json +- stable/2023-04-01/policyAssignments.json +- preview/2022-07-01-preview/policyExemptions.json +``` diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/readme.md b/specification/resources/resource-manager/Microsoft.Authorization/policy/readme.md new file mode 100644 index 000000000000..c1207d330447 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/readme.md @@ -0,0 +1,693 @@ +# Policy + +> see https://aka.ms/autorest + +This is the AutoRest configuration file. + +## Getting Started + +To build the SDK for Resource, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: + +> `autorest` + +To see additional help and options, run: + +> `autorest --help` + +--- + +## Configuration + +### Basic Information + +These are the global settings for the Resource API. + +``` yaml +title: PolicyClient +description: Policy Client +openapi-type: arm +tag: package-policy-2025-03-stable +``` + +### Tag: package-policy-2025-03-stable + +These settings apply only when `--tag=package-policy-2025-03-stable` is specified on the command line. + +```yaml $(tag) == 'package-policy-2025-03-stable' +input-file: + - stable/2025-03-01/policyAssignments.json + - stable/2025-03-01/policyDefinitions.json + - stable/2025-03-01/policyDefinitionVersions.json + - stable/2025-03-01/policySetDefinitions.json + - stable/2025-03-01/policySetDefinitionVersions.json + - stable/2025-03-01/policyTokens.json + +# Needed when there is more than one input file +override-info: + title: PolicyClient +``` + +### Tag: package-policy-2025-01 + +These settings apply only when `--tag=package-policy-2025-01` is specified on the command line. + +```yaml $(tag) == 'package-policy-2025-01' +input-file: +- stable/2025-01-01/policyDefinitions.json +- stable/2025-01-01/policyDefinitionVersions.json +- stable/2025-01-01/policySetDefinitions.json +- stable/2025-01-01/policySetDefinitionVersions.json +- stable/2025-01-01/policyAssignments.json + +# Needed when there is more than one input file +override-info: + title: PolicyClient +``` + +### Tag: package-policy-2024-12-preview + +These settings apply only when `--tag=package-policy-2024-12-preview` is specified on the command line. + +```yaml $(tag) == 'package-policy-2024-12-preview' +input-file: +- preview/2024-12-01-preview/policyExemptions.json +- preview/2024-12-01-preview/policyVariables.json +- preview/2024-12-01-preview/policyVariableValues.json + +# Needed when there is more than one input file +override-info: + title: PolicyClient +``` + +### Tag: package-policy-2024-05 + +These settings apply only when `--tag=package-policy-2024-05` is specified on the command line. + +```yaml $(tag) == 'package-policy-2024-05' +input-file: +- stable/2024-05-01/policyDefinitions.json +- stable/2024-05-01/policyDefinitionVersions.json +- stable/2024-05-01/policySetDefinitions.json +- stable/2024-05-01/policySetDefinitionVersions.json +- stable/2024-05-01/policyAssignments.json + +# Needed when there is more than one input file +override-info: + title: PolicyClient +``` + +### Tag: package-policy-2024-04 + +These settings apply only when `--tag=package-policy-2024-04` is specified on the command line. + +```yaml $(tag) == 'package-policy-2024-04' +input-file: + - stable/2024-04-01/policyAssignments.json +``` + + +### Tag: package-policy-2023-04 + +These settings apply only when `--tag=package-policy-2023-04` is specified on the command line. + +``` yaml $(tag) == 'package-policy-2023-04' +input-file: +- stable/2020-09-01/dataPolicyManifests.json +- stable/2023-04-01/policyDefinitions.json +- stable/2023-04-01/policyDefinitionVersions.json +- stable/2023-04-01/policySetDefinitions.json +- stable/2023-04-01/policySetDefinitionVersions.json +- stable/2023-04-01/policyAssignments.json +- preview/2022-07-01-preview/policyExemptions.json +- preview/2022-08-01-preview/policyVariables.json +- preview/2022-08-01-preview/policyVariableValues.json + +# Needed when there is more than one input file +override-info: + title: PolicyClient +``` + +### Tag: package-policy-2023-04-only + +These settings apply only when `--tag=package-policy-2023-04-only` is specified on the command line. + +``` yaml $(tag) == 'package-policy-2023-04-only' +input-file: + - stable/2023-04-01/policyDefinitions.json + - stable/2023-04-01/policyDefinitionVersions.json + - stable/2023-04-01/policySetDefinitions.json + - stable/2023-04-01/policySetDefinitionVersions.json + - stable/2023-04-01/policyAssignments.json + +# Needed when there is more than one input file +override-info: + title: PolicyClient +``` + +### Tag: package-policy-2022-08-preview-only + +These settings apply only when `--tag=package-policy-2022-08-preview-only` is specified on the command line. + +``` yaml $(tag) == 'package-policy-2022-08-preview-only' +input-file: +- preview/2022-08-01-preview/policyVariables.json +- preview/2022-08-01-preview/policyVariableValues.json + +# Needed when there is more than one input file +override-info: + title: PolicyClient +``` + +### Tag: package-policy-2022-07-preview-only + +These settings apply only when `--tag=package-policy-2022-07-preview-only` is specified on the command line. + +``` yaml $(tag) == 'package-policy-2022-07-preview-only' +input-file: +- preview/2022-07-01-preview/policyExemptions.json + +# Needed when there is more than one input file +override-info: + title: PolicyClient +``` + +### Tag: package-policy-2022-06-only + +These settings apply only when `--tag=package-policy-2022-06-only` is specified on the command line. + +``` yaml $(tag) == 'package-policy-2022-06-only' +input-file: +- stable/2022-06-01/policyAssignments.json + +# Needed when there is more than one input file +override-info: + title: PolicyClient +``` + +### Tag: package-policy-2022-06 + +These settings apply only when `--tag=package-policy-2022-06` is specified on the command line. + +``` yaml $(tag) == 'package-policy-2022-06' +input-file: +- stable/2020-09-01/dataPolicyManifests.json +- stable/2021-06-01/policyDefinitions.json +- stable/2021-06-01/policySetDefinitions.json +- stable/2022-06-01/policyAssignments.json +- preview/2022-07-01-preview/policyExemptions.json +- preview/2022-08-01-preview/policyVariables.json +- preview/2022-08-01-preview/policyVariableValues.json + +# Needed when there is more than one input file +override-info: + title: PolicyClient +``` + +### Tag: package-policy-2021-06 + +These settings apply only when `--tag=package-policy-2021-06` is specified on the command line. + +``` yaml $(tag) == 'package-policy-2021-06' +input-file: +- stable/2020-09-01/dataPolicyManifests.json +- stable/2021-06-01/policyAssignments.json +- stable/2021-06-01/policyDefinitions.json +- stable/2021-06-01/policySetDefinitions.json +- preview/2020-07-01-preview/policyExemptions.json +- preview/2022-08-01-preview/policyVariables.json +- preview/2022-08-01-preview/policyVariableValues.json + +# Needed when there is more than one input file +override-info: + title: PolicyClient +``` + +### Tag: package-policy-2021-06-only + +These settings apply only when `--tag=package-policy-2021-06-only` is specified on the command line. + +``` yaml $(tag) == 'package-policy-2021-06-only' +input-file: +- stable/2021-06-01/policyAssignments.json +- stable/2021-06-01/policyDefinitions.json +- stable/2021-06-01/policySetDefinitions.json + +# Needed when there is more than one input file +override-info: + title: PolicyClient +``` + +### Tag: package-policy-2020-09 + +These settings apply only when `--tag=package-policy-2020-09` is specified on the command line. + +``` yaml $(tag) == 'package-policy-2020-09' +input-file: +- stable/2020-09-01/dataPolicyManifests.json +- stable/2020-09-01/policyAssignments.json +- stable/2020-09-01/policyDefinitions.json +- stable/2020-09-01/policySetDefinitions.json +- preview/2020-07-01-preview/policyExemptions.json + +# Needed when there is more than one input file +override-info: + title: PolicyClient +``` + +### Tag: package-policy-2020-09-only + +These settings apply only when `--tag=package-policy-2020-09-only` is specified on the command line. + +``` yaml $(tag) == 'package-policy-2020-09-only' +input-file: +- stable/2020-09-01/dataPolicyManifests.json +- stable/2020-09-01/policyAssignments.json +- stable/2020-09-01/policyDefinitions.json +- stable/2020-09-01/policySetDefinitions.json + +# Needed when there is more than one input file +override-info: + title: PolicyClient +``` + +### Tag: package-policy-2020-03 + +These settings apply only when `--tag=package-policy-2020-03` is specified on the command line. + +``` yaml $(tag) == 'package-policy-2020-03' +input-file: +- stable/2020-03-01/policyAssignments.json +- stable/2020-03-01/policyDefinitions.json +- stable/2020-03-01/policySetDefinitions.json +- preview/2020-07-01-preview/policyExemptions.json + +# Needed when there is more than one input file +override-info: + title: PolicyClient +``` + +### Tag: package-policy-2020-07-preview-only + +These settings apply only when `--tag=package-policy-2020-07-preview-only` is specified on the command line. + +``` yaml $(tag) == 'package-policy-2020-07-preview-only' +input-file: +- preview/2020-07-01-preview/policyExemptions.json + +# Needed when there is more than one input file +override-info: + title: PolicyClient +``` + +### Tag: package-policy-2019-09 + +These settings apply only when `--tag=package-policy-2019-09` is specified on the command line. + +``` yaml $(tag) == 'package-policy-2019-09' +input-file: +- stable/2019-09-01/policyAssignments.json +- stable/2019-09-01/policyDefinitions.json +- stable/2019-09-01/policySetDefinitions.json + +# Needed when there is more than one input file +override-info: + title: PolicyClient +``` + +### Tag: package-policy-2019-06 + +These settings apply only when `--tag=package-policy-2019-06` is specified on the command line. + +``` yaml $(tag) == 'package-policy-2019-06' +input-file: +- stable/2019-06-01/policyAssignments.json +- stable/2019-06-01/policyDefinitions.json +- stable/2019-06-01/policySetDefinitions.json + +# Needed when there is more than one input file +override-info: + title: PolicyClient +``` + +### Tag: package-policy-2019-01 + +These settings apply only when `--tag=package-policy-2019-01` is specified on the command line. + +``` yaml $(tag) == 'package-policy-2019-01' +input-file: +- stable/2019-01-01/policyAssignments.json +- stable/2019-01-01/policyDefinitions.json +- stable/2019-01-01/policySetDefinitions.json + +# Needed when there is more than one input file +override-info: + title: PolicyClient +``` + +### Tag: package-policy-2018-05 + +These settings apply only when `--tag=package-policy-2018-05` is specified on the command line. + +``` yaml $(tag) == 'package-policy-2018-05' +input-file: +- stable/2018-05-01/policyAssignments.json +- stable/2018-05-01/policyDefinitions.json +- stable/2018-05-01/policySetDefinitions.json + +# Needed when there is more than one input file +override-info: + title: PolicyClient +``` + +### Tag: package-policy-2018-03 + +These settings apply only when `--tag=package-policy-2018-03` is specified on the command line. + +``` yaml $(tag) == 'package-policy-2018-03' +input-file: +- stable/2018-03-01/policyAssignments.json +- stable/2018-03-01/policyDefinitions.json +- stable/2018-03-01/policySetDefinitions.json + +# Needed when there is more than one input file +override-info: + title: PolicyClient +``` + +### Tag: package-policy-2017-06 + +These settings apply only when `--tag=package-policy-2017-06` is specified on the command line. + +``` yaml $(tag) == 'package-policy-2017-06' +input-file: +- preview/2017-06-01-preview/policyAssignments.json +- preview/2017-06-01-preview/policySetDefinitions.json +- stable/2016-12-01/policyDefinitions.json + +# Needed when there is more than one input file +override-info: + title: PolicyClient +``` + +### Tag: package-pure-policy-2017-06 + +These settings apply only when `--tag=package-pure-policy-2017-06` is specified on the command line. + +``` yaml $(tag) == 'package-pure-policy-2017-06' +input-file: +- preview/2017-06-01-preview/policyAssignments.json +- preview/2017-06-01-preview/policySetDefinitions.json + +# Needed when there is more than one input file +override-info: + title: PolicyClient +``` + +### Tag: package-policy-2017-06-preview-only + +These settings apply only when `--tag=package-policy-2017-06-preview-only` is specified on the command line. + +``` yaml $(tag) == 'package-policy-2017-06-preview-only' +input-file: +- preview/2017-06-01-preview/policyAssignments.json +- preview/2017-06-01-preview/policySetDefinitions.json + +# Needed when there is more than one input file +override-info: + title: PolicyClient +``` + +### Tag: package-policy-2016-12 + +These settings apply only when `--tag=package-policy-2016-12` is specified on the command line. + +``` yaml $(tag) == 'package-policy-2016-12' +input-file: +- stable/2016-12-01/policyDefinitions.json +- stable/2016-12-01/policyAssignments.json + +# Needed when there is more than one input file +override-info: + title: PolicyClient +``` + +### Tag: package-policy-2016-04 + +These settings apply only when `--tag=package-policy-2016-04` is specified on the command line. + +``` yaml $(tag) == 'package-policy-2016-04' +input-file: +- stable/2016-04-01/policy.json +``` + +### Tag: package-policy-2015-10 + +These settings apply only when `--tag=package-policy-2015-10` is specified on the command line. + +``` yaml $(tag) == 'package-policy-2015-10' +input-file: +- preview/2015-10-01-preview/policy.json +``` + +## Suppression + +``` yaml +directive: + - suppress: UniqueResourcePaths + from: policySetDefinitions.json + reason: policy set definition under an extension resource with Microsoft.Management + - suppress: UniqueResourcePaths + from: policyDefinitions.json + reason: policy definition under an extension resource with Microsoft.Management + - suppress: UniqueResourcePaths + from: policyAssignments.json + reason: policy assignment under an extension resource with Microsoft.Management + - suppress: UniqueResourcePaths + from: policyExemptions.json + where: $.paths + reason: policy exemption under an extension resource with Microsoft.Management + - suppress: OperationsAPIImplementation + from: policyAssignments.json + reason: operation APIs for Microsoft.Authorization are to be defined in RBAC swagger + - suppress: OperationsAPIImplementation + from: policyDefinitions.json + reason: operation APIs for Microsoft.Authorization are to be defined in RBAC swagger + - suppress: OperationsAPIImplementation + from: policyDefinitionVersions.json + reason: operation APIs for Microsoft.Authorization are to be defined in RBAC swagger + - suppress: OperationsAPIImplementation + from: policySetDefinitions.json + reason: operation APIs for Microsoft.Authorization are to be defined in RBAC swagger + - suppress: OperationsAPIImplementation + from: policySetDefinitionVersions.json + reason: operation APIs for Microsoft.Authorization are to be defined in RBAC swagger + - suppress: OperationsAPIImplementation + from: policyExemptions.json + reason: operation APIs for Microsoft.Authorization are to be defined in RBAC swagger + - suppress: OperationsAPIImplementation + from: policyVariables.json + reason: operation APIs for Microsoft.Authorization are to be defined in RBAC swagger + - suppress: OperationsAPIImplementation + from: policyVariableValues.json + reason: operation APIs for Microsoft.Authorization are to be defined in RBAC swagger + - suppress: BodyTopLevelProperties + from: policyAssignments.json + reason: Currently systemData is not allowed. Lint bug - collection GET result contains value and nextLink properties. + - suppress: BodyTopLevelProperties + from: policyDefinitions.json + reason: Currently systemData is not allowed. Lint bug - collection GET result contains value and nextLink properties. + - suppress: BodyTopLevelProperties + from: policyDefinitionVersions.json + reason: Currently systemData is not allowed. Lint bug - collection GET result contains value and nextLink properties. + - suppress: BodyTopLevelProperties + from: policySetDefinitions.json + reason: Currently systemData is not allowed. Lint bug - collection GET result contains value and nextLink properties. + - suppress: BodyTopLevelProperties + from: policySetDefinitionVersions.json + reason: Currently systemData is not allowed. Lint bug - collection GET result contains value and nextLink properties. + - suppress: BodyTopLevelProperties + from: policyExemptions.json + where: $.definitions.PolicyExemption.properties + reason: Currently systemData is not allowed + - suppress: OperationsAPIImplementation + where: $.paths + from: dataPolicyManifests.json + reason: operation APIs for Microsoft.Authorization are to be defined in RBAC swagger + - suppress: EnumInsteadOfBoolean + where: $.definitions.DataManifestCustomResourceFunctionDefinition.properties.allowCustomProperties + from: dataPolicyManifests.json + reason: 'This property can only have two values. ' + - suppress: EnumInsteadOfBoolean + where: $.definitions.DataPolicyManifestProperties.properties.isBuiltInOnly + from: dataPolicyManifests.json + reason: 'This property can only have two values. ' + - suppress: PageableOperation + where: '$.paths["/providers/Microsoft.Authorization/dataPolicyManifests"].get' + from: dataPolicyManifests.json + reason: Pagination not supported. The size of the result list is pretty limited + - suppress: TopLevelResourcesListByResourceGroup + from: policyDefinitions.json + reason: Policy definitions are a proxy resource that is only usable on subscriptions or management groups + - suppress: TopLevelResourcesListByResourceGroup + from: policyVariables.json + reason: Policy variables are a proxy resource that is only usable on subscriptions or management groups + - suppress: TopLevelResourcesListByResourceGroup + from: policyVariableValues.json + reason: Policy variable values are a proxy resource that is only usable on subscriptions or management groups + - suppress: TopLevelResourcesListByResourceGroup + from: policySetDefinitions.json + reason: Policy set definitions are a proxy resource that is only usable on subscriptions or management groups + - suppress: PathForTrackedResourceTypes + from: policyAssignments.json + reason: Not a tracked resource type. The API has never been changed since inception. Would be a breaking change. + - suppress: TenantLevelAPIsNotAllowed + from: policyDefinitions.json + reason: Linter rule limitation. The API has always supported management group scope. + - suppress: TenantLevelAPIsNotAllowed + from: policyDefinitionVersions.json + reason: Linter rule limitation. The API has always supported management group scope. + - suppress: TenantLevelAPIsNotAllowed + from: policySetDefinitions.json + reason: Linter rule limitation. The API has always supported management group scope. + - suppress: TenantLevelAPIsNotAllowed + from: policySetDefinitionVersions.json + reason: Linter rule limitation. The API has always supported management group scope. + - suppress: TenantLevelAPIsNotAllowed + from: policyAssignments.json + reason: Linter rule limitation. The API has always supported management group scope. + - suppress: TenantLevelAPIsNotAllowed + from: policyExemptions.json + reason: Linter rule limitation. The API has always supported management group scope. + - suppress: TenantLevelAPIsNotAllowed + from: policyVariables.json + reason: Linter rule limitation. The API has always supported management group scope. + - suppress: TenantLevelAPIsNotAllowed + from: policyVariableValues.json + reason: Linter rule limitation. The API has always supported management group scope. + - suppress: EvenSegmentedPathForPutOperation + from: policyAssignments.json + reason: Linter rule limitation. The API has never been changed since inception. Would be a breaking change. + - suppress: PutResponseCodes + from: policyDefinitions.json + reason: Linter rule limitation. The API has never been changed since inception. Would be a breaking change. + - suppress: PutResponseCodes + from: policySetDefinitions.json + reason: Linter rule limitation. The API has never been changed since inception. Would be a breaking change. + - suppress: PutResponseCodes + from: policyAssignments.json + reason: Linter rule limitation. The API has never been changed since inception. Would be a breaking change. + - suppress: AvoidAdditionalProperties + from: policyDefinitions.json + reason: Linter rule limitation. The API has never been changed since inception. Would be a breaking change. + - suppress: AvoidAdditionalProperties + from: policyDefinitionVersions.json + reason: Linter rule limitation. The API has never been changed since inception. Would be a breaking change. + - suppress: AvoidAdditionalProperties + from: policySetDefinitions.json + reason: Linter rule limitation. The API has never been changed since inception. Would be a breaking change. + - suppress: AvoidAdditionalProperties + from: policySetDefinitionVersions.json + reason: Linter rule limitation. The API has never been changed since inception. Would be a breaking change. + - suppress: AvoidAdditionalProperties + from: policyAssignments.json + reason: Linter rule limitation. The API has never been changed since inception. Would be a breaking change. + - suppress: PathForPutOperation + from: policyDefinitions.json + reason: Policy definitions can be created at management group or subscriptions + - suppress: PathForPutOperation + from: policySetDefinitions.json + reason: Policy sets can be created at management group or subscriptions + - suppress: PathForPutOperation + from: policyAssignments.json + reason: Policy assignments can be created at management group or subscriptions + - suppress: PathForPutOperation + from: policyDefinitionVersions.json + reason: Policy definition versions can be created at management group or subscriptions + - suppress: PathForPutOperation + from: policySetDefinitionVersions.json + reason: Policy set versions can be created at management group or subscriptions + - suppress: DeleteResponseBodyEmpty + from: policyAssignments.json + reason: Policy assignment body is returned on delete and this must match API + - suppress: RequestSchemaForTrackedResourcesMustHaveTags + from: policyAssignments.json + reason: Policy assignments are not tracked resources + - suppress: RepeatedPathInfo + from: policyAssignments.json + reason: Service requires the scope to be in the body + - suppress: PutResponseSchemaDescription + from: policyAssignments.json + reason: Service only returns 201 on all successful PUTs + - suppress: PutResponseSchemaDescription + from: policyDefinitions.json + reason: Service only returns 201 on all successful PUTs + - suppress: PutResponseSchemaDescription + from: policySetDefinitions.json + reason: Service only returns 201 on all successful PUTs + - suppress: UnSupportedPatchProperties + from: policyAssignments.json + reason: The location property represents the user-assigned identity location and is changeable for policy assignments + - suppress: PathContainsResourceType + from: policyAssignments.json + reason: The policy assignment id does contain the resource type + - suppress: ResourceNameRestriction + from: policyDefinitionVersions.json + reason: Using common types for management group name + - suppress: ResourceNameRestriction + from: policySetDefinitionVersions.json + reason: Using common types for management group name + - suppress: ResourceNameRestriction + from: policyExemptions.json + reason: Using common types for management group name + - suppress: ResourceNameRestriction + from: policyVariables.json + reason: Using common types for management group name + - suppress: ResourceNameRestriction + from: policyVariableValues.json + reason: Using common types for management group name + - suppress: ParametersInPointGet + from: policyAssignments.json + reason: "This is for specific properties that require extra processing to produce so only want to return on demand." + - suppress: ParametersInPointGet + from: policySetDefinitions.json + reason: "This is for specific properties that require extra processing to produce so only want to return on demand." + - suppress: ParametersInPointGet + from: policySetDefinitionVersions.json + reason: "This is for specific properties that require extra processing to produce so only want to return on demand." + - suppress: TrackedExtensionResourcesAreNotAllowed + from: policyAssignments.json + reason: "Policy assignments can have a manged identity associated with them. This requires a location." +``` + +--- + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +``` yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-net + - repo: azure-sdk-for-python + - repo: azure-sdk-for-java + - repo: azure-sdk-for-go + - repo: azure-sdk-for-node + - repo: azure-sdk-for-js + - repo: azure-resource-manager-schemas + - repo: azure-powershell +``` + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## Go + +See configuration in [readme.go.md](./readme.go.md) + +## Java + +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/readme.nodejs.md b/specification/resources/resource-manager/Microsoft.Authorization/policy/readme.nodejs.md new file mode 100644 index 000000000000..500b9eb55849 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/readme.nodejs.md @@ -0,0 +1,22 @@ +## Node.js + +These settings apply only when `--nodejs` is specified on the command line. +Please also specify `--node-sdks-folder=`. + +```yaml $(nodejs) +nodejs: + azure-arm: true + batch: true + package-name: azure-arm-resource + generate-license-txt: true + generate-package-json: false + generate-readme-md: false + output-folder: $(node-sdks-folder)/lib/services/resourceManagement +batch: + - package-policy: true +``` + +```yaml $(nodejs) && $(package-policy) +nodejs: + source-code-folder-path: lib/policy +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/readme.python.md b/specification/resources/resource-manager/Microsoft.Authorization/policy/readme.python.md new file mode 100644 index 000000000000..e245db54b079 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/readme.python.md @@ -0,0 +1,34 @@ +## Python + +These settings apply only when `--python` is specified on the command line. + +``` yaml $(python) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +package-name: azure-mgmt-resource +package-version: 1.0.0b1 +no-namespace-folders: true +reformat-next-link: false +combine-operation-files: true +clear-output-folder: true +modelerfour: + lenient-model-deduplication: true +``` + +### Python batch + +```yaml $(python) +batch: + - tag: package-policy-2023-04 +``` + +### Tag: package-policy-2023-04 and python + +These settings apply only when `--tag=package-policy-2023-04 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-policy-2023-04' +title: PolicyClient +namespace: azure.mgmt.resource.policy +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/policy +``` diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/readme.ruby.md b/specification/resources/resource-manager/Microsoft.Authorization/policy/readme.ruby.md new file mode 100644 index 000000000000..223b12f8e58c --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/readme.ruby.md @@ -0,0 +1,52 @@ +### Ruby multi-api for policy + +``` yaml $(multiapi) && $(policy) +package-name: azure_mgmt_policy +package-version: "0.16.0" +azure-arm: true +batch: + - tag: package-pure-policy-2017-06 + - tag: package-policy-2016-12 + - tag: package-policy-2016-04 + - tag: package-policy-2015-10 +``` + +### Tag: package-pure-policy-2017-06 and ruby + +These settings apply only when `--tag=package-pure-policy-2017-06 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-pure-policy-2017-06' && $(ruby) +namespace: "Azure::Policy::Mgmt::V2017_06_01_preview" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib +``` + +### Tag: package-policy-2016-12 and ruby + +These settings apply only when `--tag=package-policy-2016-12 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-policy-2016-12' && $(ruby) +namespace: "Azure::Policy::Mgmt::V2016_12_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib +``` + +### Tag: package-policy-2016-04 and ruby + +These settings apply only when `--tag=package-policy-2016-04 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-policy-2016-04' && $(ruby) +namespace: "Azure::Policy::Mgmt::V2016_04_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib +``` + +### Tag: package-policy-2015-10 and ruby + +These settings apply only when `--tag=package-policy-2015-10 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-policy-2015-10' && $(ruby) +namespace: "Azure::Policy::Mgmt::V2015_10_01_preview" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/readme.terraform.md b/specification/resources/resource-manager/Microsoft.Authorization/policy/readme.terraform.md new file mode 100644 index 000000000000..a958f79368b2 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/readme.terraform.md @@ -0,0 +1,24 @@ + +## Terraform + +These settings apply only when `--terraform` is specified on the command line. + + +``` yaml $(terraform) +batch: + - package-policy: true +``` + +```yaml $(terraform) && $(package-policy) +terraform: + cli-name: policy + package-name: policy +output-folder: $(terraform-output-folder)/policy +clear-output-folder: true +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/readme.typescript.md b/specification/resources/resource-manager/Microsoft.Authorization/policy/readme.typescript.md new file mode 100644 index 000000000000..6c2ce1171500 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/readme.typescript.md @@ -0,0 +1,42 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +```yaml $(typescript) && !$(profile-content) +typescript: + azure-arm: true + batch: true + generate-metadata: true +batch: + - package-policy: true +``` + +```yaml $(typescript) && $(package-policy) && !$(profile-content) +typescript: + package-name: "@azure/arm-policy" + output-folder: "$(typescript-sdks-folder)/sdk/policy/arm-policy" + +modelerfour: + treat-type-object-as-anything: true +``` + +```yaml $(tag)=='package-policy-2016-12' && $(profile-content)=='profile-hybrid-2019-03-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-policy-profile-2019-03-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/policy/arm-policy-profile-2019-03-01-hybrid" + batch: + - tag: package-policy-2016-12 +``` + +```yaml $(tag)=='package-policy-2016-12' && $(profile-content)=='profile-hybrid-2020-09-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-policy-profile-2020-09-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/policy/arm-policy-profile-2020-09-01-hybrid" + batch: + - tag: package-policy-2016-12 +``` diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/sdk-suppressions.yaml b/specification/resources/resource-manager/Microsoft.Authorization/policy/sdk-suppressions.yaml new file mode 100644 index 000000000000..dfd118868fa1 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/sdk-suppressions.yaml @@ -0,0 +1,83 @@ +suppressions: + azure-sdk-for-go: + - package: sdk/resourcemanager/resources/armpolicy + breaking-changes: + - Enum `AliasPathAttributes` has been removed + - Enum `AliasPathTokenType` has been removed + - Enum `AliasPatternType` has been removed + - Enum `AliasType` has been removed + - Enum `AssignmentScopeValidation` has been removed + - Enum `ExemptionCategory` has been removed + - Function `*ClientFactory.NewDataPolicyManifestsClient` has been removed + - Function `*ClientFactory.NewExemptionsClient` has been removed + - Function `*ClientFactory.NewVariableValuesClient` has been removed + - Function `*ClientFactory.NewVariablesClient` has been removed + - Function `NewDataPolicyManifestsClient` has been removed + - Function `*DataPolicyManifestsClient.GetByPolicyMode` has been removed + - Function `*DataPolicyManifestsClient.NewListPager` has been removed + - Function `NewExemptionsClient` has been removed + - Function `*ExemptionsClient.CreateOrUpdate` has been removed + - Function `*ExemptionsClient.Delete` has been removed + - Function `*ExemptionsClient.Get` has been removed + - Function `*ExemptionsClient.NewListForManagementGroupPager` has been removed + - Function `*ExemptionsClient.NewListForResourceGroupPager` has been removed + - Function `*ExemptionsClient.NewListForResourcePager` has been removed + - Function `*ExemptionsClient.NewListPager` has been removed + - Function `*ExemptionsClient.Update` has been removed + - Function `NewVariableValuesClient` has been removed + - Function `*VariableValuesClient.CreateOrUpdate` has been removed + - Function `*VariableValuesClient.CreateOrUpdateAtManagementGroup` has been removed + - Function `*VariableValuesClient.Delete` has been removed + - Function `*VariableValuesClient.DeleteAtManagementGroup` has been removed + - Function `*VariableValuesClient.Get` has been removed + - Function `*VariableValuesClient.GetAtManagementGroup` has been removed + - Function `*VariableValuesClient.NewListForManagementGroupPager` has been removed + - Function `*VariableValuesClient.NewListPager` has been removed + - Function `NewVariablesClient` has been removed + - Function `*VariablesClient.CreateOrUpdate` has been removed + - Function `*VariablesClient.CreateOrUpdateAtManagementGroup` has been removed + - Function `*VariablesClient.Delete` has been removed + - Function `*VariablesClient.DeleteAtManagementGroup` has been removed + - Function `*VariablesClient.Get` has been removed + - Function `*VariablesClient.GetAtManagementGroup` has been removed + - Function `*VariablesClient.NewListForManagementGroupPager` has been removed + - Function `*VariablesClient.NewListPager` has been removed + - Struct `Alias` has been removed + - Struct `AliasPath` has been removed + - Struct `AliasPathMetadata` has been removed + - Struct `AliasPattern` has been removed + - Struct `DataEffect` has been removed + - Struct `DataManifestCustomResourceFunctionDefinition` has been removed + - Struct `DataManifestResourceFunctionsDefinition` has been removed + - Struct `DataPolicyManifest` has been removed + - Struct `DataPolicyManifestListResult` has been removed + - Struct `DataPolicyManifestProperties` has been removed + - Struct `Exemption` has been removed + - Struct `ExemptionListResult` has been removed + - Struct `ExemptionProperties` has been removed + - Struct `ExemptionUpdate` has been removed + - Struct `ExemptionUpdateProperties` has been removed + - Struct `ResourceTypeAliases` has been removed + - Struct `Variable` has been removed + - Struct `VariableColumn` has been removed + - Struct `VariableListResult` has been removed + - Struct `VariableProperties` has been removed + - Struct `VariableValue` has been removed + - Struct `VariableValueColumnValue` has been removed + - Struct `VariableValueListResult` has been removed + - Struct `VariableValueProperties` has been removed + azure-sdk-for-js: + - package: "@azure/arm-policy" + breaking-changes: + - Class PolicyClient no longer has parameter dataPolicyManifests + - Class PolicyClient no longer has parameter policyExemptions + - Removed Enum KnownAliasPathAttributes + - Removed Enum KnownAliasPathTokenType + - Removed Enum KnownExemptionCategory + - Removed operation group DataPolicyManifests + - Removed operation group PolicyExemptions + - Interface ErrorResponse no longer has parameter additionalInfo + - Interface ErrorResponse no longer has parameter code + - Interface ErrorResponse no longer has parameter details + - Interface ErrorResponse no longer has parameter message + - Interface ErrorResponse no longer has parameter target \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2016-04-01/policy.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2016-04-01/policy.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2016-04-01/policy.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2016-04-01/policy.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2016-12-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2016-12-01/policyAssignments.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2016-12-01/policyAssignments.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2016-12-01/policyAssignments.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2016-12-01/policyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2016-12-01/policyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2016-12-01/policyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2016-12-01/policyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createOrUpdatePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/createOrUpdatePolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createOrUpdatePolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/createOrUpdatePolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createOrUpdatePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/createOrUpdatePolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createOrUpdatePolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/createOrUpdatePolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/createPolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createPolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/createPolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/createPolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/createPolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/createPolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/deletePolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/deletePolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/deletePolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/deletePolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/deletePolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/deletePolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/deletePolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/deletePolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/deletePolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/deletePolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/deletePolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/deletePolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/deletePolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getBuiltInPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/getBuiltInPolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getBuiltInPolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/getBuiltInPolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getBuiltinPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/getBuiltinPolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getBuiltinPolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/getBuiltinPolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/getPolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/getPolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/getPolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/getPolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/getPolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/getPolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/getPolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/getPolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/getPolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/getPolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/getPolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/getPolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/getPolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listBuiltInPolicyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/listBuiltInPolicyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listBuiltInPolicyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/listBuiltInPolicyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listBuiltInPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/listBuiltInPolicySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listBuiltInPolicySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/listBuiltInPolicySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/listPolicyAssignments.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicyAssignments.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/listPolicyAssignments.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicyAssignmentsForResource.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/listPolicyAssignmentsForResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicyAssignmentsForResource.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/listPolicyAssignmentsForResource.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicyAssignmentsForResourceGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/listPolicyAssignmentsForResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicyAssignmentsForResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/listPolicyAssignmentsForResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/listPolicyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/listPolicyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicyDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/listPolicyDefinitionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicyDefinitionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/listPolicyDefinitionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/listPolicySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/listPolicySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicySetDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/listPolicySetDefinitionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/examples/listPolicySetDefinitionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/examples/listPolicySetDefinitionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/policyAssignments.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/policyAssignments.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/policyAssignments.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/policyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/policyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/policyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/policyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/policySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-03-01/policySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-03-01/policySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createOrUpdatePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/createOrUpdatePolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createOrUpdatePolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/createOrUpdatePolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createOrUpdatePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/createOrUpdatePolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createOrUpdatePolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/createOrUpdatePolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/createPolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createPolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/createPolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/createPolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createPolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/createPolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/createPolicyAssignmentWithIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createPolicyAssignmentWithIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/createPolicyAssignmentWithIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/createPolicyAssignmentWithIdentityById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/createPolicyAssignmentWithIdentityById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/createPolicyAssignmentWithIdentityById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/deletePolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/deletePolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/deletePolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/deletePolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/deletePolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/deletePolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/deletePolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/deletePolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/deletePolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/deletePolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/deletePolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/deletePolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/deletePolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getBuiltInPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/getBuiltInPolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getBuiltInPolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/getBuiltInPolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getBuiltinPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/getBuiltinPolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getBuiltinPolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/getBuiltinPolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/getPolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/getPolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/getPolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/getPolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/getPolicyAssignmentWithIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyAssignmentWithIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/getPolicyAssignmentWithIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/getPolicyAssignmentWithIdentityById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyAssignmentWithIdentityById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/getPolicyAssignmentWithIdentityById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/getPolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/getPolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/getPolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/getPolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/getPolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/getPolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/getPolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/getPolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/getPolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listBuiltInPolicyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/listBuiltInPolicyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listBuiltInPolicyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/listBuiltInPolicyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listBuiltInPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/listBuiltInPolicySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listBuiltInPolicySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/listBuiltInPolicySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/listPolicyAssignments.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicyAssignments.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/listPolicyAssignments.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicyAssignmentsForResource.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/listPolicyAssignmentsForResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicyAssignmentsForResource.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/listPolicyAssignmentsForResource.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicyAssignmentsForResourceGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/listPolicyAssignmentsForResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicyAssignmentsForResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/listPolicyAssignmentsForResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/listPolicyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/listPolicyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicyDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/listPolicyDefinitionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicyDefinitionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/listPolicyDefinitionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/listPolicySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/listPolicySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicySetDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/listPolicySetDefinitionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/examples/listPolicySetDefinitionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/examples/listPolicySetDefinitionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/policyAssignments.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/policyAssignments.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/policyAssignments.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/policyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/policyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/policyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/policyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/policySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2018-05-01/policySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2018-05-01/policySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/createOrUpdatePolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/createOrUpdatePolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/createOrUpdatePolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/createOrUpdatePolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/createPolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createPolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/createPolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/createPolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createPolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/createPolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/createPolicyAssignmentWithIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createPolicyAssignmentWithIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/createPolicyAssignmentWithIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/createPolicyAssignmentWithIdentityById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/createPolicyAssignmentWithIdentityById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/createPolicyAssignmentWithIdentityById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/deletePolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/deletePolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/deletePolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/deletePolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/deletePolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/deletePolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/deletePolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/deletePolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/deletePolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/deletePolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/deletePolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/deletePolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/deletePolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getBuiltInPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/getBuiltInPolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getBuiltInPolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/getBuiltInPolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getBuiltinPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/getBuiltinPolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getBuiltinPolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/getBuiltinPolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/getPolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/getPolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/getPolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/getPolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/getPolicyAssignmentWithIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyAssignmentWithIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/getPolicyAssignmentWithIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/getPolicyAssignmentWithIdentityById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyAssignmentWithIdentityById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/getPolicyAssignmentWithIdentityById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/getPolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/getPolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/getPolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/getPolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/getPolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/getPolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/getPolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/getPolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/getPolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listBuiltInPolicyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/listBuiltInPolicyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listBuiltInPolicyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/listBuiltInPolicyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listBuiltInPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/listBuiltInPolicySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listBuiltInPolicySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/listBuiltInPolicySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/listPolicyAssignments.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicyAssignments.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/listPolicyAssignments.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicyAssignmentsForResource.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/listPolicyAssignmentsForResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicyAssignmentsForResource.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/listPolicyAssignmentsForResource.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicyAssignmentsForResourceGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/listPolicyAssignmentsForResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicyAssignmentsForResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/listPolicyAssignmentsForResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/listPolicyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/listPolicyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicyDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/listPolicyDefinitionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicyDefinitionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/listPolicyDefinitionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/listPolicySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/listPolicySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicySetDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/listPolicySetDefinitionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/examples/listPolicySetDefinitionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/examples/listPolicySetDefinitionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/policyAssignments.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/policyAssignments.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/policyAssignments.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/policyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/policyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/policyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/policyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/policySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-01-01/policySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-01-01/policySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/createOrUpdatePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/createOrUpdatePolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/createOrUpdatePolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/createOrUpdatePolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/createOrUpdatePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/createOrUpdatePolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/createOrUpdatePolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/createOrUpdatePolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/createPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/createPolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/createPolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/createPolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/createPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/createPolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/createPolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/createPolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/createPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/createPolicyAssignmentWithIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/createPolicyAssignmentWithIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/createPolicyAssignmentWithIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/createPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/createPolicyAssignmentWithIdentityById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/createPolicyAssignmentWithIdentityById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/createPolicyAssignmentWithIdentityById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/createPolicyAssignmentWithoutEnforcement.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/createPolicyAssignmentWithoutEnforcement.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/createPolicyAssignmentWithoutEnforcement.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/createPolicyAssignmentWithoutEnforcement.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/deletePolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/deletePolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/deletePolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/deletePolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/deletePolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/deletePolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/deletePolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/deletePolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/deletePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/deletePolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/deletePolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/deletePolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/deletePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/deletePolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/deletePolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/deletePolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/deletePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/deletePolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/deletePolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/deletePolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/deletePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/deletePolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/deletePolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/deletePolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/getBuiltInPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/getBuiltInPolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/getBuiltInPolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/getBuiltInPolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/getBuiltinPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/getBuiltinPolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/getBuiltinPolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/getBuiltinPolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/getPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/getPolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/getPolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/getPolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/getPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/getPolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/getPolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/getPolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/getPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/getPolicyAssignmentWithIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/getPolicyAssignmentWithIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/getPolicyAssignmentWithIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/getPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/getPolicyAssignmentWithIdentityById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/getPolicyAssignmentWithIdentityById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/getPolicyAssignmentWithIdentityById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/getPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/getPolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/getPolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/getPolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/getPolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/getPolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/getPolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/getPolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/getPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/getPolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/getPolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/getPolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/getPolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/getPolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/getPolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/getPolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/listBuiltInPolicyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/listBuiltInPolicyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/listBuiltInPolicyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/listBuiltInPolicyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/listBuiltInPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/listBuiltInPolicySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/listBuiltInPolicySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/listBuiltInPolicySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/listPolicyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/listPolicyAssignments.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/listPolicyAssignments.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/listPolicyAssignments.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/listPolicyAssignmentsForResource.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/listPolicyAssignmentsForResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/listPolicyAssignmentsForResource.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/listPolicyAssignmentsForResource.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/listPolicyAssignmentsForResourceGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/listPolicyAssignmentsForResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/listPolicyAssignmentsForResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/listPolicyAssignmentsForResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/listPolicyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/listPolicyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/listPolicyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/listPolicyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/listPolicyDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/listPolicyDefinitionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/listPolicyDefinitionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/listPolicyDefinitionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/listPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/listPolicySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/listPolicySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/listPolicySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/listPolicySetDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/listPolicySetDefinitionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/examples/listPolicySetDefinitionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/examples/listPolicySetDefinitionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/policyAssignments.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/policyAssignments.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/policyAssignments.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/policyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/policyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/policyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/policyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/policySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-06-01/policySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-06-01/policySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/createOrUpdatePolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/createOrUpdatePolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/createOrUpdatePolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/createOrUpdatePolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/createPolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createPolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/createPolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/createPolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createPolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/createPolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/createPolicyAssignmentWithIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createPolicyAssignmentWithIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/createPolicyAssignmentWithIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/createPolicyAssignmentWithIdentityById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createPolicyAssignmentWithIdentityById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/createPolicyAssignmentWithIdentityById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createPolicyAssignmentWithoutEnforcement.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/createPolicyAssignmentWithoutEnforcement.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createPolicyAssignmentWithoutEnforcement.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/createPolicyAssignmentWithoutEnforcement.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/deletePolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/deletePolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/deletePolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/deletePolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/deletePolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/deletePolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/deletePolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/deletePolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/deletePolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/deletePolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/deletePolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/deletePolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getBuiltInPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/getBuiltInPolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getBuiltInPolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/getBuiltInPolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getBuiltinPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/getBuiltinPolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getBuiltinPolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/getBuiltinPolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/getPolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/getPolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/getPolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/getPolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/getPolicyAssignmentWithIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyAssignmentWithIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/getPolicyAssignmentWithIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/getPolicyAssignmentWithIdentityById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyAssignmentWithIdentityById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/getPolicyAssignmentWithIdentityById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/getPolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/getPolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/getPolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/getPolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/getPolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/getPolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/getPolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/getPolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listBuiltInPolicyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/listBuiltInPolicyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listBuiltInPolicyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/listBuiltInPolicyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listBuiltInPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/listBuiltInPolicySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listBuiltInPolicySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/listBuiltInPolicySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/listPolicyAssignments.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyAssignments.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/listPolicyAssignments.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyAssignmentsForManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/listPolicyAssignmentsForManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyAssignmentsForManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/listPolicyAssignmentsForManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyAssignmentsForResource.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/listPolicyAssignmentsForResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyAssignmentsForResource.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/listPolicyAssignmentsForResource.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyAssignmentsForResourceGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/listPolicyAssignmentsForResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyAssignmentsForResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/listPolicyAssignmentsForResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/listPolicyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/listPolicyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/listPolicyDefinitionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyDefinitionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/listPolicyDefinitionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/listPolicySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/listPolicySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicySetDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/listPolicySetDefinitionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicySetDefinitionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/examples/listPolicySetDefinitionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/policyAssignments.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/policyAssignments.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/policyAssignments.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/policyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/policyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/policyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/policyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/policySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/policySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/policySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/createOrUpdatePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/createOrUpdatePolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/createOrUpdatePolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/createOrUpdatePolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/createOrUpdatePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/createOrUpdatePolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/createOrUpdatePolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/createOrUpdatePolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/createPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/createPolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/createPolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/createPolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/createPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/createPolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/createPolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/createPolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/createPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/createPolicyAssignmentWithIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/createPolicyAssignmentWithIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/createPolicyAssignmentWithIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/createPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/createPolicyAssignmentWithIdentityById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/createPolicyAssignmentWithIdentityById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/createPolicyAssignmentWithIdentityById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/createPolicyAssignmentWithoutEnforcement.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/createPolicyAssignmentWithoutEnforcement.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/createPolicyAssignmentWithoutEnforcement.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/createPolicyAssignmentWithoutEnforcement.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/deletePolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/deletePolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/deletePolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/deletePolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/deletePolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/deletePolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/deletePolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/deletePolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/deletePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/deletePolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/deletePolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/deletePolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/deletePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/deletePolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/deletePolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/deletePolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/deletePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/deletePolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/deletePolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/deletePolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/deletePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/deletePolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/deletePolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/deletePolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/getBuiltInPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/getBuiltInPolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/getBuiltInPolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/getBuiltInPolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/getBuiltinPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/getBuiltinPolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/getBuiltinPolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/getBuiltinPolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/getPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/getPolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/getPolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/getPolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/getPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/getPolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/getPolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/getPolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/getPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/getPolicyAssignmentWithIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/getPolicyAssignmentWithIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/getPolicyAssignmentWithIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/getPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/getPolicyAssignmentWithIdentityById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/getPolicyAssignmentWithIdentityById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/getPolicyAssignmentWithIdentityById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/getPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/getPolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/getPolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/getPolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/getPolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/getPolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/getPolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/getPolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/getPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/getPolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/getPolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/getPolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/getPolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/getPolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/getPolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/getPolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/listBuiltInPolicyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/listBuiltInPolicyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/listBuiltInPolicyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/listBuiltInPolicyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/listBuiltInPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/listBuiltInPolicySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/listBuiltInPolicySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/listBuiltInPolicySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/listPolicyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/listPolicyAssignments.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/listPolicyAssignments.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/listPolicyAssignments.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/listPolicyAssignmentsForManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/listPolicyAssignmentsForManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/listPolicyAssignmentsForManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/listPolicyAssignmentsForManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/listPolicyAssignmentsForResource.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/listPolicyAssignmentsForResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/listPolicyAssignmentsForResource.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/listPolicyAssignmentsForResource.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/listPolicyAssignmentsForResourceGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/listPolicyAssignmentsForResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/listPolicyAssignmentsForResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/listPolicyAssignmentsForResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/listPolicyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/listPolicyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/listPolicyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/listPolicyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/listPolicyDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/listPolicyDefinitionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/listPolicyDefinitionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/listPolicyDefinitionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/listPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/listPolicySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/listPolicySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/listPolicySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/listPolicySetDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/listPolicySetDefinitionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/examples/listPolicySetDefinitionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/examples/listPolicySetDefinitionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/policyAssignments.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/policyAssignments.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/policyAssignments.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/policyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/policyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/policyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/policyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/policySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/policySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/policySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/dataPolicyManifests.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/dataPolicyManifests.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/createOrUpdatePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/createOrUpdatePolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/createOrUpdatePolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/createOrUpdatePolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/createOrUpdatePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/createOrUpdatePolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/createOrUpdatePolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/createOrUpdatePolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/createPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/createPolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/createPolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/createPolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/createPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/createPolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/createPolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/createPolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/createPolicyAssignmentNonComplianceMessages.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/createPolicyAssignmentNonComplianceMessages.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/createPolicyAssignmentNonComplianceMessages.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/createPolicyAssignmentNonComplianceMessages.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/createPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/createPolicyAssignmentWithIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/createPolicyAssignmentWithIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/createPolicyAssignmentWithIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/createPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/createPolicyAssignmentWithIdentityById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/createPolicyAssignmentWithIdentityById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/createPolicyAssignmentWithIdentityById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/createPolicyAssignmentWithoutEnforcement.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/createPolicyAssignmentWithoutEnforcement.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/createPolicyAssignmentWithoutEnforcement.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/createPolicyAssignmentWithoutEnforcement.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/deletePolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/deletePolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/deletePolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/deletePolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/deletePolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/deletePolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/deletePolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/deletePolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/deletePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/deletePolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/deletePolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/deletePolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/deletePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/deletePolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/deletePolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/deletePolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/deletePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/deletePolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/deletePolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/deletePolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/deletePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/deletePolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/deletePolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/deletePolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/getBuiltInPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/getBuiltInPolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/getBuiltInPolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/getBuiltInPolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/getBuiltinPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/getBuiltinPolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/getBuiltinPolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/getBuiltinPolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/getDataPolicyManifest.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/getDataPolicyManifest.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/getDataPolicyManifest.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/getDataPolicyManifest.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/getPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/getPolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/getPolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/getPolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/getPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/getPolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/getPolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/getPolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/getPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/getPolicyAssignmentWithIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/getPolicyAssignmentWithIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/getPolicyAssignmentWithIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/getPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/getPolicyAssignmentWithIdentityById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/getPolicyAssignmentWithIdentityById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/getPolicyAssignmentWithIdentityById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/getPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/getPolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/getPolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/getPolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/getPolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/getPolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/getPolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/getPolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/getPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/getPolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/getPolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/getPolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/getPolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/getPolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/getPolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/getPolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/listBuiltInPolicyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/listBuiltInPolicyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/listBuiltInPolicyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/listBuiltInPolicyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/listBuiltInPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/listBuiltInPolicySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/listBuiltInPolicySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/listBuiltInPolicySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/listDataPolicyManifests.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/listDataPolicyManifests.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/listDataPolicyManifests.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/listDataPolicyManifests.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/listDataPolicyManifestsNamespaceFilter.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/listDataPolicyManifestsNamespaceFilter.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/listDataPolicyManifestsNamespaceFilter.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/listDataPolicyManifestsNamespaceFilter.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/listPolicyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/listPolicyAssignments.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/listPolicyAssignments.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/listPolicyAssignments.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/listPolicyAssignmentsForManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/listPolicyAssignmentsForManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/listPolicyAssignmentsForManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/listPolicyAssignmentsForManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/listPolicyAssignmentsForResource.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/listPolicyAssignmentsForResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/listPolicyAssignmentsForResource.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/listPolicyAssignmentsForResource.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/listPolicyAssignmentsForResourceGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/listPolicyAssignmentsForResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/listPolicyAssignmentsForResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/listPolicyAssignmentsForResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/listPolicyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/listPolicyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/listPolicyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/listPolicyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/listPolicyDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/listPolicyDefinitionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/listPolicyDefinitionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/listPolicyDefinitionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/listPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/listPolicySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/listPolicySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/listPolicySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/listPolicySetDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/listPolicySetDefinitionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/listPolicySetDefinitionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/examples/listPolicySetDefinitionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/policyAssignments.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/policyAssignments.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/policyAssignments.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/policyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/policyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/policyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/policyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/policySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/policySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/policySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createOrUpdatePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/createOrUpdatePolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createOrUpdatePolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/createOrUpdatePolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createOrUpdatePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/createOrUpdatePolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createOrUpdatePolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/createOrUpdatePolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/createPolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createPolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/createPolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/createPolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createPolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/createPolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createPolicyAssignmentNonComplianceMessages.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/createPolicyAssignmentNonComplianceMessages.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createPolicyAssignmentNonComplianceMessages.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/createPolicyAssignmentNonComplianceMessages.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/createPolicyAssignmentWithIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createPolicyAssignmentWithIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/createPolicyAssignmentWithIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/createPolicyAssignmentWithIdentityById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createPolicyAssignmentWithIdentityById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/createPolicyAssignmentWithIdentityById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createPolicyAssignmentWithoutEnforcement.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/createPolicyAssignmentWithoutEnforcement.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createPolicyAssignmentWithoutEnforcement.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/createPolicyAssignmentWithoutEnforcement.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/deletePolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/deletePolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/deletePolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/deletePolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/deletePolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/deletePolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/deletePolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/deletePolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/deletePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/deletePolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/deletePolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/deletePolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/deletePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/deletePolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/deletePolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/deletePolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/deletePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/deletePolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/deletePolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/deletePolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/deletePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/deletePolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/deletePolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/deletePolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getBuiltInPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/getBuiltInPolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getBuiltInPolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/getBuiltInPolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getBuiltinPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/getBuiltinPolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getBuiltinPolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/getBuiltinPolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/getPolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/getPolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/getPolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/getPolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/getPolicyAssignmentWithIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicyAssignmentWithIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/getPolicyAssignmentWithIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/getPolicyAssignmentWithIdentityById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicyAssignmentWithIdentityById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/getPolicyAssignmentWithIdentityById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/getPolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/getPolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/getPolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/getPolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/getPolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/getPolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/getPolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/getPolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/listBuiltInPolicyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/listBuiltInPolicyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/listBuiltInPolicyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/listBuiltInPolicyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/listBuiltInPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/listBuiltInPolicySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/listBuiltInPolicySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/listBuiltInPolicySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/listPolicyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/listPolicyAssignments.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/listPolicyAssignments.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/listPolicyAssignments.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/listPolicyAssignmentsForManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/listPolicyAssignmentsForManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/listPolicyAssignmentsForManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/listPolicyAssignmentsForManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/listPolicyAssignmentsForResource.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/listPolicyAssignmentsForResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/listPolicyAssignmentsForResource.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/listPolicyAssignmentsForResource.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/listPolicyAssignmentsForResourceGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/listPolicyAssignmentsForResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/listPolicyAssignmentsForResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/listPolicyAssignmentsForResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/listPolicyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/listPolicyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/listPolicyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/listPolicyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/listPolicyDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/listPolicyDefinitionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/listPolicyDefinitionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/listPolicyDefinitionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/listPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/listPolicySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/listPolicySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/listPolicySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/listPolicySetDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/listPolicySetDefinitionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/listPolicySetDefinitionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/listPolicySetDefinitionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/updatePolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/updatePolicyAssignmentWithIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/updatePolicyAssignmentWithIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/updatePolicyAssignmentWithIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/updatePolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/updatePolicyAssignmentWithIdentityById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/updatePolicyAssignmentWithIdentityById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/updatePolicyAssignmentWithIdentityById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/policyAssignments.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/policyAssignments.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/policyAssignments.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/policyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/policyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/policyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/policyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/policySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/policySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/policySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/common/v1/types.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/common/v1/types.json new file mode 100644 index 000000000000..e76cc96fecd8 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/common/v1/types.json @@ -0,0 +1,115 @@ +{ + "swagger": "2.0", + "info": { + "title": "PolicyClient", + "version": "v1" + }, + "paths": {}, + "definitions": { + "Selector": { + "description": "The selector expression.", + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "The selector kind.", + "enum": [ + "resourceLocation", + "resourceType", + "resourceWithoutLocation", + "policyDefinitionReferenceId" + ], + "x-ms-enum": { + "name": "SelectorKind", + "modelAsString": true, + "values": [ + { + "value": "resourceLocation", + "description": "The selector kind to filter policies by the resource location." + }, + { + "value": "resourceType", + "description": "The selector kind to filter policies by the resource type." + }, + { + "value": "resourceWithoutLocation", + "description": "The selector kind to filter policies by the resource without location." + }, + { + "value": "policyDefinitionReferenceId", + "description": "The selector kind to filter policies by the policy definition reference ID." + } + ] + } + }, + "in": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of values to filter in." + }, + "notIn": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of values to filter out." + } + } + }, + "ResourceSelector": { + "description": "The resource selector to filter policies by resource properties.", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the resource selector." + }, + "selectors": { + "type": "array", + "items": { + "$ref": "#/definitions/Selector" + }, + "x-ms-identifiers": [], + "description": "The list of the selector expressions." + } + } + }, + "Override": { + "description": "The policy property value override.", + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "The override kind.", + "enum": [ + "policyEffect" + ], + "x-ms-enum": { + "name": "OverrideKind", + "modelAsString": true, + "values": [ + { + "value": "policyEffect", + "description": "It will override the policy effect type." + } + ] + } + }, + "value": { + "type": "string", + "description": "The value to override the policy property." + }, + "selectors": { + "type": "array", + "items": { + "$ref": "#/definitions/Selector" + }, + "x-ms-identifiers": [], + "description": "The list of the selector expressions." + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/createPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/createPolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/createPolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/createPolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/createPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/createPolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/createPolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/createPolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/createPolicyAssignmentNonComplianceMessages.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/createPolicyAssignmentNonComplianceMessages.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/createPolicyAssignmentNonComplianceMessages.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/createPolicyAssignmentNonComplianceMessages.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/createPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/createPolicyAssignmentWithIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/createPolicyAssignmentWithIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/createPolicyAssignmentWithIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/createPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/createPolicyAssignmentWithIdentityById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/createPolicyAssignmentWithIdentityById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/createPolicyAssignmentWithIdentityById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/createPolicyAssignmentWithOverrides.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/createPolicyAssignmentWithOverrides.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/createPolicyAssignmentWithOverrides.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/createPolicyAssignmentWithOverrides.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/createPolicyAssignmentWithResourceSelectors.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/createPolicyAssignmentWithResourceSelectors.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/createPolicyAssignmentWithResourceSelectors.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/createPolicyAssignmentWithResourceSelectors.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/createPolicyAssignmentWithoutEnforcement.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/createPolicyAssignmentWithoutEnforcement.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/createPolicyAssignmentWithoutEnforcement.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/createPolicyAssignmentWithoutEnforcement.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/deletePolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/deletePolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/deletePolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/deletePolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/deletePolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/deletePolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/deletePolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/deletePolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/getPolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/getPolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/getPolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/getPolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/getPolicyAssignmentWithIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignmentWithIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/getPolicyAssignmentWithIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/getPolicyAssignmentWithIdentityById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignmentWithIdentityById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/getPolicyAssignmentWithIdentityById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignmentWithOverrides.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/getPolicyAssignmentWithOverrides.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignmentWithOverrides.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/getPolicyAssignmentWithOverrides.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignmentWithResourceSelectors.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/getPolicyAssignmentWithResourceSelectors.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignmentWithResourceSelectors.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/getPolicyAssignmentWithResourceSelectors.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/listPolicyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/listPolicyAssignments.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/listPolicyAssignments.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/listPolicyAssignments.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/listPolicyAssignmentsForManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/listPolicyAssignmentsForManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/listPolicyAssignmentsForManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/listPolicyAssignmentsForManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/listPolicyAssignmentsForResource.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/listPolicyAssignmentsForResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/listPolicyAssignmentsForResource.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/listPolicyAssignmentsForResource.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/listPolicyAssignmentsForResourceGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/listPolicyAssignmentsForResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/listPolicyAssignmentsForResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/listPolicyAssignmentsForResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/updatePolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/updatePolicyAssignmentWithIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/updatePolicyAssignmentWithIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/updatePolicyAssignmentWithIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/updatePolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/updatePolicyAssignmentWithIdentityById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/updatePolicyAssignmentWithIdentityById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/updatePolicyAssignmentWithIdentityById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/updatePolicyAssignmentWithOverrides.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/updatePolicyAssignmentWithOverrides.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/updatePolicyAssignmentWithOverrides.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/updatePolicyAssignmentWithOverrides.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/updatePolicyAssignmentWithResourceSelectors.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/updatePolicyAssignmentWithResourceSelectors.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/updatePolicyAssignmentWithResourceSelectors.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/updatePolicyAssignmentWithResourceSelectors.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/policyAssignments.json similarity index 99% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/policyAssignments.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/policyAssignments.json index 097a64136112..b41de60086c3 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/policyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/policyAssignments.json @@ -794,7 +794,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "../../common/v1/types.json#/definitions/ResourceSelector" + "$ref": "./common/v1/types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [], "description": "The resource selector list to filter policies by resource properties." @@ -802,7 +802,7 @@ "overrides": { "type": "array", "items": { - "$ref": "../../common/v1/types.json#/definitions/Override" + "$ref": "./common/v1/types.json#/definitions/Override" }, "x-ms-identifiers": [], "description": "The policy property value override." @@ -971,7 +971,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "../../common/v1/types.json#/definitions/ResourceSelector" + "$ref": "./common/v1/types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [], "description": "The resource selector list to filter policies by resource properties." @@ -979,7 +979,7 @@ "overrides": { "type": "array", "items": { - "$ref": "../../common/v1/types.json#/definitions/Override" + "$ref": "./common/v1/types.json#/definitions/Override" }, "x-ms-identifiers": [], "description": "The policy property value override." diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/common/v1/types.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/common/v1/types.json new file mode 100644 index 000000000000..e76cc96fecd8 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/common/v1/types.json @@ -0,0 +1,115 @@ +{ + "swagger": "2.0", + "info": { + "title": "PolicyClient", + "version": "v1" + }, + "paths": {}, + "definitions": { + "Selector": { + "description": "The selector expression.", + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "The selector kind.", + "enum": [ + "resourceLocation", + "resourceType", + "resourceWithoutLocation", + "policyDefinitionReferenceId" + ], + "x-ms-enum": { + "name": "SelectorKind", + "modelAsString": true, + "values": [ + { + "value": "resourceLocation", + "description": "The selector kind to filter policies by the resource location." + }, + { + "value": "resourceType", + "description": "The selector kind to filter policies by the resource type." + }, + { + "value": "resourceWithoutLocation", + "description": "The selector kind to filter policies by the resource without location." + }, + { + "value": "policyDefinitionReferenceId", + "description": "The selector kind to filter policies by the policy definition reference ID." + } + ] + } + }, + "in": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of values to filter in." + }, + "notIn": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of values to filter out." + } + } + }, + "ResourceSelector": { + "description": "The resource selector to filter policies by resource properties.", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the resource selector." + }, + "selectors": { + "type": "array", + "items": { + "$ref": "#/definitions/Selector" + }, + "x-ms-identifiers": [], + "description": "The list of the selector expressions." + } + } + }, + "Override": { + "description": "The policy property value override.", + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "The override kind.", + "enum": [ + "policyEffect" + ], + "x-ms-enum": { + "name": "OverrideKind", + "modelAsString": true, + "values": [ + { + "value": "policyEffect", + "description": "It will override the policy effect type." + } + ] + } + }, + "value": { + "type": "string", + "description": "The value to override the policy property." + }, + "selectors": { + "type": "array", + "items": { + "$ref": "#/definitions/Selector" + }, + "x-ms-identifiers": [], + "description": "The list of the selector expressions." + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createOrUpdatePolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createOrUpdatePolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicyDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createOrUpdatePolicyDefinitionVersion.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicyDefinitionVersion.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createOrUpdatePolicyDefinitionVersion.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicyDefinitionVersionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createOrUpdatePolicyDefinitionVersionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicyDefinitionVersionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createOrUpdatePolicyDefinitionVersionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createOrUpdatePolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createOrUpdatePolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionVersion.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionVersion.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionVersion.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionVersionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionVersionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionVersionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionVersionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createPolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createPolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createPolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createPolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentNonComplianceMessages.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createPolicyAssignmentNonComplianceMessages.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentNonComplianceMessages.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createPolicyAssignmentNonComplianceMessages.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createPolicyAssignmentWithIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createPolicyAssignmentWithIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createPolicyAssignmentWithIdentityById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithIdentityById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createPolicyAssignmentWithIdentityById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithOverrides.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createPolicyAssignmentWithOverrides.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithOverrides.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createPolicyAssignmentWithOverrides.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithResourceSelectors.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createPolicyAssignmentWithResourceSelectors.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithResourceSelectors.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createPolicyAssignmentWithResourceSelectors.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithoutEnforcement.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createPolicyAssignmentWithoutEnforcement.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/createPolicyAssignmentWithoutEnforcement.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/createPolicyAssignmentWithoutEnforcement.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/deletePolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/deletePolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/deletePolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/deletePolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/deletePolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/deletePolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/deletePolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/deletePolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/deletePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/deletePolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/deletePolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/deletePolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/deletePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/deletePolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/deletePolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/deletePolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/deletePolicyDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/deletePolicyDefinitionVersion.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/deletePolicyDefinitionVersion.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/deletePolicyDefinitionVersion.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/deletePolicyDefinitionVersionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/deletePolicyDefinitionVersionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/deletePolicyDefinitionVersionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/deletePolicyDefinitionVersionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/deletePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/deletePolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/deletePolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/deletePolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/deletePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/deletePolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/deletePolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/deletePolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/deletePolicySetDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/deletePolicySetDefinitionVersion.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/deletePolicySetDefinitionVersion.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/deletePolicySetDefinitionVersion.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/deletePolicySetDefinitionVersionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/deletePolicySetDefinitionVersionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/deletePolicySetDefinitionVersionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/deletePolicySetDefinitionVersionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getBuiltInPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getBuiltInPolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getBuiltInPolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getBuiltInPolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getBuiltInPolicySetDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getBuiltInPolicySetDefinitionVersion.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getBuiltInPolicySetDefinitionVersion.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getBuiltInPolicySetDefinitionVersion.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getBuiltinPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getBuiltinPolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getBuiltinPolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getBuiltinPolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getBuiltinPolicyDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getBuiltinPolicyDefinitionVersion.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getBuiltinPolicyDefinitionVersion.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getBuiltinPolicyDefinitionVersion.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getPolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getPolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getPolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getPolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getPolicyAssignmentWithIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentWithIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getPolicyAssignmentWithIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getPolicyAssignmentWithIdentityById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentWithIdentityById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getPolicyAssignmentWithIdentityById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentWithOverrides.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getPolicyAssignmentWithOverrides.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentWithOverrides.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getPolicyAssignmentWithOverrides.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentWithResourceSelectors.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getPolicyAssignmentWithResourceSelectors.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentWithResourceSelectors.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getPolicyAssignmentWithResourceSelectors.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getPolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getPolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getPolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getPolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getPolicyDefinitionVersion.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyDefinitionVersion.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getPolicyDefinitionVersion.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyDefinitionVersionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getPolicyDefinitionVersionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicyDefinitionVersionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getPolicyDefinitionVersionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getPolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getPolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getPolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getPolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicySetDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getPolicySetDefinitionVersion.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicySetDefinitionVersion.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getPolicySetDefinitionVersion.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicySetDefinitionVersionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getPolicySetDefinitionVersionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/getPolicySetDefinitionVersionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/getPolicySetDefinitionVersionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listAllBuiltInPolicyDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listAllBuiltInPolicyDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listAllBuiltInPolicyDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listAllBuiltInPolicyDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listAllBuiltInPolicySetDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listAllBuiltInPolicySetDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listAllBuiltInPolicySetDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listAllBuiltInPolicySetDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listAllPolicyDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listAllPolicyDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listAllPolicyDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listAllPolicyDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listAllPolicyDefinitionVersionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listAllPolicyDefinitionVersionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listAllPolicyDefinitionVersionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listAllPolicyDefinitionVersionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listAllPolicySetDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listAllPolicySetDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listAllPolicySetDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listAllPolicySetDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listAllPolicySetDefinitionVersionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listAllPolicySetDefinitionVersionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listAllPolicySetDefinitionVersionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listAllPolicySetDefinitionVersionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listBuiltInPolicyDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listBuiltInPolicyDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listBuiltInPolicyDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listBuiltInPolicyDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listBuiltInPolicyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listBuiltInPolicyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listBuiltInPolicyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listBuiltInPolicyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listBuiltInPolicySetDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listBuiltInPolicySetDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listBuiltInPolicySetDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listBuiltInPolicySetDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listBuiltInPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listBuiltInPolicySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listBuiltInPolicySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listBuiltInPolicySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listPolicyAssignments.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicyAssignments.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listPolicyAssignments.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicyAssignmentsForManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listPolicyAssignmentsForManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicyAssignmentsForManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listPolicyAssignmentsForManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicyAssignmentsForResource.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listPolicyAssignmentsForResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicyAssignmentsForResource.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listPolicyAssignmentsForResource.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicyAssignmentsForResourceGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listPolicyAssignmentsForResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicyAssignmentsForResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listPolicyAssignmentsForResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicyDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listPolicyDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicyDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listPolicyDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicyDefinitionVersionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listPolicyDefinitionVersionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicyDefinitionVersionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listPolicyDefinitionVersionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listPolicyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listPolicyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicyDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listPolicyDefinitionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicyDefinitionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listPolicyDefinitionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicySetDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listPolicySetDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicySetDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listPolicySetDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicySetDefinitionVersionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listPolicySetDefinitionVersionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicySetDefinitionVersionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listPolicySetDefinitionVersionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listPolicySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listPolicySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicySetDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listPolicySetDefinitionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/listPolicySetDefinitionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/listPolicySetDefinitionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/updatePolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/updatePolicyAssignmentWithIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/updatePolicyAssignmentWithIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/updatePolicyAssignmentWithIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/updatePolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/updatePolicyAssignmentWithIdentityById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/updatePolicyAssignmentWithIdentityById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/updatePolicyAssignmentWithIdentityById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/updatePolicyAssignmentWithOverrides.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/updatePolicyAssignmentWithOverrides.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/updatePolicyAssignmentWithOverrides.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/updatePolicyAssignmentWithOverrides.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/updatePolicyAssignmentWithResourceSelectors.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/updatePolicyAssignmentWithResourceSelectors.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/updatePolicyAssignmentWithResourceSelectors.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/updatePolicyAssignmentWithResourceSelectors.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policyAssignments.json similarity index 99% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/policyAssignments.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policyAssignments.json index 2bdc3e3479ff..6b0b6fdf3061 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/policyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policyAssignments.json @@ -831,7 +831,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "../../common/v1/types.json#/definitions/ResourceSelector" + "$ref": "./common/v1/types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [], "description": "The resource selector list to filter policies by resource properties." @@ -839,7 +839,7 @@ "overrides": { "type": "array", "items": { - "$ref": "../../common/v1/types.json#/definitions/Override" + "$ref": "./common/v1/types.json#/definitions/Override" }, "x-ms-identifiers": [], "description": "The policy property value override." @@ -1008,7 +1008,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "../../common/v1/types.json#/definitions/ResourceSelector" + "$ref": "./common/v1/types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [], "description": "The resource selector list to filter policies by resource properties." @@ -1016,7 +1016,7 @@ "overrides": { "type": "array", "items": { - "$ref": "../../common/v1/types.json#/definitions/Override" + "$ref": "./common/v1/types.json#/definitions/Override" }, "x-ms-identifiers": [], "description": "The policy property value override." diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/policyDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policyDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/policyDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policyDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/policyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/policyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/policySetDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policySetDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/policySetDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policySetDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2023-04-01/policySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/common/v1/types.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/common/v1/types.json new file mode 100644 index 000000000000..e76cc96fecd8 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/common/v1/types.json @@ -0,0 +1,115 @@ +{ + "swagger": "2.0", + "info": { + "title": "PolicyClient", + "version": "v1" + }, + "paths": {}, + "definitions": { + "Selector": { + "description": "The selector expression.", + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "The selector kind.", + "enum": [ + "resourceLocation", + "resourceType", + "resourceWithoutLocation", + "policyDefinitionReferenceId" + ], + "x-ms-enum": { + "name": "SelectorKind", + "modelAsString": true, + "values": [ + { + "value": "resourceLocation", + "description": "The selector kind to filter policies by the resource location." + }, + { + "value": "resourceType", + "description": "The selector kind to filter policies by the resource type." + }, + { + "value": "resourceWithoutLocation", + "description": "The selector kind to filter policies by the resource without location." + }, + { + "value": "policyDefinitionReferenceId", + "description": "The selector kind to filter policies by the policy definition reference ID." + } + ] + } + }, + "in": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of values to filter in." + }, + "notIn": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of values to filter out." + } + } + }, + "ResourceSelector": { + "description": "The resource selector to filter policies by resource properties.", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the resource selector." + }, + "selectors": { + "type": "array", + "items": { + "$ref": "#/definitions/Selector" + }, + "x-ms-identifiers": [], + "description": "The list of the selector expressions." + } + } + }, + "Override": { + "description": "The policy property value override.", + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "The override kind.", + "enum": [ + "policyEffect" + ], + "x-ms-enum": { + "name": "OverrideKind", + "modelAsString": true, + "values": [ + { + "value": "policyEffect", + "description": "It will override the policy effect type." + } + ] + } + }, + "value": { + "type": "string", + "description": "The value to override the policy property." + }, + "selectors": { + "type": "array", + "items": { + "$ref": "#/definitions/Selector" + }, + "x-ms-identifiers": [], + "description": "The list of the selector expressions." + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/createPolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/createPolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/createPolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/createPolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentNonComplianceMessages.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/createPolicyAssignmentNonComplianceMessages.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentNonComplianceMessages.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/createPolicyAssignmentNonComplianceMessages.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/createPolicyAssignmentWithIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/createPolicyAssignmentWithIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/createPolicyAssignmentWithIdentityById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithIdentityById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/createPolicyAssignmentWithIdentityById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithOverrides.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/createPolicyAssignmentWithOverrides.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithOverrides.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/createPolicyAssignmentWithOverrides.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithResourceSelectors.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/createPolicyAssignmentWithResourceSelectors.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithResourceSelectors.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/createPolicyAssignmentWithResourceSelectors.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithoutEnforcement.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/createPolicyAssignmentWithoutEnforcement.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/createPolicyAssignmentWithoutEnforcement.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/createPolicyAssignmentWithoutEnforcement.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/deletePolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/deletePolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/deletePolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/deletePolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/deletePolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/deletePolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/deletePolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/deletePolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/getPolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/getPolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/getPolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/getPolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/getPolicyAssignmentWithIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentWithIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/getPolicyAssignmentWithIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/getPolicyAssignmentWithIdentityById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentWithIdentityById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/getPolicyAssignmentWithIdentityById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentWithOverrides.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/getPolicyAssignmentWithOverrides.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentWithOverrides.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/getPolicyAssignmentWithOverrides.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentWithResourceSelectors.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/getPolicyAssignmentWithResourceSelectors.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentWithResourceSelectors.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/getPolicyAssignmentWithResourceSelectors.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/listPolicyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/listPolicyAssignments.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/listPolicyAssignments.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/listPolicyAssignments.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/listPolicyAssignmentsForManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/listPolicyAssignmentsForManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/listPolicyAssignmentsForManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/listPolicyAssignmentsForManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/listPolicyAssignmentsForResource.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/listPolicyAssignmentsForResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/listPolicyAssignmentsForResource.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/listPolicyAssignmentsForResource.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/listPolicyAssignmentsForResourceGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/listPolicyAssignmentsForResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/listPolicyAssignmentsForResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/listPolicyAssignmentsForResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/updatePolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/updatePolicyAssignmentWithIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/updatePolicyAssignmentWithIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/updatePolicyAssignmentWithIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/updatePolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/updatePolicyAssignmentWithIdentityById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/updatePolicyAssignmentWithIdentityById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/updatePolicyAssignmentWithIdentityById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/updatePolicyAssignmentWithOverrides.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/updatePolicyAssignmentWithOverrides.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/updatePolicyAssignmentWithOverrides.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/updatePolicyAssignmentWithOverrides.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/updatePolicyAssignmentWithResourceSelectors.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/updatePolicyAssignmentWithResourceSelectors.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/updatePolicyAssignmentWithResourceSelectors.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/updatePolicyAssignmentWithResourceSelectors.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/policyAssignments.json similarity index 99% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/policyAssignments.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/policyAssignments.json index 1144f19745de..3fbe596dec93 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-04-01/policyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/policyAssignments.json @@ -831,7 +831,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "../../common/v1/types.json#/definitions/ResourceSelector" + "$ref": "./common/v1/types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [], "description": "The resource selector list to filter policies by resource properties." @@ -839,7 +839,7 @@ "overrides": { "type": "array", "items": { - "$ref": "../../common/v1/types.json#/definitions/Override" + "$ref": "./common/v1/types.json#/definitions/Override" }, "x-ms-identifiers": [], "description": "The policy property value override." @@ -1022,7 +1022,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "../../common/v1/types.json#/definitions/ResourceSelector" + "$ref": "./common/v1/types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [], "description": "The resource selector list to filter policies by resource properties." @@ -1030,7 +1030,7 @@ "overrides": { "type": "array", "items": { - "$ref": "../../common/v1/types.json#/definitions/Override" + "$ref": "./common/v1/types.json#/definitions/Override" }, "x-ms-identifiers": [], "description": "The policy property value override." diff --git a/specification/resources/resource-manager/Microsoft.Authorization/common/v2/types.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/common/v2/types.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/common/v2/types.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/common/v2/types.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createOrUpdatePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createOrUpdatePolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createOrUpdatePolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createOrUpdatePolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createOrUpdatePolicyDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createOrUpdatePolicyDefinitionVersion.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createOrUpdatePolicyDefinitionVersion.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createOrUpdatePolicyDefinitionVersion.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createOrUpdatePolicyDefinitionVersionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createOrUpdatePolicyDefinitionVersionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createOrUpdatePolicyDefinitionVersionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createOrUpdatePolicyDefinitionVersionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createOrUpdatePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createOrUpdatePolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createOrUpdatePolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createOrUpdatePolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createOrUpdatePolicySetDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createOrUpdatePolicySetDefinitionVersion.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createOrUpdatePolicySetDefinitionVersion.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createOrUpdatePolicySetDefinitionVersion.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createOrUpdatePolicySetDefinitionVersionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createOrUpdatePolicySetDefinitionVersionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createOrUpdatePolicySetDefinitionVersionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createOrUpdatePolicySetDefinitionVersionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createPolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createPolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createPolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createPolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createPolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createPolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createPolicyAssignmentNonComplianceMessages.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createPolicyAssignmentNonComplianceMessages.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createPolicyAssignmentNonComplianceMessages.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createPolicyAssignmentNonComplianceMessages.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createPolicyAssignmentWithIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createPolicyAssignmentWithIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createPolicyAssignmentWithIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createPolicyAssignmentWithIdentityById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createPolicyAssignmentWithIdentityById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createPolicyAssignmentWithIdentityById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createPolicyAssignmentWithOverrides.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createPolicyAssignmentWithOverrides.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createPolicyAssignmentWithOverrides.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createPolicyAssignmentWithOverrides.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createPolicyAssignmentWithResourceSelectors.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createPolicyAssignmentWithResourceSelectors.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createPolicyAssignmentWithResourceSelectors.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createPolicyAssignmentWithResourceSelectors.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createPolicyAssignmentWithoutEnforcement.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createPolicyAssignmentWithoutEnforcement.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/createPolicyAssignmentWithoutEnforcement.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/createPolicyAssignmentWithoutEnforcement.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/deletePolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/deletePolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/deletePolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/deletePolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/deletePolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/deletePolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/deletePolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/deletePolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/deletePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/deletePolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/deletePolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/deletePolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/deletePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/deletePolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/deletePolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/deletePolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/deletePolicyDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/deletePolicyDefinitionVersion.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/deletePolicyDefinitionVersion.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/deletePolicyDefinitionVersion.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/deletePolicyDefinitionVersionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/deletePolicyDefinitionVersionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/deletePolicyDefinitionVersionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/deletePolicyDefinitionVersionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/deletePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/deletePolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/deletePolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/deletePolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/deletePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/deletePolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/deletePolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/deletePolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/deletePolicySetDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/deletePolicySetDefinitionVersion.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/deletePolicySetDefinitionVersion.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/deletePolicySetDefinitionVersion.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/deletePolicySetDefinitionVersionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/deletePolicySetDefinitionVersionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/deletePolicySetDefinitionVersionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/deletePolicySetDefinitionVersionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getBuiltInPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getBuiltInPolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getBuiltInPolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getBuiltInPolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getBuiltInPolicySetDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getBuiltInPolicySetDefinitionVersion.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getBuiltInPolicySetDefinitionVersion.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getBuiltInPolicySetDefinitionVersion.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getBuiltinPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getBuiltinPolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getBuiltinPolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getBuiltinPolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getBuiltinPolicyDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getBuiltinPolicyDefinitionVersion.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getBuiltinPolicyDefinitionVersion.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getBuiltinPolicyDefinitionVersion.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getPolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getPolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getPolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getPolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getPolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getPolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getPolicyAssignmentWithIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getPolicyAssignmentWithIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getPolicyAssignmentWithIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getPolicyAssignmentWithIdentityById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getPolicyAssignmentWithIdentityById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getPolicyAssignmentWithIdentityById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getPolicyAssignmentWithOverrides.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getPolicyAssignmentWithOverrides.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getPolicyAssignmentWithOverrides.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getPolicyAssignmentWithOverrides.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getPolicyAssignmentWithResourceSelectors.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getPolicyAssignmentWithResourceSelectors.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getPolicyAssignmentWithResourceSelectors.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getPolicyAssignmentWithResourceSelectors.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getPolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getPolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getPolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getPolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getPolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getPolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getPolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getPolicyDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getPolicyDefinitionVersion.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getPolicyDefinitionVersion.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getPolicyDefinitionVersion.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getPolicyDefinitionVersionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getPolicyDefinitionVersionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getPolicyDefinitionVersionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getPolicyDefinitionVersionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getPolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getPolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getPolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getPolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getPolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getPolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getPolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getPolicySetDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getPolicySetDefinitionVersion.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getPolicySetDefinitionVersion.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getPolicySetDefinitionVersion.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getPolicySetDefinitionVersionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getPolicySetDefinitionVersionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/getPolicySetDefinitionVersionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/getPolicySetDefinitionVersionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listAllBuiltInPolicyDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listAllBuiltInPolicyDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listAllBuiltInPolicyDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listAllBuiltInPolicyDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listAllBuiltInPolicySetDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listAllBuiltInPolicySetDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listAllBuiltInPolicySetDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listAllBuiltInPolicySetDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listAllPolicyDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listAllPolicyDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listAllPolicyDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listAllPolicyDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listAllPolicyDefinitionVersionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listAllPolicyDefinitionVersionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listAllPolicyDefinitionVersionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listAllPolicyDefinitionVersionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listAllPolicySetDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listAllPolicySetDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listAllPolicySetDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listAllPolicySetDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listAllPolicySetDefinitionVersionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listAllPolicySetDefinitionVersionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listAllPolicySetDefinitionVersionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listAllPolicySetDefinitionVersionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listBuiltInPolicyDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listBuiltInPolicyDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listBuiltInPolicyDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listBuiltInPolicyDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listBuiltInPolicyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listBuiltInPolicyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listBuiltInPolicyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listBuiltInPolicyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listBuiltInPolicySetDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listBuiltInPolicySetDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listBuiltInPolicySetDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listBuiltInPolicySetDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listBuiltInPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listBuiltInPolicySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listBuiltInPolicySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listBuiltInPolicySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listPolicyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listPolicyAssignments.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listPolicyAssignments.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listPolicyAssignments.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listPolicyAssignmentsForManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listPolicyAssignmentsForManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listPolicyAssignmentsForManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listPolicyAssignmentsForManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listPolicyAssignmentsForResource.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listPolicyAssignmentsForResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listPolicyAssignmentsForResource.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listPolicyAssignmentsForResource.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listPolicyAssignmentsForResourceGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listPolicyAssignmentsForResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listPolicyAssignmentsForResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listPolicyAssignmentsForResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listPolicyDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listPolicyDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listPolicyDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listPolicyDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listPolicyDefinitionVersionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listPolicyDefinitionVersionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listPolicyDefinitionVersionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listPolicyDefinitionVersionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listPolicyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listPolicyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listPolicyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listPolicyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listPolicyDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listPolicyDefinitionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listPolicyDefinitionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listPolicyDefinitionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listPolicySetDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listPolicySetDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listPolicySetDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listPolicySetDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listPolicySetDefinitionVersionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listPolicySetDefinitionVersionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listPolicySetDefinitionVersionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listPolicySetDefinitionVersionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listPolicySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listPolicySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listPolicySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listPolicySetDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listPolicySetDefinitionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/listPolicySetDefinitionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/listPolicySetDefinitionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/updatePolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/updatePolicyAssignmentWithIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/updatePolicyAssignmentWithIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/updatePolicyAssignmentWithIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/updatePolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/updatePolicyAssignmentWithIdentityById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/updatePolicyAssignmentWithIdentityById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/updatePolicyAssignmentWithIdentityById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/updatePolicyAssignmentWithOverrides.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/updatePolicyAssignmentWithOverrides.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/updatePolicyAssignmentWithOverrides.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/updatePolicyAssignmentWithOverrides.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/updatePolicyAssignmentWithResourceSelectors.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/updatePolicyAssignmentWithResourceSelectors.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/updatePolicyAssignmentWithResourceSelectors.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/updatePolicyAssignmentWithResourceSelectors.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policyAssignments.json similarity index 99% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/policyAssignments.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policyAssignments.json index 752efc06eccd..c9317c7bce59 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/policyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policyAssignments.json @@ -831,7 +831,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "../../common/v2/types.json#/definitions/ResourceSelector" + "$ref": "./common/v2/types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [], "description": "The resource selector list to filter policies by resource properties." @@ -839,7 +839,7 @@ "overrides": { "type": "array", "items": { - "$ref": "../../common/v2/types.json#/definitions/Override" + "$ref": "./common/v2/types.json#/definitions/Override" }, "x-ms-identifiers": [], "description": "The policy property value override." @@ -1021,7 +1021,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "../../common/v2/types.json#/definitions/ResourceSelector" + "$ref": "./common/v2/types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [], "description": "The resource selector list to filter policies by resource properties." @@ -1029,7 +1029,7 @@ "overrides": { "type": "array", "items": { - "$ref": "../../common/v2/types.json#/definitions/Override" + "$ref": "./common/v2/types.json#/definitions/Override" }, "x-ms-identifiers": [], "description": "The policy property value override." diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/policyDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policyDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/policyDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policyDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/policyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/policyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/policySetDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policySetDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/policySetDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policySetDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2024-05-01/policySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/common/v2/types.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/common/v2/types.json new file mode 100644 index 000000000000..39b87c744fac --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/common/v2/types.json @@ -0,0 +1,120 @@ +{ + "swagger": "2.0", + "info": { + "title": "PolicyClient", + "version": "v2" + }, + "paths": {}, + "definitions": { + "Selector": { + "description": "The selector expression.", + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "The selector kind.", + "enum": [ + "resourceLocation", + "resourceType", + "resourceWithoutLocation", + "policyDefinitionReferenceId" + ], + "x-ms-enum": { + "name": "SelectorKind", + "modelAsString": true, + "values": [ + { + "value": "resourceLocation", + "description": "The selector kind to filter policies by the resource location." + }, + { + "value": "resourceType", + "description": "The selector kind to filter policies by the resource type." + }, + { + "value": "resourceWithoutLocation", + "description": "The selector kind to filter policies by the resource without location." + }, + { + "value": "policyDefinitionReferenceId", + "description": "The selector kind to filter policies by the policy definition reference ID." + } + ] + } + }, + "in": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of values to filter in." + }, + "notIn": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of values to filter out." + } + } + }, + "ResourceSelector": { + "description": "The resource selector to filter policies by resource properties.", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the resource selector." + }, + "selectors": { + "type": "array", + "items": { + "$ref": "#/definitions/Selector" + }, + "x-ms-identifiers": [], + "description": "The list of the selector expressions." + } + } + }, + "Override": { + "description": "The policy property value override.", + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "The override kind.", + "enum": [ + "policyEffect", + "definitionVersion" + ], + "x-ms-enum": { + "name": "OverrideKind", + "modelAsString": true, + "values": [ + { + "value": "policyEffect", + "description": "It will override the policy effect type." + }, + { + "value": "definitionVersion", + "description": "It will override the definition version property value of the policy assignment." + } + ] + } + }, + "value": { + "type": "string", + "description": "The value to override the policy property." + }, + "selectors": { + "type": "array", + "items": { + "$ref": "#/definitions/Selector" + }, + "x-ms-identifiers": [], + "description": "The list of the selector expressions." + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createOrUpdatePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createOrUpdatePolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createOrUpdatePolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createOrUpdatePolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createOrUpdatePolicyDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createOrUpdatePolicyDefinitionVersion.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createOrUpdatePolicyDefinitionVersion.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createOrUpdatePolicyDefinitionVersion.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createOrUpdatePolicyDefinitionVersionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createOrUpdatePolicyDefinitionVersionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createOrUpdatePolicyDefinitionVersionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createOrUpdatePolicyDefinitionVersionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createOrUpdatePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createOrUpdatePolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createOrUpdatePolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createOrUpdatePolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createOrUpdatePolicySetDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createOrUpdatePolicySetDefinitionVersion.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createOrUpdatePolicySetDefinitionVersion.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createOrUpdatePolicySetDefinitionVersion.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createOrUpdatePolicySetDefinitionVersionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createOrUpdatePolicySetDefinitionVersionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createOrUpdatePolicySetDefinitionVersionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createOrUpdatePolicySetDefinitionVersionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createPolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createPolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createPolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createPolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createPolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createPolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createPolicyAssignmentNonComplianceMessages.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createPolicyAssignmentNonComplianceMessages.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createPolicyAssignmentNonComplianceMessages.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createPolicyAssignmentNonComplianceMessages.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createPolicyAssignmentWithEnrollEnforcement.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createPolicyAssignmentWithEnrollEnforcement.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createPolicyAssignmentWithEnrollEnforcement.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createPolicyAssignmentWithEnrollEnforcement.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createPolicyAssignmentWithIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createPolicyAssignmentWithIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createPolicyAssignmentWithIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createPolicyAssignmentWithIdentityById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createPolicyAssignmentWithIdentityById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createPolicyAssignmentWithIdentityById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createPolicyAssignmentWithOverrides.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createPolicyAssignmentWithOverrides.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createPolicyAssignmentWithOverrides.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createPolicyAssignmentWithOverrides.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createPolicyAssignmentWithResourceSelectors.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createPolicyAssignmentWithResourceSelectors.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createPolicyAssignmentWithResourceSelectors.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createPolicyAssignmentWithResourceSelectors.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createPolicyAssignmentWithoutEnforcement.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createPolicyAssignmentWithoutEnforcement.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/createPolicyAssignmentWithoutEnforcement.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/createPolicyAssignmentWithoutEnforcement.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/deletePolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/deletePolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/deletePolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/deletePolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/deletePolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/deletePolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/deletePolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/deletePolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/deletePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/deletePolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/deletePolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/deletePolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/deletePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/deletePolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/deletePolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/deletePolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/deletePolicyDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/deletePolicyDefinitionVersion.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/deletePolicyDefinitionVersion.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/deletePolicyDefinitionVersion.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/deletePolicyDefinitionVersionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/deletePolicyDefinitionVersionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/deletePolicyDefinitionVersionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/deletePolicyDefinitionVersionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/deletePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/deletePolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/deletePolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/deletePolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/deletePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/deletePolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/deletePolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/deletePolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/deletePolicySetDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/deletePolicySetDefinitionVersion.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/deletePolicySetDefinitionVersion.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/deletePolicySetDefinitionVersion.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/deletePolicySetDefinitionVersionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/deletePolicySetDefinitionVersionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/deletePolicySetDefinitionVersionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/deletePolicySetDefinitionVersionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getBuiltInPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getBuiltInPolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getBuiltInPolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getBuiltInPolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getBuiltInPolicySetDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getBuiltInPolicySetDefinitionVersion.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getBuiltInPolicySetDefinitionVersion.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getBuiltInPolicySetDefinitionVersion.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getBuiltinPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getBuiltinPolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getBuiltinPolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getBuiltinPolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getBuiltinPolicyDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getBuiltinPolicyDefinitionVersion.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getBuiltinPolicyDefinitionVersion.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getBuiltinPolicyDefinitionVersion.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getPolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getPolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getPolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getPolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getPolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getPolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getPolicyAssignmentWithIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getPolicyAssignmentWithIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getPolicyAssignmentWithIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getPolicyAssignmentWithIdentityById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getPolicyAssignmentWithIdentityById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getPolicyAssignmentWithIdentityById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getPolicyAssignmentWithOverrides.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getPolicyAssignmentWithOverrides.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getPolicyAssignmentWithOverrides.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getPolicyAssignmentWithOverrides.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getPolicyAssignmentWithResourceSelectors.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getPolicyAssignmentWithResourceSelectors.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getPolicyAssignmentWithResourceSelectors.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getPolicyAssignmentWithResourceSelectors.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getPolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getPolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getPolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getPolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getPolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getPolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getPolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getPolicyDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getPolicyDefinitionVersion.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getPolicyDefinitionVersion.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getPolicyDefinitionVersion.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getPolicyDefinitionVersionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getPolicyDefinitionVersionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getPolicyDefinitionVersionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getPolicyDefinitionVersionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getPolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getPolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getPolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getPolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getPolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getPolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getPolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getPolicySetDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getPolicySetDefinitionVersion.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getPolicySetDefinitionVersion.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getPolicySetDefinitionVersion.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getPolicySetDefinitionVersionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getPolicySetDefinitionVersionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/getPolicySetDefinitionVersionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/getPolicySetDefinitionVersionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listAllBuiltInPolicyDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listAllBuiltInPolicyDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listAllBuiltInPolicyDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listAllBuiltInPolicyDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listAllBuiltInPolicySetDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listAllBuiltInPolicySetDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listAllBuiltInPolicySetDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listAllBuiltInPolicySetDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listAllPolicyDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listAllPolicyDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listAllPolicyDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listAllPolicyDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listAllPolicyDefinitionVersionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listAllPolicyDefinitionVersionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listAllPolicyDefinitionVersionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listAllPolicyDefinitionVersionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listAllPolicySetDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listAllPolicySetDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listAllPolicySetDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listAllPolicySetDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listAllPolicySetDefinitionVersionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listAllPolicySetDefinitionVersionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listAllPolicySetDefinitionVersionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listAllPolicySetDefinitionVersionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listBuiltInPolicyDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listBuiltInPolicyDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listBuiltInPolicyDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listBuiltInPolicyDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listBuiltInPolicyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listBuiltInPolicyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listBuiltInPolicyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listBuiltInPolicyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listBuiltInPolicySetDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listBuiltInPolicySetDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listBuiltInPolicySetDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listBuiltInPolicySetDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listBuiltInPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listBuiltInPolicySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listBuiltInPolicySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listBuiltInPolicySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listPolicyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listPolicyAssignments.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listPolicyAssignments.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listPolicyAssignments.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listPolicyAssignmentsForManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listPolicyAssignmentsForManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listPolicyAssignmentsForManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listPolicyAssignmentsForManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listPolicyAssignmentsForResource.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listPolicyAssignmentsForResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listPolicyAssignmentsForResource.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listPolicyAssignmentsForResource.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listPolicyAssignmentsForResourceGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listPolicyAssignmentsForResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listPolicyAssignmentsForResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listPolicyAssignmentsForResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listPolicyDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listPolicyDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listPolicyDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listPolicyDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listPolicyDefinitionVersionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listPolicyDefinitionVersionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listPolicyDefinitionVersionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listPolicyDefinitionVersionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listPolicyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listPolicyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listPolicyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listPolicyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listPolicyDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listPolicyDefinitionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listPolicyDefinitionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listPolicyDefinitionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listPolicySetDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listPolicySetDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listPolicySetDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listPolicySetDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listPolicySetDefinitionVersionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listPolicySetDefinitionVersionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listPolicySetDefinitionVersionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listPolicySetDefinitionVersionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listPolicySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listPolicySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listPolicySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listPolicySetDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listPolicySetDefinitionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/listPolicySetDefinitionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/listPolicySetDefinitionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/updatePolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/updatePolicyAssignmentWithIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/updatePolicyAssignmentWithIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/updatePolicyAssignmentWithIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/updatePolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/updatePolicyAssignmentWithIdentityById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/updatePolicyAssignmentWithIdentityById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/updatePolicyAssignmentWithIdentityById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/updatePolicyAssignmentWithOverrides.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/updatePolicyAssignmentWithOverrides.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/updatePolicyAssignmentWithOverrides.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/updatePolicyAssignmentWithOverrides.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/updatePolicyAssignmentWithResourceSelectors.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/updatePolicyAssignmentWithResourceSelectors.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/updatePolicyAssignmentWithResourceSelectors.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/updatePolicyAssignmentWithResourceSelectors.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policyAssignments.json similarity index 99% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/policyAssignments.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policyAssignments.json index e5895880291f..f405bbc60974 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/policyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policyAssignments.json @@ -836,7 +836,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "../../common/v2/types.json#/definitions/ResourceSelector" + "$ref": "./common/v2/types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [], "description": "The resource selector list to filter policies by resource properties." @@ -844,7 +844,7 @@ "overrides": { "type": "array", "items": { - "$ref": "../../common/v2/types.json#/definitions/Override" + "$ref": "./common/v2/types.json#/definitions/Override" }, "x-ms-identifiers": [], "description": "The policy property value override." @@ -1031,7 +1031,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "../../common/v2/types.json#/definitions/ResourceSelector" + "$ref": "./common/v2/types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [], "description": "The resource selector list to filter policies by resource properties." @@ -1039,7 +1039,7 @@ "overrides": { "type": "array", "items": { - "$ref": "../../common/v2/types.json#/definitions/Override" + "$ref": "./common/v2/types.json#/definitions/Override" }, "x-ms-identifiers": [], "description": "The policy property value override." diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/policyDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policyDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/policyDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policyDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/policyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/policyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/policySetDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policySetDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/policySetDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policySetDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/policySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/common/v2/types.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/common/v2/types.json new file mode 100644 index 000000000000..39b87c744fac --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/common/v2/types.json @@ -0,0 +1,120 @@ +{ + "swagger": "2.0", + "info": { + "title": "PolicyClient", + "version": "v2" + }, + "paths": {}, + "definitions": { + "Selector": { + "description": "The selector expression.", + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "The selector kind.", + "enum": [ + "resourceLocation", + "resourceType", + "resourceWithoutLocation", + "policyDefinitionReferenceId" + ], + "x-ms-enum": { + "name": "SelectorKind", + "modelAsString": true, + "values": [ + { + "value": "resourceLocation", + "description": "The selector kind to filter policies by the resource location." + }, + { + "value": "resourceType", + "description": "The selector kind to filter policies by the resource type." + }, + { + "value": "resourceWithoutLocation", + "description": "The selector kind to filter policies by the resource without location." + }, + { + "value": "policyDefinitionReferenceId", + "description": "The selector kind to filter policies by the policy definition reference ID." + } + ] + } + }, + "in": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of values to filter in." + }, + "notIn": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of values to filter out." + } + } + }, + "ResourceSelector": { + "description": "The resource selector to filter policies by resource properties.", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the resource selector." + }, + "selectors": { + "type": "array", + "items": { + "$ref": "#/definitions/Selector" + }, + "x-ms-identifiers": [], + "description": "The list of the selector expressions." + } + } + }, + "Override": { + "description": "The policy property value override.", + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "The override kind.", + "enum": [ + "policyEffect", + "definitionVersion" + ], + "x-ms-enum": { + "name": "OverrideKind", + "modelAsString": true, + "values": [ + { + "value": "policyEffect", + "description": "It will override the policy effect type." + }, + { + "value": "definitionVersion", + "description": "It will override the definition version property value of the policy assignment." + } + ] + } + }, + "value": { + "type": "string", + "description": "The value to override the policy property." + }, + "selectors": { + "type": "array", + "items": { + "$ref": "#/definitions/Selector" + }, + "x-ms-identifiers": [], + "description": "The list of the selector expressions." + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/acquirePolicyToken.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/acquirePolicyToken.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/acquirePolicyToken.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/acquirePolicyToken.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/acquirePolicyTokenAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/acquirePolicyTokenAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/acquirePolicyTokenAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/acquirePolicyTokenAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createOrUpdatePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createOrUpdatePolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createOrUpdatePolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createOrUpdatePolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createOrUpdatePolicyDefinitionExternalEvaluationEnforcementSettings.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createOrUpdatePolicyDefinitionExternalEvaluationEnforcementSettings.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createOrUpdatePolicyDefinitionExternalEvaluationEnforcementSettings.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createOrUpdatePolicyDefinitionExternalEvaluationEnforcementSettings.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createOrUpdatePolicyDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createOrUpdatePolicyDefinitionVersion.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createOrUpdatePolicyDefinitionVersion.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createOrUpdatePolicyDefinitionVersion.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createOrUpdatePolicyDefinitionVersionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createOrUpdatePolicyDefinitionVersionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createOrUpdatePolicyDefinitionVersionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createOrUpdatePolicyDefinitionVersionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createOrUpdatePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createOrUpdatePolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createOrUpdatePolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createOrUpdatePolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createOrUpdatePolicySetDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createOrUpdatePolicySetDefinitionVersion.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createOrUpdatePolicySetDefinitionVersion.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createOrUpdatePolicySetDefinitionVersion.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createOrUpdatePolicySetDefinitionVersionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createOrUpdatePolicySetDefinitionVersionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createOrUpdatePolicySetDefinitionVersionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createOrUpdatePolicySetDefinitionVersionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createPolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createPolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createPolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createPolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createPolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createPolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createPolicyAssignmentNonComplianceMessages.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createPolicyAssignmentNonComplianceMessages.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createPolicyAssignmentNonComplianceMessages.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createPolicyAssignmentNonComplianceMessages.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createPolicyAssignmentWithEnrollEnforcement.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createPolicyAssignmentWithEnrollEnforcement.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createPolicyAssignmentWithEnrollEnforcement.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createPolicyAssignmentWithEnrollEnforcement.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createPolicyAssignmentWithIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createPolicyAssignmentWithIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createPolicyAssignmentWithIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createPolicyAssignmentWithIdentityById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createPolicyAssignmentWithIdentityById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createPolicyAssignmentWithIdentityById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createPolicyAssignmentWithOverrides.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createPolicyAssignmentWithOverrides.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createPolicyAssignmentWithOverrides.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createPolicyAssignmentWithOverrides.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createPolicyAssignmentWithResourceSelectors.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createPolicyAssignmentWithResourceSelectors.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createPolicyAssignmentWithResourceSelectors.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createPolicyAssignmentWithResourceSelectors.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createPolicyAssignmentWithoutEnforcement.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createPolicyAssignmentWithoutEnforcement.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/createPolicyAssignmentWithoutEnforcement.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/createPolicyAssignmentWithoutEnforcement.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/deletePolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/deletePolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/deletePolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/deletePolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/deletePolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/deletePolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/deletePolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/deletePolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/deletePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/deletePolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/deletePolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/deletePolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/deletePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/deletePolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/deletePolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/deletePolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/deletePolicyDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/deletePolicyDefinitionVersion.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/deletePolicyDefinitionVersion.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/deletePolicyDefinitionVersion.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/deletePolicyDefinitionVersionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/deletePolicyDefinitionVersionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/deletePolicyDefinitionVersionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/deletePolicyDefinitionVersionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/deletePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/deletePolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/deletePolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/deletePolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/deletePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/deletePolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/deletePolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/deletePolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/deletePolicySetDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/deletePolicySetDefinitionVersion.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/deletePolicySetDefinitionVersion.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/deletePolicySetDefinitionVersion.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/deletePolicySetDefinitionVersionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/deletePolicySetDefinitionVersionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/deletePolicySetDefinitionVersionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/deletePolicySetDefinitionVersionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getBuiltInPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getBuiltInPolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getBuiltInPolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getBuiltInPolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getBuiltInPolicySetDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getBuiltInPolicySetDefinitionVersion.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getBuiltInPolicySetDefinitionVersion.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getBuiltInPolicySetDefinitionVersion.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getBuiltinPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getBuiltinPolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getBuiltinPolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getBuiltinPolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getBuiltinPolicyDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getBuiltinPolicyDefinitionVersion.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getBuiltinPolicyDefinitionVersion.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getBuiltinPolicyDefinitionVersion.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getPolicyAssignment.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getPolicyAssignment.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getPolicyAssignment.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getPolicyAssignmentById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getPolicyAssignmentById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getPolicyAssignmentById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getPolicyAssignmentWithIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getPolicyAssignmentWithIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getPolicyAssignmentWithIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getPolicyAssignmentWithIdentityById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getPolicyAssignmentWithIdentityById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getPolicyAssignmentWithIdentityById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getPolicyAssignmentWithOverrides.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getPolicyAssignmentWithOverrides.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getPolicyAssignmentWithOverrides.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getPolicyAssignmentWithOverrides.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getPolicyAssignmentWithResourceSelectors.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getPolicyAssignmentWithResourceSelectors.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getPolicyAssignmentWithResourceSelectors.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getPolicyAssignmentWithResourceSelectors.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getPolicyDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getPolicyDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getPolicyDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getPolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getPolicyDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getPolicyDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getPolicyDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getPolicyDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getPolicyDefinitionVersion.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getPolicyDefinitionVersion.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getPolicyDefinitionVersion.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getPolicyDefinitionVersionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getPolicyDefinitionVersionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getPolicyDefinitionVersionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getPolicyDefinitionVersionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getPolicySetDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getPolicySetDefinition.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getPolicySetDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getPolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getPolicySetDefinitionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getPolicySetDefinitionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getPolicySetDefinitionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getPolicySetDefinitionVersion.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getPolicySetDefinitionVersion.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getPolicySetDefinitionVersion.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getPolicySetDefinitionVersion.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getPolicySetDefinitionVersionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getPolicySetDefinitionVersionAtManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/getPolicySetDefinitionVersionAtManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/getPolicySetDefinitionVersionAtManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listAllBuiltInPolicyDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listAllBuiltInPolicyDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listAllBuiltInPolicyDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listAllBuiltInPolicyDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listAllBuiltInPolicySetDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listAllBuiltInPolicySetDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listAllBuiltInPolicySetDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listAllBuiltInPolicySetDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listAllPolicyDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listAllPolicyDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listAllPolicyDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listAllPolicyDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listAllPolicyDefinitionVersionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listAllPolicyDefinitionVersionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listAllPolicyDefinitionVersionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listAllPolicyDefinitionVersionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listAllPolicySetDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listAllPolicySetDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listAllPolicySetDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listAllPolicySetDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listAllPolicySetDefinitionVersionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listAllPolicySetDefinitionVersionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listAllPolicySetDefinitionVersionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listAllPolicySetDefinitionVersionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listBuiltInPolicyDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listBuiltInPolicyDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listBuiltInPolicyDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listBuiltInPolicyDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listBuiltInPolicyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listBuiltInPolicyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listBuiltInPolicyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listBuiltInPolicyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listBuiltInPolicySetDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listBuiltInPolicySetDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listBuiltInPolicySetDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listBuiltInPolicySetDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listBuiltInPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listBuiltInPolicySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listBuiltInPolicySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listBuiltInPolicySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listPolicyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listPolicyAssignments.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listPolicyAssignments.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listPolicyAssignments.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listPolicyAssignmentsForManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listPolicyAssignmentsForManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listPolicyAssignmentsForManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listPolicyAssignmentsForManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listPolicyAssignmentsForResource.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listPolicyAssignmentsForResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listPolicyAssignmentsForResource.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listPolicyAssignmentsForResource.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listPolicyAssignmentsForResourceGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listPolicyAssignmentsForResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listPolicyAssignmentsForResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listPolicyAssignmentsForResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listPolicyDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listPolicyDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listPolicyDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listPolicyDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listPolicyDefinitionVersionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listPolicyDefinitionVersionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listPolicyDefinitionVersionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listPolicyDefinitionVersionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listPolicyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listPolicyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listPolicyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listPolicyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listPolicyDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listPolicyDefinitionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listPolicyDefinitionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listPolicyDefinitionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listPolicySetDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listPolicySetDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listPolicySetDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listPolicySetDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listPolicySetDefinitionVersionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listPolicySetDefinitionVersionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listPolicySetDefinitionVersionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listPolicySetDefinitionVersionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listPolicySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listPolicySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listPolicySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listPolicySetDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listPolicySetDefinitionsByManagementGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/listPolicySetDefinitionsByManagementGroup.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/listPolicySetDefinitionsByManagementGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/updatePolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/updatePolicyAssignmentWithIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/updatePolicyAssignmentWithIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/updatePolicyAssignmentWithIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/updatePolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/updatePolicyAssignmentWithIdentityById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/updatePolicyAssignmentWithIdentityById.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/updatePolicyAssignmentWithIdentityById.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/updatePolicyAssignmentWithOverrides.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/updatePolicyAssignmentWithOverrides.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/updatePolicyAssignmentWithOverrides.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/updatePolicyAssignmentWithOverrides.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/updatePolicyAssignmentWithResourceSelectors.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/updatePolicyAssignmentWithResourceSelectors.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/updatePolicyAssignmentWithResourceSelectors.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/updatePolicyAssignmentWithResourceSelectors.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policyAssignments.json similarity index 99% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/policyAssignments.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policyAssignments.json index 88adf9932e4f..cab86153d101 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/policyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policyAssignments.json @@ -826,7 +826,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "../../common/v2/types.json#/definitions/ResourceSelector" + "$ref": "./common/v2/types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [], "description": "The resource selector list to filter policies by resource properties." @@ -834,7 +834,7 @@ "overrides": { "type": "array", "items": { - "$ref": "../../common/v2/types.json#/definitions/Override" + "$ref": "./common/v2/types.json#/definitions/Override" }, "x-ms-identifiers": [], "description": "The policy property value override." @@ -1021,7 +1021,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "../../common/v2/types.json#/definitions/ResourceSelector" + "$ref": "./common/v2/types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [], "description": "The resource selector list to filter policies by resource properties." @@ -1029,7 +1029,7 @@ "overrides": { "type": "array", "items": { - "$ref": "../../common/v2/types.json#/definitions/Override" + "$ref": "./common/v2/types.json#/definitions/Override" }, "x-ms-identifiers": [], "description": "The policy property value override." diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/policyDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policyDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/policyDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policyDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/policyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policyDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/policyDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policyDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/policySetDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policySetDefinitionVersions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/policySetDefinitionVersions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policySetDefinitionVersions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policySetDefinitions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/policySetDefinitions.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policySetDefinitions.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/policyTokens.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policyTokens.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2025-03-01/policyTokens.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policyTokens.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/suppressions.yaml b/specification/resources/resource-manager/Microsoft.Authorization/policy/suppressions.yaml new file mode 100644 index 000000000000..030d0db17201 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/suppressions.yaml @@ -0,0 +1,66 @@ +- tool: TypeSpecRequirement + path: ./preview/2015-10-01-preview/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./preview/2017-06-01-preview/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./preview/2020-07-01-preview/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./preview/2022-07-01-preview/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./preview/2022-08-01-preview/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./preview/2024-12-01-preview/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2016-04-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2016-12-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2018-03-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2018-05-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2019-01-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2019-06-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2019-09-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2020-03-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2020-09-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2021-06-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2022-06-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2023-04-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2024-04-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2024-05-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2025-01-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2025-03-01/*.json + reason: Brownfield service not ready to migrate \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.md b/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.md new file mode 100644 index 000000000000..8ee865214919 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.md @@ -0,0 +1,88 @@ +# PrivateLinks + +> see https://aka.ms/autorest + +This is the AutoRest configuration file. + +## Getting Started + +To build the SDK for Resource, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: + +> `autorest` + +To see additional help and options, run: + +> `autorest --help` + +--- + +## Configuration + +### Basic Information + +These are the global settings for the Resource API. + +``` yaml +title: PrivateLinksClient +description: PrivateLinks Client +openapi-type: arm +tag: package-privatelinks-2020-05 +``` + +### Tag: package-privatelinks-2020-05 + +These settings apply only when `--tag=package-privatelinks-2020-05` is specified on the command line. + +``` yaml $(tag) == 'package-privatelinks-2020-05' +input-file: +- stable/2020-05-01/privateLinks.json +``` + +## Suppression + +``` yaml +directive: + - suppress: OperationsAPIImplementation + from: privateLinks.json + where: $.paths + reason: operation APIs for Microsoft.Authorization are to be defined in RBAC swagger + - suppress: RequiredReadOnlySystemData + from: privateLinks.json + reason: We do not yet support system data + - suppress: TopLevelResourcesListByResourceGroup + from: privateLinks.json + reason: The resource is managed in a management group level (instead of inside a resource group) +``` + +--- + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +``` yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-net + - repo: azure-sdk-for-python + - repo: azure-sdk-for-java + - repo: azure-sdk-for-go + - repo: azure-sdk-for-node + - repo: azure-sdk-for-js + - repo: azure-resource-manager-schemas + - repo: azure-powershell +``` + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## Go + +See configuration in [readme.go.md](./readme.go.md) + +## Java + +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.python.md b/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.python.md new file mode 100644 index 000000000000..ee167149a20c --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.python.md @@ -0,0 +1,34 @@ +## Python + +These settings apply only when `--python` is specified on the command line. + +``` yaml $(python) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +package-name: azure-mgmt-resource +package-version: 1.0.0b1 +no-namespace-folders: true +reformat-next-link: false +combine-operation-files: true +clear-output-folder: true +modelerfour: + lenient-model-deduplication: true +``` + +### Python batch + +```yaml $(python) +batch: + - tag: package-privatelinks-2020-05 +``` + +### Tag: package-privatelinks-2020-05 and python + +These settings apply only when `--tag=package-privatelinks-2020-05 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-privatelinks-2020-05' +title: ResourcePrivateLinkClient +namespace: azure.mgmt.resource.privatelinks +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/privatelinks +``` diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/DeletePrivateLinkAssociation.json b/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/stable/2020-05-01/examples/DeletePrivateLinkAssociation.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/DeletePrivateLinkAssociation.json rename to specification/resources/resource-manager/Microsoft.Authorization/privatelinks/stable/2020-05-01/examples/DeletePrivateLinkAssociation.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/DeleteResourceManagementPrivateLink.json b/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/stable/2020-05-01/examples/DeleteResourceManagementPrivateLink.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/DeleteResourceManagementPrivateLink.json rename to specification/resources/resource-manager/Microsoft.Authorization/privatelinks/stable/2020-05-01/examples/DeleteResourceManagementPrivateLink.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/GetPrivateLinkAssociation.json b/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/stable/2020-05-01/examples/GetPrivateLinkAssociation.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/GetPrivateLinkAssociation.json rename to specification/resources/resource-manager/Microsoft.Authorization/privatelinks/stable/2020-05-01/examples/GetPrivateLinkAssociation.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/GetResourceManagementPrivateLink.json b/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/stable/2020-05-01/examples/GetResourceManagementPrivateLink.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/GetResourceManagementPrivateLink.json rename to specification/resources/resource-manager/Microsoft.Authorization/privatelinks/stable/2020-05-01/examples/GetResourceManagementPrivateLink.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ListPrivateLinkAssociation.json b/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/stable/2020-05-01/examples/ListPrivateLinkAssociation.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ListPrivateLinkAssociation.json rename to specification/resources/resource-manager/Microsoft.Authorization/privatelinks/stable/2020-05-01/examples/ListPrivateLinkAssociation.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ListResourceGroupResourceManagementPrivateLink.json b/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/stable/2020-05-01/examples/ListResourceGroupResourceManagementPrivateLink.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ListResourceGroupResourceManagementPrivateLink.json rename to specification/resources/resource-manager/Microsoft.Authorization/privatelinks/stable/2020-05-01/examples/ListResourceGroupResourceManagementPrivateLink.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ListSubscriptionResourceManagementPrivateLink.json b/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/stable/2020-05-01/examples/ListSubscriptionResourceManagementPrivateLink.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ListSubscriptionResourceManagementPrivateLink.json rename to specification/resources/resource-manager/Microsoft.Authorization/privatelinks/stable/2020-05-01/examples/ListSubscriptionResourceManagementPrivateLink.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/PutPrivateLinkAssociation.json b/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/stable/2020-05-01/examples/PutPrivateLinkAssociation.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/PutPrivateLinkAssociation.json rename to specification/resources/resource-manager/Microsoft.Authorization/privatelinks/stable/2020-05-01/examples/PutPrivateLinkAssociation.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/PutResourceManagementPrivateLink.json b/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/stable/2020-05-01/examples/PutResourceManagementPrivateLink.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/PutResourceManagementPrivateLink.json rename to specification/resources/resource-manager/Microsoft.Authorization/privatelinks/stable/2020-05-01/examples/PutResourceManagementPrivateLink.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/privateLinks.json b/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/stable/2020-05-01/privateLinks.json similarity index 99% rename from specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/privateLinks.json rename to specification/resources/resource-manager/Microsoft.Authorization/privatelinks/stable/2020-05-01/privateLinks.json index 7745b5ea7cc9..d32f28c1bbbd 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/privateLinks.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/stable/2020-05-01/privateLinks.json @@ -597,7 +597,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response for a resource management request." diff --git a/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/suppressions.yaml b/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/suppressions.yaml new file mode 100644 index 000000000000..49558dadb204 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/suppressions.yaml @@ -0,0 +1,3 @@ +- tool: TypeSpecRequirement + path: ./stable/2020-05-01/*.json + reason: Brownfield service not ready to migrate \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Features/features/readme.go.md b/specification/resources/resource-manager/Microsoft.Features/features/readme.go.md new file mode 100644 index 000000000000..3d7eac9e06f7 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Features/features/readme.go.md @@ -0,0 +1,21 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +### Fix up regular expressions to support Unicode. + +``` yaml +directive: + from: swagger-document # do it globally + where: $.paths..parameters[?(@.name == "resourceGroupName" || @.name == "sourceResourceGroupName")].pattern + set: ^[-\p{L}\._\(\)\w]+$ + reason: Necessary to match Unicode characters in the Go regexp engine. +``` + +``` yaml $(go) && $(track2) && $(package-features) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armfeatures +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` diff --git a/specification/resources/resource-manager/Microsoft.Features/features/readme.md b/specification/resources/resource-manager/Microsoft.Features/features/readme.md new file mode 100644 index 000000000000..24f222e54f40 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Features/features/readme.md @@ -0,0 +1,88 @@ +# Features + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Resource. + +--- + +## Getting Started + +To build the SDK for Resource, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: + +> `autorest` + +To see additional help and options, run: + +> `autorest --help` + +--- + +## Configuration + +### Basic Information + +These are the global settings for the Resource API. + +``` yaml +title: FeaturesClient +description: Features Client +openapi-type: arm +tag: package-2022-12 +``` + +### Tag: package-features-2021-07 + +These settings apply only when `--tag=package-features-2021-07` is specified on the command line. + +``` yaml $(tag) == 'package-features-2021-07' +input-file: +- Microsoft.Features/stable/2021-07-01/features.json +- Microsoft.Features/stable/2021-07-01/SubscriptionFeatureRegistration.json + +# Needed when there is more than one input file +override-info: + title: FeatureClient +``` + +### Tag: package-features-2015-12 + +These settings apply only when `--tag=package-features-2015-12` is specified on the command line. + +``` yaml $(tag) == 'package-features-2015-12' +input-file: +- Microsoft.Features/stable/2015-12-01/features.json +``` + +--- + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +``` yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-net + - repo: azure-sdk-for-python + - repo: azure-sdk-for-java + - repo: azure-sdk-for-go + - repo: azure-sdk-for-node + - repo: azure-sdk-for-js + - repo: azure-resource-manager-schemas + - repo: azure-powershell +``` + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## Go + +See configuration in [readme.go.md](./readme.go.md) + +## Java + +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/resources/resource-manager/Microsoft.Features/features/readme.nodejs.md b/specification/resources/resource-manager/Microsoft.Features/features/readme.nodejs.md new file mode 100644 index 000000000000..ee70d9e19bec --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Features/features/readme.nodejs.md @@ -0,0 +1,22 @@ +## Node.js + +These settings apply only when `--nodejs` is specified on the command line. +Please also specify `--node-sdks-folder=`. + +```yaml $(nodejs) +nodejs: + azure-arm: true + batch: true + package-name: azure-arm-resource + generate-license-txt: true + generate-package-json: false + generate-readme-md: false + output-folder: $(node-sdks-folder)/lib/services/resourceManagement +batch: + - package-features: true +``` + +```yaml $(nodejs) && $(package-features) +nodejs: + source-code-folder-path: lib/feature +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Features/features/readme.python.md b/specification/resources/resource-manager/Microsoft.Features/features/readme.python.md new file mode 100644 index 000000000000..a6cb7f998145 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Features/features/readme.python.md @@ -0,0 +1,34 @@ +## Python + +These settings apply only when `--python` is specified on the command line. + +``` yaml $(python) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +package-name: azure-mgmt-resource +package-version: 1.0.0b1 +no-namespace-folders: true +reformat-next-link: false +combine-operation-files: true +clear-output-folder: true +modelerfour: + lenient-model-deduplication: true +``` + +### Python batch + +```yaml $(python) +batch: + - tag: package-features-2021-07 +``` + +### Tag: package-features-2021-07 and python + +These settings apply only when `--tag=package-features-2021-07 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-features-2021-07' +title: FeatureClient +namespace: azure.mgmt.resource.features +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/features +``` diff --git a/specification/resources/resource-manager/Microsoft.Features/features/readme.ruby.md b/specification/resources/resource-manager/Microsoft.Features/features/readme.ruby.md new file mode 100644 index 000000000000..084b81f72b20 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Features/features/readme.ruby.md @@ -0,0 +1,30 @@ +### Ruby multi-api for features + +``` yaml $(multiapi) && $(features) +package-name: azure_mgmt_features +package-version: "0.16.0" +azure-arm: true +batch: + - tag: package-features-2021-07 + - tag: package-features-2015-12 +``` + +### Tag: package-features-2021-07 and ruby + +These settings apply only when `--tag=package-features-2021-07 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-features-2021-07' && $(ruby) +namespace: "Azure::Features::Mgmt::V2021_07_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_features/lib +``` + +### Tag: package-features-2015-12 and ruby + +These settings apply only when `--tag=package-features-2015-12 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-features-2015-12' && $(ruby) +namespace: "Azure::Features::Mgmt::V2015_12_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_features/lib +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Features/features/readme.terraform.md b/specification/resources/resource-manager/Microsoft.Features/features/readme.terraform.md new file mode 100644 index 000000000000..80c0f7cf2c86 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Features/features/readme.terraform.md @@ -0,0 +1,24 @@ + +## Terraform + +These settings apply only when `--terraform` is specified on the command line. + + +``` yaml $(terraform) +batch: + - package-features: true +``` + +```yaml $(terraform) && $(package-features) +terraform: + cli-name: features + package-name: features +output-folder: $(terraform-output-folder)/features +clear-output-folder: true +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Features/features/readme.typescript.md b/specification/resources/resource-manager/Microsoft.Features/features/readme.typescript.md new file mode 100644 index 000000000000..2c4a0baad459 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Features/features/readme.typescript.md @@ -0,0 +1,19 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +```yaml $(typescript) && !$(profile-content) +typescript: + azure-arm: true + batch: true + generate-metadata: true +batch: + - package-features: true +``` + +```yaml $(typescript) && $(package-features) && !$(profile-content) +typescript: + package-name: "@azure/arm-features" + output-folder: "$(typescript-sdks-folder)/sdk/features/arm-features" +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/examples/getFeature.json b/specification/resources/resource-manager/Microsoft.Features/features/stable/2015-12-01/examples/getFeature.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/examples/getFeature.json rename to specification/resources/resource-manager/Microsoft.Features/features/stable/2015-12-01/examples/getFeature.json diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/examples/listFeaturesOperations.json b/specification/resources/resource-manager/Microsoft.Features/features/stable/2015-12-01/examples/listFeaturesOperations.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/examples/listFeaturesOperations.json rename to specification/resources/resource-manager/Microsoft.Features/features/stable/2015-12-01/examples/listFeaturesOperations.json diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/examples/listProviderFeatures.json b/specification/resources/resource-manager/Microsoft.Features/features/stable/2015-12-01/examples/listProviderFeatures.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/examples/listProviderFeatures.json rename to specification/resources/resource-manager/Microsoft.Features/features/stable/2015-12-01/examples/listProviderFeatures.json diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/examples/listSubscriptionFeatures.json b/specification/resources/resource-manager/Microsoft.Features/features/stable/2015-12-01/examples/listSubscriptionFeatures.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/examples/listSubscriptionFeatures.json rename to specification/resources/resource-manager/Microsoft.Features/features/stable/2015-12-01/examples/listSubscriptionFeatures.json diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/examples/registerFeature.json b/specification/resources/resource-manager/Microsoft.Features/features/stable/2015-12-01/examples/registerFeature.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/examples/registerFeature.json rename to specification/resources/resource-manager/Microsoft.Features/features/stable/2015-12-01/examples/registerFeature.json diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/examples/unregisterFeature.json b/specification/resources/resource-manager/Microsoft.Features/features/stable/2015-12-01/examples/unregisterFeature.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/examples/unregisterFeature.json rename to specification/resources/resource-manager/Microsoft.Features/features/stable/2015-12-01/examples/unregisterFeature.json diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/features.json b/specification/resources/resource-manager/Microsoft.Features/features/stable/2015-12-01/features.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Features/stable/2015-12-01/features.json rename to specification/resources/resource-manager/Microsoft.Features/features/stable/2015-12-01/features.json diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/SubscriptionFeatureRegistration.json b/specification/resources/resource-manager/Microsoft.Features/features/stable/2021-07-01/SubscriptionFeatureRegistration.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/SubscriptionFeatureRegistration.json rename to specification/resources/resource-manager/Microsoft.Features/features/stable/2021-07-01/SubscriptionFeatureRegistration.json diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationDELETE.json b/specification/resources/resource-manager/Microsoft.Features/features/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationDELETE.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationDELETE.json rename to specification/resources/resource-manager/Microsoft.Features/features/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationDELETE.json diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationGET.json b/specification/resources/resource-manager/Microsoft.Features/features/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationGET.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationGET.json rename to specification/resources/resource-manager/Microsoft.Features/features/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationGET.json diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationLIST.json b/specification/resources/resource-manager/Microsoft.Features/features/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationLIST.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationLIST.json rename to specification/resources/resource-manager/Microsoft.Features/features/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationLIST.json diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationLISTALL.json b/specification/resources/resource-manager/Microsoft.Features/features/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationLISTALL.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationLISTALL.json rename to specification/resources/resource-manager/Microsoft.Features/features/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationLISTALL.json diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationPUT.json b/specification/resources/resource-manager/Microsoft.Features/features/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationPUT.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationPUT.json rename to specification/resources/resource-manager/Microsoft.Features/features/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationPUT.json diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/getFeature.json b/specification/resources/resource-manager/Microsoft.Features/features/stable/2021-07-01/examples/getFeature.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/getFeature.json rename to specification/resources/resource-manager/Microsoft.Features/features/stable/2021-07-01/examples/getFeature.json diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/listFeaturesOperations.json b/specification/resources/resource-manager/Microsoft.Features/features/stable/2021-07-01/examples/listFeaturesOperations.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/listFeaturesOperations.json rename to specification/resources/resource-manager/Microsoft.Features/features/stable/2021-07-01/examples/listFeaturesOperations.json diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/listProviderFeatures.json b/specification/resources/resource-manager/Microsoft.Features/features/stable/2021-07-01/examples/listProviderFeatures.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/listProviderFeatures.json rename to specification/resources/resource-manager/Microsoft.Features/features/stable/2021-07-01/examples/listProviderFeatures.json diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/listSubscriptionFeatures.json b/specification/resources/resource-manager/Microsoft.Features/features/stable/2021-07-01/examples/listSubscriptionFeatures.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/listSubscriptionFeatures.json rename to specification/resources/resource-manager/Microsoft.Features/features/stable/2021-07-01/examples/listSubscriptionFeatures.json diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/registerFeature.json b/specification/resources/resource-manager/Microsoft.Features/features/stable/2021-07-01/examples/registerFeature.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/registerFeature.json rename to specification/resources/resource-manager/Microsoft.Features/features/stable/2021-07-01/examples/registerFeature.json diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/unregisterFeature.json b/specification/resources/resource-manager/Microsoft.Features/features/stable/2021-07-01/examples/unregisterFeature.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/unregisterFeature.json rename to specification/resources/resource-manager/Microsoft.Features/features/stable/2021-07-01/examples/unregisterFeature.json diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/features.json b/specification/resources/resource-manager/Microsoft.Features/features/stable/2021-07-01/features.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/features.json rename to specification/resources/resource-manager/Microsoft.Features/features/stable/2021-07-01/features.json diff --git a/specification/resources/resource-manager/Microsoft.Features/features/suppressions.yaml b/specification/resources/resource-manager/Microsoft.Features/features/suppressions.yaml new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/specification/resources/Bicep.Management/client.tsp b/specification/resources/resource-manager/Microsoft.Resources/bicep/client.tsp similarity index 100% rename from specification/resources/Bicep.Management/client.tsp rename to specification/resources/resource-manager/Microsoft.Resources/bicep/client.tsp diff --git a/specification/resources/Bicep.Management/examples/2023-11-01/DecompileBicep.json b/specification/resources/resource-manager/Microsoft.Resources/bicep/examples/2023-11-01/DecompileBicep.json similarity index 100% rename from specification/resources/Bicep.Management/examples/2023-11-01/DecompileBicep.json rename to specification/resources/resource-manager/Microsoft.Resources/bicep/examples/2023-11-01/DecompileBicep.json diff --git a/specification/resources/Bicep.Management/main.tsp b/specification/resources/resource-manager/Microsoft.Resources/bicep/main.tsp similarity index 100% rename from specification/resources/Bicep.Management/main.tsp rename to specification/resources/resource-manager/Microsoft.Resources/bicep/main.tsp diff --git a/specification/resources/Bicep.Management/models.tsp b/specification/resources/resource-manager/Microsoft.Resources/bicep/models.tsp similarity index 100% rename from specification/resources/Bicep.Management/models.tsp rename to specification/resources/resource-manager/Microsoft.Resources/bicep/models.tsp diff --git a/specification/resources/Bicep.Management/routes.tsp b/specification/resources/resource-manager/Microsoft.Resources/bicep/routes.tsp similarity index 100% rename from specification/resources/Bicep.Management/routes.tsp rename to specification/resources/resource-manager/Microsoft.Resources/bicep/routes.tsp diff --git a/specification/resources/resource-manager/Microsoft.Resources/bicep/suppressions.yaml b/specification/resources/resource-manager/Microsoft.Resources/bicep/suppressions.yaml new file mode 100644 index 000000000000..c7bf35f91a5f --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/bicep/suppressions.yaml @@ -0,0 +1,4 @@ +- tool: TypeSpecRequirement + paths: + - bicep/stable/2023-11-01/bicepClient.json + reason: Brownfield service not ready to migrate \ No newline at end of file diff --git a/specification/resources/Bicep.Management/tspconfig.yaml b/specification/resources/resource-manager/Microsoft.Resources/bicep/tspconfig.yaml similarity index 89% rename from specification/resources/Bicep.Management/tspconfig.yaml rename to specification/resources/resource-manager/Microsoft.Resources/bicep/tspconfig.yaml index 066aea2f5b0f..575e4f36d75c 100644 --- a/specification/resources/Bicep.Management/tspconfig.yaml +++ b/specification/resources/resource-manager/Microsoft.Resources/bicep/tspconfig.yaml @@ -6,9 +6,10 @@ emit: options: "@azure-tools/typespec-autorest": omit-unreachable-types: true - emitter-output-dir: "{project-root}/.." + emitter-output-dir: "{project-root}" azure-resource-provider-folder: "resource-manager" - output-file: "{azure-resource-provider-folder}/Microsoft.Resources/bicep/{version-status}/{version}/bicepClient.json" + output-file: "{version-status}/{version}/bicepClient.json" + arm-types-dir: "{project-root}/../../../../common-types/resource-management" examples-dir: "{project-root}/examples" "@azure-tools/typespec-csharp": emitter-output-dir: "{output-dir}/{service-dir}/{namespace}" diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-03-01-preview/changes.json b/specification/resources/resource-manager/Microsoft.Resources/changes/preview/2022-03-01-preview/changes.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/preview/2022-03-01-preview/changes.json rename to specification/resources/resource-manager/Microsoft.Resources/changes/preview/2022-03-01-preview/changes.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-03-01-preview/examples/GetChange.json b/specification/resources/resource-manager/Microsoft.Resources/changes/preview/2022-03-01-preview/examples/GetChange.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/preview/2022-03-01-preview/examples/GetChange.json rename to specification/resources/resource-manager/Microsoft.Resources/changes/preview/2022-03-01-preview/examples/GetChange.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-03-01-preview/examples/ListChanges.json b/specification/resources/resource-manager/Microsoft.Resources/changes/preview/2022-03-01-preview/examples/ListChanges.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/preview/2022-03-01-preview/examples/ListChanges.json rename to specification/resources/resource-manager/Microsoft.Resources/changes/preview/2022-03-01-preview/examples/ListChanges.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2023-03-01-preview/changes.json b/specification/resources/resource-manager/Microsoft.Resources/changes/preview/2023-03-01-preview/changes.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/preview/2023-03-01-preview/changes.json rename to specification/resources/resource-manager/Microsoft.Resources/changes/preview/2023-03-01-preview/changes.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2023-03-01-preview/examples/GetChange.json b/specification/resources/resource-manager/Microsoft.Resources/changes/preview/2023-03-01-preview/examples/GetChange.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/preview/2023-03-01-preview/examples/GetChange.json rename to specification/resources/resource-manager/Microsoft.Resources/changes/preview/2023-03-01-preview/examples/GetChange.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2023-03-01-preview/examples/ListChanges.json b/specification/resources/resource-manager/Microsoft.Resources/changes/preview/2023-03-01-preview/examples/ListChanges.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/preview/2023-03-01-preview/examples/ListChanges.json rename to specification/resources/resource-manager/Microsoft.Resources/changes/preview/2023-03-01-preview/examples/ListChanges.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2023-07-01-preview/changes.json b/specification/resources/resource-manager/Microsoft.Resources/changes/preview/2023-07-01-preview/changes.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/preview/2023-07-01-preview/changes.json rename to specification/resources/resource-manager/Microsoft.Resources/changes/preview/2023-07-01-preview/changes.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2023-07-01-preview/examples/GetChange.json b/specification/resources/resource-manager/Microsoft.Resources/changes/preview/2023-07-01-preview/examples/GetChange.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/preview/2023-07-01-preview/examples/GetChange.json rename to specification/resources/resource-manager/Microsoft.Resources/changes/preview/2023-07-01-preview/examples/GetChange.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2023-07-01-preview/examples/ListChanges.json b/specification/resources/resource-manager/Microsoft.Resources/changes/preview/2023-07-01-preview/examples/ListChanges.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/preview/2023-07-01-preview/examples/ListChanges.json rename to specification/resources/resource-manager/Microsoft.Resources/changes/preview/2023-07-01-preview/examples/ListChanges.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2024-06-01-preview/changes.json b/specification/resources/resource-manager/Microsoft.Resources/changes/preview/2024-06-01-preview/changes.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/preview/2024-06-01-preview/changes.json rename to specification/resources/resource-manager/Microsoft.Resources/changes/preview/2024-06-01-preview/changes.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2024-06-01-preview/examples/GetChange.json b/specification/resources/resource-manager/Microsoft.Resources/changes/preview/2024-06-01-preview/examples/GetChange.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/preview/2024-06-01-preview/examples/GetChange.json rename to specification/resources/resource-manager/Microsoft.Resources/changes/preview/2024-06-01-preview/examples/GetChange.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2024-06-01-preview/examples/ListChanges.json b/specification/resources/resource-manager/Microsoft.Resources/changes/preview/2024-06-01-preview/examples/ListChanges.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/preview/2024-06-01-preview/examples/ListChanges.json rename to specification/resources/resource-manager/Microsoft.Resources/changes/preview/2024-06-01-preview/examples/ListChanges.json diff --git a/specification/resources/resource-manager/readme.go.md b/specification/resources/resource-manager/Microsoft.Resources/changes/readme.go.md similarity index 100% rename from specification/resources/resource-manager/readme.go.md rename to specification/resources/resource-manager/Microsoft.Resources/changes/readme.go.md diff --git a/specification/resources/resource-manager/readme.java.md b/specification/resources/resource-manager/Microsoft.Resources/changes/readme.java.md similarity index 100% rename from specification/resources/resource-manager/readme.java.md rename to specification/resources/resource-manager/Microsoft.Resources/changes/readme.java.md diff --git a/specification/resources/resource-manager/Microsoft.Resources/changes/readme.md b/specification/resources/resource-manager/Microsoft.Resources/changes/readme.md new file mode 100644 index 000000000000..02a1874b2cef --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/changes/readme.md @@ -0,0 +1,130 @@ +# Changes + +> see https://aka.ms/autorest + +This is the AutoRest configuration file. + +## Getting Started + +To build the SDK for Resource, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: + +> `autorest` + +To see additional help and options, run: + +> `autorest --help` + +--- + +## Configuration + +### Basic Information + +These are the global settings for the Resource API. + +``` yaml +title: ChangesClient +description: Changes Client +openapi-type: arm +tag: package-resources-2025-04 +``` + +### Tag: package-changes-2023-03-01-preview + +These settings apply only when `--tag=package-changes-2023-03-01-preview` is specified on the command line. + +``` yaml $(tag) == 'package-changes-2023-03-01-preview' +input-file: +- Microsoft.Resources/preview/2023-03-01-preview/changes.json +``` + +### Tag: package-changes-2023-07-01-preview + +These settings apply only when `--tag=package-changes-2023-07-01-preview` is specified on the command line. + +``` yaml $(tag) == 'package-changes-2023-07-01-preview' +input-file: +- Microsoft.Resources/preview/2023-07-01-preview/changes.json +``` + +### Tag: package-changes-2024-06-01-preview + +These settings apply only when `--tag=package-changes-2024-06-01-preview` is specified on the command line. + +``` yaml $(tag) == 'package-changes-2024-06-01-preview' +input-file: +- Microsoft.Resources/preview/2024-06-01-preview/changes.json +``` + +### Tag: package-changes-2022-05 + +These settings apply only when `--tag=package-changes-2022-05` is specified on the command line. + +``` yaml $(tag) == 'package-changes-2022-05' +input-file: +- Microsoft.Resources/stable/2022-05-01/changes.json +``` + +### Tag: package-changes-2022-03-01-preview + +These settings apply only when `--tag=package-changes-2022-03-01-preview` is specified on the command line. + +``` yaml $(tag) == 'package-changes-2022-03-01-preview' +input-file: +- Microsoft.Resources/preview/2022-03-01-preview/changes.json +``` + +## Suppression + +``` yaml +directive: + - suppress: TopLevelResourcesListBySubscription + from: changes.json + reason: We will be pushing customers to use Azure Resource Graph for those at scale scenarios. + - from: changes.json + suppress: OperationsAPIImplementation + where: $.paths + reason: 'Duplicate Operations API causes generation issues' + - suppress: RequiredReadOnlySystemData + from: changes.json + reason: System Metadata from a change resource perspective is irrelevant + - suppress: ResourceNameRestriction + from: changes.json + reason: change resources cannot be created or named by end users + - from: changes.json + suppress: OperationsAPIImplementation + reason: Duplicate Operations API causes generation issues +``` + +--- + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +``` yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-net + - repo: azure-sdk-for-python + - repo: azure-sdk-for-java + - repo: azure-sdk-for-go + - repo: azure-sdk-for-node + - repo: azure-sdk-for-js + - repo: azure-resource-manager-schemas + - repo: azure-powershell +``` + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## Go + +See configuration in [readme.go.md](./readme.go.md) + +## Java + +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/resources/resource-manager/readme.nodejs.md b/specification/resources/resource-manager/Microsoft.Resources/changes/readme.nodejs.md similarity index 100% rename from specification/resources/resource-manager/readme.nodejs.md rename to specification/resources/resource-manager/Microsoft.Resources/changes/readme.nodejs.md diff --git a/specification/resources/resource-manager/readme.python.md b/specification/resources/resource-manager/Microsoft.Resources/changes/readme.python.md similarity index 100% rename from specification/resources/resource-manager/readme.python.md rename to specification/resources/resource-manager/Microsoft.Resources/changes/readme.python.md diff --git a/specification/resources/resource-manager/readme.ruby.md b/specification/resources/resource-manager/Microsoft.Resources/changes/readme.ruby.md similarity index 100% rename from specification/resources/resource-manager/readme.ruby.md rename to specification/resources/resource-manager/Microsoft.Resources/changes/readme.ruby.md diff --git a/specification/resources/resource-manager/readme.terraform.md b/specification/resources/resource-manager/Microsoft.Resources/changes/readme.terraform.md similarity index 100% rename from specification/resources/resource-manager/readme.terraform.md rename to specification/resources/resource-manager/Microsoft.Resources/changes/readme.terraform.md diff --git a/specification/resources/resource-manager/readme.typescript.md b/specification/resources/resource-manager/Microsoft.Resources/changes/readme.typescript.md similarity index 100% rename from specification/resources/resource-manager/readme.typescript.md rename to specification/resources/resource-manager/Microsoft.Resources/changes/readme.typescript.md diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-05-01/changes.json b/specification/resources/resource-manager/Microsoft.Resources/changes/stable/2022-05-01/changes.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2022-05-01/changes.json rename to specification/resources/resource-manager/Microsoft.Resources/changes/stable/2022-05-01/changes.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-05-01/examples/GetChange.json b/specification/resources/resource-manager/Microsoft.Resources/changes/stable/2022-05-01/examples/GetChange.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2022-05-01/examples/GetChange.json rename to specification/resources/resource-manager/Microsoft.Resources/changes/stable/2022-05-01/examples/GetChange.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-05-01/examples/ListChanges.json b/specification/resources/resource-manager/Microsoft.Resources/changes/stable/2022-05-01/examples/ListChanges.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2022-05-01/examples/ListChanges.json rename to specification/resources/resource-manager/Microsoft.Resources/changes/stable/2022-05-01/examples/ListChanges.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.go.md b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.go.md new file mode 100644 index 000000000000..e439424a6139 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.go.md @@ -0,0 +1,87 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +### Fix up regular expressions to support Unicode. + +``` yaml +directive: + from: swagger-document # do it globally + where: $.paths..parameters[?(@.name == "resourceGroupName" || @.name == "sourceResourceGroupName")].pattern + set: ^[-\p{L}\._\(\)\w]+$ + reason: Necessary to match Unicode characters in the Go regexp engine. +``` + +``` yaml $(go) && $(track2) && $(package-resources) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armresources +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` + +``` yaml $(go) && $(track2) && $(package-features) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armfeatures +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` + +``` yaml $(go) && $(track2) && $(package-links) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armlinks +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` + +``` yaml $(go) && $(track2) && $(package-locks) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armlocks +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` + +``` yaml $(go) && $(track2) && $(package-managedapplications) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armmanagedapplications +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` + +``` yaml $(go) && $(track2) && $(package-policy) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armpolicy +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` + +``` yaml $(go) && $(track2) && $(package-subscriptions) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armsubscriptions +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +modelerfour: + lenient-model-deduplication: true +``` + +``` yaml $(go) && $(track2) && $(package-changes) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armchanges +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` + +``` yaml $(go) && $(track2) && $(package-databoundaries) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/databoundaries/armdataboundaries +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.java.md b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.java.md new file mode 100644 index 000000000000..6dedca1a0423 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.java.md @@ -0,0 +1,60 @@ +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +enable-sync-stack: false + +directive: + - rename-operation: + from: Tags_DeleteValue + to: TagOperations_DeleteValue + - rename-operation: + from: Tags_CreateOrUpdateValue + to: TagOperations_CreateOrUpdateValue + - rename-operation: + from: Tags_CreateOrUpdate + to: TagOperations_CreateOrUpdate + - rename-operation: + from: Tags_Delete + to: TagOperations_Delete + - rename-operation: + from: Tags_DeleteValue + to: TagOperations_DeleteValue + - rename-operation: + from: Tags_List + to: TagOperations_List + - rename-operation: + from: Tags_CreateOrUpdateAtScope + to: TagOperations_CreateOrUpdateAtScope + - rename-operation: + from: Tags_UpdateAtScope + to: TagOperations_UpdateAtScope + - rename-operation: + from: Tags_GetAtScope + to: TagOperations_GetAtScope + - rename-operation: + from: Tags_DeleteAtScope + to: TagOperations_DeleteAtScope +``` + +``` yaml $(tag) == 'package-policy-2022-06-java' +input-file: +- Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json +- Microsoft.Authorization/stable/2021-06-01/policyDefinitions.json +- Microsoft.Authorization/stable/2021-06-01/policySetDefinitions.json +- Microsoft.Authorization/stable/2022-06-01/policyAssignments.json +- Microsoft.Authorization/preview/2022-07-01-preview/policyExemptions.json +``` + +``` yaml $(tag) == 'package-policy-2023-04-java' +input-file: +- Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json +- Microsoft.Authorization/stable/2023-04-01/policyDefinitions.json +- Microsoft.Authorization/stable/2023-04-01/policyDefinitionVersions.json +- Microsoft.Authorization/stable/2023-04-01/policySetDefinitions.json +- Microsoft.Authorization/stable/2023-04-01/policySetDefinitionVersions.json +- Microsoft.Authorization/stable/2023-04-01/policyAssignments.json +- Microsoft.Authorization/preview/2022-07-01-preview/policyExemptions.json +``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.md b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.md new file mode 100644 index 000000000000..ccbd70ab51b4 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.md @@ -0,0 +1,84 @@ +# DataBoundaries + +> see https://aka.ms/autorest + +This is the AutoRest configuration file. + +## Getting Started + +To build the SDK for Resource, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: + +> `autorest` + +To see additional help and options, run: + +> `autorest --help` + +--- + +## Configuration + +### Basic Information + +These are the global settings for the Resource API. + +``` yaml +title: DataBoundariesClient +description: DataBoundaries Client +openapi-type: arm +tag: package-resources-2025-04 +``` + +### Tag: package-databoundaries-2024-08 + +These settings apply only when `--tag=package-databoundaries-2024-08` is specified on the command line. + +``` yaml $(tag) == 'package-databoundaries-2024-08' +input-file: + - Microsoft.Resources/stable/2024-08-01/dataBoundaries.json +``` + +## Suppression + +``` yaml +directive: + - suppress: TenantLevelAPIsNotAllowed + from: dataBoundaries.json + reason: "Have approval from the PAS team." + - suppress: GetCollectionResponseSchema + from: dataBoundaries.json + reason: "Do not have any list calls." +``` + +--- + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +``` yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-net + - repo: azure-sdk-for-python + - repo: azure-sdk-for-java + - repo: azure-sdk-for-go + - repo: azure-sdk-for-node + - repo: azure-sdk-for-js + - repo: azure-resource-manager-schemas + - repo: azure-powershell +``` + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## Go + +See configuration in [readme.go.md](./readme.go.md) + +## Java + +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.nodejs.md b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.nodejs.md new file mode 100644 index 000000000000..1787b7880294 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.nodejs.md @@ -0,0 +1,59 @@ +## Node.js + +These settings apply only when `--nodejs` is specified on the command line. +Please also specify `--node-sdks-folder=`. + +```yaml $(nodejs) +nodejs: + azure-arm: true + batch: true + package-name: azure-arm-resource + generate-license-txt: true + generate-package-json: false + generate-readme-md: false + output-folder: $(node-sdks-folder)/lib/services/resourceManagement +batch: + - package-features: true + - package-locks: true + - package-policy: true + - package-resources: true + - package-subscriptions: true + - package-links: true + - package-managedapplications: true +``` + +```yaml $(nodejs) && $(package-features) +nodejs: + source-code-folder-path: lib/feature +``` + +```yaml $(nodejs) && $(package-locks) +nodejs: + source-code-folder-path: lib/lock +``` + +```yaml $(nodejs) && $(package-policy) +nodejs: + source-code-folder-path: lib/policy +``` + +```yaml $(nodejs) && $(package-resources) +nodejs: + source-code-folder-path: lib/resource +``` + +```yaml $(nodejs) && $(package-subscriptions) +nodejs: + source-code-folder-path: lib/subscription +``` + +```yaml $(nodejs) && $(package-links) +nodejs: + source-code-folder-path: lib/link +``` + +```yaml $(nodejs) && $(package-management) +nodejs: + source-code-folder-path: lib/management + override-client-name: ManagementGroupsClient +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.python.md b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.python.md new file mode 100644 index 000000000000..9ecd5cfb7b4b --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.python.md @@ -0,0 +1,144 @@ +## Python + +These settings apply only when `--python` is specified on the command line. + +``` yaml $(python) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +package-name: azure-mgmt-resource +package-version: 1.0.0b1 +no-namespace-folders: true +reformat-next-link: false +combine-operation-files: true +clear-output-folder: true +modelerfour: + lenient-model-deduplication: true +``` + +### Python batch + +```yaml $(python) +batch: + - tag: package-privatelinks-2020-05 + - tag: package-features-2021-07 + - tag: package-links-2016-09 + - tag: package-locks-2016-09 + - tag: package-managedapplications-2019-07 + - tag: package-policy-2023-04 + - tag: package-resources-2025-04 + - tag: package-subscriptions-2022-12 + - tag: package-changes-2022-05 + - tag: package-databoundaries-2024-08 +``` + +### Tag: package-privatelinks-2020-05 and python + +These settings apply only when `--tag=package-privatelinks-2020-05 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-privatelinks-2020-05' +title: ResourcePrivateLinkClient +namespace: azure.mgmt.resource.privatelinks +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/privatelinks +``` + +### Tag: package-features-2021-07 and python + +These settings apply only when `--tag=package-features-2021-07 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-features-2021-07' +title: FeatureClient +namespace: azure.mgmt.resource.features +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/features +``` + +### Tag: package-links-2016-09 and python + +These settings apply only when `--tag=package-links-2016-09 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-links-2016-09' +title: ManagementLinkClient +namespace: azure.mgmt.resource.links +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/links +``` + +### Tag: package-locks-2016-09 and python + +These settings apply only when `--tag=package-locks-2016-09 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-locks-2016-09' +title: ManagementLockClient +namespace: azure.mgmt.resource.locks +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/locks +``` + +### Tag: package-managedapplications-2019-07 and python + +These settings apply only when `--tag=package-managedapplications-2019-07 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-managedapplications-2019-07' +title: ApplicationClient +namespace: azure.mgmt.resource.managedapplications +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/managedapplications +``` + +### Tag: package-policy-2023-04 and python + +These settings apply only when `--tag=package-policy-2023-04 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-policy-2023-04' +title: PolicyClient +namespace: azure.mgmt.resource.policy +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/policy +``` + +### Tag: package-resources-2025-04 and python + +These settings apply only when `--tag=package-resources-2025-04 --python` is specified on the command line. Please also +specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-resources-2025-04' +title: ResourceManagementClient +namespace: azure.mgmt.resource.resources +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/resources +``` + +### Tag: package-subscriptions-2022-12 and python + +These settings apply only when `--tag=package-subscriptions-2022-12 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-subscriptions-2022-12' +title: SubscriptionClient +namespace: azure.mgmt.resource.subscriptions +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/subscriptions +``` + +### Tag: package-changes-2022-05 and python + +These settings apply only when `--tag=package-changes-2022-05 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-changes-2022-05' +title: ChangesClient +namespace: azure.mgmt.resource.changes +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/changes +``` + +### Tag: package-databoundaries-2024-08 and python + +These settings apply only when `--tag=package-databoundaries-2024-08 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-databoundaries-2024-08' +title: DataBoundaryMgmtClient +namespace: azure.mgmt.resource.databoundaries +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/databoundaries +directive: + - remove-operation: "Operations_List" +``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.ruby.md b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.ruby.md new file mode 100644 index 000000000000..70c149ebcbba --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.ruby.md @@ -0,0 +1,304 @@ +### Ruby multi-api for managedapplications + +``` yaml $(multiapi) && $(managedapplications) +package-name: azure_mgmt_managed_applications +package-version: "0.16.0" +azure-arm: true +batch: + - tag: package-managedapplications-2019-07 + - tag: package-managedapplications-2018-06 + - tag: package-managedapplications-2017-09 + - tag: package-managedapplications-2016-09 +``` + +### Tag: package-managedapplications-2019-07 and ruby + +These settings apply only when `--tag=package-managedapplications-2019-07 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-managedapplications-2019-07' && $(ruby) +namespace: "Azure::ManagedApplications::Mgmt::V2019_07_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib +``` + +### Tag: package-managedapplications-2018-06 and ruby + +These settings apply only when `--tag=package-managedapplications-2018-06 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-managedapplications-2018-06' && $(ruby) +namespace: "Azure::ManagedApplications::Mgmt::V2018_06_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib +``` + +### Tag: package-managedapplications-2017-09 and ruby + +These settings apply only when `--tag=package-managedapplications-2017-09 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-managedapplications-2017-09' && $(ruby) +namespace: "Azure::ManagedApplications::Mgmt::V2017_09_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib +``` + +### Tag: package-managedapplications-2016-09 and ruby + +These settings apply only when `--tag=package-managedapplications-2016-09 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-managedapplications-2016-09' && $(ruby) +namespace: "Azure::ManagedApplications::Mgmt::V2016_09_01_preview" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib +``` + +### Ruby multi-api for subscriptions + +``` yaml $(multiapi) && $(subscriptions) +package-name: azure_mgmt_subscriptions +package-version: "0.16.0" +azure-arm: true +batch: + - tag: package-subscriptions-2019-06 + - tag: package-subscriptions-2018-06 + - tag: package-subscriptions-2016-06 + - tag: package-subscriptions-2015-11 +``` + +### Tag: package-subscriptions-2019-06 and ruby + +These settings apply only when `--tag=package-subscriptions-2019-06 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-subscriptions-2019-06' && $(ruby) +namespace: "Azure::Subscriptions::Mgmt::V2019_06_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_subscriptions/lib +``` + +### Tag: package-subscriptions-2018-06 and ruby + +These settings apply only when `--tag=package-subscriptions-2018-06 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-subscriptions-2018-06' && $(ruby) +namespace: "Azure::Subscriptions::Mgmt::V2018_06_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_subscriptions/lib +``` + +### Tag: package-subscriptions-2016-06 and ruby + +These settings apply only when `--tag=package-subscriptions-2016-06 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-subscriptions-2016-06' && $(ruby) +namespace: "Azure::Subscriptions::Mgmt::V2016_06_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_subscriptions/lib +``` + +### Tag: package-subscriptions-2015-11 and ruby + +These settings apply only when `--tag=package-subscriptions-2015-11 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-subscriptions-2015-11' && $(ruby) +namespace: "Azure::Subscriptions::Mgmt::V2015_11_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_subscriptions/lib +``` + +### Ruby multi-api for features + +``` yaml $(multiapi) && $(features) +package-name: azure_mgmt_features +package-version: "0.16.0" +azure-arm: true +batch: + - tag: package-features-2021-07 + - tag: package-features-2015-12 +``` + +### Tag: package-features-2021-07 and ruby + +These settings apply only when `--tag=package-features-2021-07 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-features-2021-07' && $(ruby) +namespace: "Azure::Features::Mgmt::V2021_07_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_features/lib +``` + +### Tag: package-features-2015-12 and ruby + +These settings apply only when `--tag=package-features-2015-12 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-features-2015-12' && $(ruby) +namespace: "Azure::Features::Mgmt::V2015_12_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_features/lib +``` + +### Ruby multi-api for locks + +``` yaml $(multiapi) && $(locks) +package-name: azure_mgmt_locks +package-version: "0.16.0" +azure-arm: true +batch: + - tag: package-locks-2016-09 + - tag: package-locks-2015-01 +``` + +### Tag: package-locks-2016-09 and ruby + +These settings apply only when `--tag=package-locks-2016-09 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-locks-2016-09' && $(ruby) +namespace: "Azure::Locks::Mgmt::V2016_09_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_locks/lib +``` + +### Tag: package-locks-2015-01 and ruby + +These settings apply only when `--tag=package-locks-2015-01 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-locks-2015-01' && $(ruby) +namespace: "Azure::Locks::Mgmt::V2015_01_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_locks/lib +``` + +### Ruby multi-api for links + +``` yaml $(multiapi) && $(links) +package-name: azure_mgmt_links +package-version: "0.16.0" +azure-arm: true +batch: + - tag: package-links-2016-09 +``` + +### Tag: package-links-2016-09 and ruby + +These settings apply only when `--tag=package-links-2016-09 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-links-2016-09' && $(ruby) +namespace: "Azure::Links::Mgmt::V2016_09_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_links/lib +``` + +### Ruby multi-api for policy + +``` yaml $(multiapi) && $(policy) +package-name: azure_mgmt_policy +package-version: "0.16.0" +azure-arm: true +batch: + - tag: package-pure-policy-2017-06 + - tag: package-policy-2016-12 + - tag: package-policy-2016-04 + - tag: package-policy-2015-10 +``` + +### Tag: package-pure-policy-2017-06 and ruby + +These settings apply only when `--tag=package-pure-policy-2017-06 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-pure-policy-2017-06' && $(ruby) +namespace: "Azure::Policy::Mgmt::V2017_06_01_preview" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib +``` + +### Tag: package-policy-2016-12 and ruby + +These settings apply only when `--tag=package-policy-2016-12 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-policy-2016-12' && $(ruby) +namespace: "Azure::Policy::Mgmt::V2016_12_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib +``` + +### Tag: package-policy-2016-04 and ruby + +These settings apply only when `--tag=package-policy-2016-04 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-policy-2016-04' && $(ruby) +namespace: "Azure::Policy::Mgmt::V2016_04_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib +``` + +### Tag: package-policy-2015-10 and ruby + +These settings apply only when `--tag=package-policy-2015-10 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-policy-2015-10' && $(ruby) +namespace: "Azure::Policy::Mgmt::V2015_10_01_preview" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib +``` + +### Ruby multi-api for resources + +``` yaml $(multiapi) && $(resources) +package-name: azure_mgmt_resources +package-version: "0.16.0" +azure-arm: true +batch: + - tag: package-resources-2019-03 + - tag: package-resources-2017-05 + - tag: package-resources-2016-09 + - tag: package-resources-2016-07 + - tag: package-resources-2016-02 +``` + +### Tag: package-resources-2019-03 and ruby + +These settings apply only when `--tag=package-resources-2019-03 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-resources-2019-03' && $(ruby) +namespace: "Azure::Resources::Mgmt::V2019_03_10" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib +``` + +### Tag: package-resources-2017-05 and ruby + +These settings apply only when `--tag=package-resources-2017-05 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-resources-2017-05' && $(ruby) +namespace: "Azure::Resources::Mgmt::V2017_05_10" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib +``` + +### Tag: package-resources-2016-09 and ruby + +These settings apply only when `--tag=package-resources-2016-09 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-resources-2016-09' && $(ruby) +namespace: "Azure::Resources::Mgmt::V2016_09_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib +``` + +### Tag: package-resources-2016-07 and ruby + +These settings apply only when `--tag=package-resources-2016-07 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-resources-2016-07' && $(ruby) +namespace: "Azure::Resources::Mgmt::V2016_07_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib +``` + +### Tag: package-resources-2016-02 and ruby + +These settings apply only when `--tag=package-resources-2016-02 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-resources-2016-02' && $(ruby) +namespace: "Azure::Resources::Mgmt::V2016_02_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.terraform.md b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.terraform.md new file mode 100644 index 000000000000..e6576921e7b6 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.terraform.md @@ -0,0 +1,50 @@ + +## Terraform + +These settings apply only when `--terraform` is specified on the command line. + + +``` yaml $(terraform) +batch: + - package-features: true + - package-policy: true + - package-managedapplications: true +``` + +```yaml $(terraform) && $(package-policy) +terraform: + cli-name: policy + package-name: policy +output-folder: $(terraform-output-folder)/policy +clear-output-folder: true +``` + +```yaml $(terraform) && $(package-features) +terraform: + cli-name: features + package-name: features +output-folder: $(terraform-output-folder)/features +clear-output-folder: true +``` + +```yaml $(terraform) && $(package-managedapplications) +terraform: + cli-name: managedApplications + package-name: managedapplications +output-folder: $(terraform-output-folder)/managedapplications +clear-output-folder: true + +overrides: + - where: + resource: "Applications" + property: "/parameters" + set: + - GoVariableName: "appParameters" + - Gen: "newgen" +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.typescript.md b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.typescript.md new file mode 100644 index 000000000000..646080c41e8e --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.typescript.md @@ -0,0 +1,159 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +```yaml $(typescript) && !$(profile-content) +typescript: + azure-arm: true + batch: true + generate-metadata: true +batch: + - package-resources: true + - package-features: true + - package-locks: true + - package-policy: true + - package-links: true + - package-managedapplications: true + - package-subscriptions: true + - package-changes: true + - package-databoundaries: true +``` + +```yaml $(typescript) && $(package-databoundaries) && !$(profile-content) +title: DataboundariesManegementClient +typescript: + package-name: "@azure/arm-databoundaries" + output-folder: "$(typescript-sdks-folder)/sdk/databoundaries/arm-databoundaries" +``` + +```yaml $(typescript) && $(package-features) && !$(profile-content) +typescript: + package-name: "@azure/arm-features" + output-folder: "$(typescript-sdks-folder)/sdk/features/arm-features" +``` + +```yaml $(typescript) && $(package-locks) && !$(profile-content) +typescript: + package-name: "@azure/arm-locks" + output-folder: "$(typescript-sdks-folder)/sdk/locks/arm-locks" +``` + +```yaml $(typescript) && $(package-policy) && !$(profile-content) +typescript: + package-name: "@azure/arm-policy" + output-folder: "$(typescript-sdks-folder)/sdk/policy/arm-policy" + +modelerfour: + treat-type-object-as-anything: true +``` + +```yaml $(typescript) && $(package-resources) && !$(profile-content) +typescript: + package-name: "@azure/arm-resources" + output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-resources" +``` + +```yaml $(typescript) && $(package-links) && !$(profile-content) +typescript: + package-name: "@azure/arm-links" + output-folder: "$(typescript-sdks-folder)/sdk/links/arm-links" +``` + +```yaml $(typescript) && $(package-managedapplications) && !$(profile-content) +typescript: + package-name: "@azure/arm-managedapplications" + output-folder: "$(typescript-sdks-folder)/sdk/managedapplications/arm-managedapplications" +``` + +```yaml $(typescript) && $(package-subscriptions) && !$(profile-content) +typescript: + package-name: "@azure/arm-resources-subscriptions" + output-folder: "$(typescript-sdks-folder)/sdk/resources-subscriptions/arm-resources-subscriptions" +``` + +```yaml $(typescript) && $(package-changes) && !$(profile-content) +typescript: + package-name: "@azure/arm-changes" + output-folder: "$(typescript-sdks-folder)/sdk/changes/arm-changes" +``` + +```yaml $(tag)=='package-resources-2018-05' && $(profile-content)=='profile-hybrid-2019-03-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-resources-profile-2019-03-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-resources-profile-2019-03-01-hybrid" + batch: + - tag: package-resources-2018-05 +``` + +```yaml $(tag)=='package-policy-2016-12' && $(profile-content)=='profile-hybrid-2019-03-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-policy-profile-2019-03-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/policy/arm-policy-profile-2019-03-01-hybrid" + batch: + - tag: package-policy-2016-12 +``` + +```yaml $(tag)=='package-locks-2016-09' && $(profile-content)=='profile-hybrid-2019-03-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-locks-profile-2019-03-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/locks/arm-locks-profile-2019-03-01-hybrid" + batch: + - tag: package-locks-2016-09 +``` + +```yaml $(tag)=='package-subscriptions-2016-06' && $(profile-content)=='profile-hybrid-2019-03-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-subscriptions-profile-2019-03-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/subscription/arm-subscriptions-profile-2019-03-01-hybrid" + batch: + - tag: package-subscriptions-2016-06 +``` + +```yaml $(tag)=='package-resources-2019-10' && $(profile-content)=='profile-hybrid-2020-09-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-resources-profile-2020-09-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-resources-profile-2020-09-01-hybrid" + batch: + - tag: package-resources-2019-10 +``` + +```yaml $(tag)=='package-policy-2016-12' && $(profile-content)=='profile-hybrid-2020-09-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-policy-profile-2020-09-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/policy/arm-policy-profile-2020-09-01-hybrid" + batch: + - tag: package-policy-2016-12 +``` + +```yaml $(tag)=='package-locks-2016-09' && $(profile-content)=='profile-hybrid-2020-09-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-locks-profile-2020-09-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/locks/arm-locks-profile-2020-09-01-hybrid" + batch: + - tag: package-locks-2016-09 +``` + +```yaml $(tag)=='package-subscriptions-2016-06' && $(profile-content)=='profile-hybrid-2020-09-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-subscriptions-profile-2020-09-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid" + batch: + - tag: package-subscriptions-2016-06 +``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-08-01/dataBoundaries.json b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/stable/2024-08-01/dataBoundaries.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-08-01/dataBoundaries.json rename to specification/resources/resource-manager/Microsoft.Resources/databoundaries/stable/2024-08-01/dataBoundaries.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-08-01/examples/GetScopedDataBoundary.json b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/stable/2024-08-01/examples/GetScopedDataBoundary.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-08-01/examples/GetScopedDataBoundary.json rename to specification/resources/resource-manager/Microsoft.Resources/databoundaries/stable/2024-08-01/examples/GetScopedDataBoundary.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-08-01/examples/GetTenantDataBoundary.json b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/stable/2024-08-01/examples/GetTenantDataBoundary.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-08-01/examples/GetTenantDataBoundary.json rename to specification/resources/resource-manager/Microsoft.Resources/databoundaries/stable/2024-08-01/examples/GetTenantDataBoundary.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-08-01/examples/Operations_List.json b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/stable/2024-08-01/examples/Operations_List.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-08-01/examples/Operations_List.json rename to specification/resources/resource-manager/Microsoft.Resources/databoundaries/stable/2024-08-01/examples/Operations_List.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-08-01/examples/PutDataBoundary.json b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/stable/2024-08-01/examples/PutDataBoundary.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-08-01/examples/PutDataBoundary.json rename to specification/resources/resource-manager/Microsoft.Resources/databoundaries/stable/2024-08-01/examples/PutDataBoundary.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/deploymentScripts/suppressions.yaml b/specification/resources/resource-manager/Microsoft.Resources/deploymentScripts/suppressions.yaml new file mode 100644 index 000000000000..563742eee328 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/deploymentScripts/suppressions.yaml @@ -0,0 +1,6 @@ +- tool: TypeSpecRequirement + paths: + - deploymentScripts/preview/2019-10-01-preview/deploymentScripts.json + - deploymentScripts/stable/2020-10-01/deploymentScripts.json + - deploymentScripts/stable/2023-08-01/deploymentScripts.json + reason: Brownfield service not ready to migrate \ No newline at end of file diff --git a/specification/resources/DeploymentStacks.Management/back-compat.tsp b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/back-compat.tsp similarity index 100% rename from specification/resources/DeploymentStacks.Management/back-compat.tsp rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/back-compat.tsp diff --git a/specification/resources/DeploymentStacks.Management/client.tsp b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/client.tsp similarity index 100% rename from specification/resources/DeploymentStacks.Management/client.tsp rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/client.tsp diff --git a/specification/resources/DeploymentStacks.Management/examples/2022-08-01-preview/DeploymentStackExportTemplate.json b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2022-08-01-preview/DeploymentStackExportTemplate.json similarity index 100% rename from specification/resources/DeploymentStacks.Management/examples/2022-08-01-preview/DeploymentStackExportTemplate.json rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2022-08-01-preview/DeploymentStackExportTemplate.json diff --git a/specification/resources/DeploymentStacks.Management/examples/2022-08-01-preview/DeploymentStackManagementGroupCreate.json b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2022-08-01-preview/DeploymentStackManagementGroupCreate.json similarity index 100% rename from specification/resources/DeploymentStacks.Management/examples/2022-08-01-preview/DeploymentStackManagementGroupCreate.json rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2022-08-01-preview/DeploymentStackManagementGroupCreate.json diff --git a/specification/resources/DeploymentStacks.Management/examples/2022-08-01-preview/DeploymentStackManagementGroupDelete.json b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2022-08-01-preview/DeploymentStackManagementGroupDelete.json similarity index 100% rename from specification/resources/DeploymentStacks.Management/examples/2022-08-01-preview/DeploymentStackManagementGroupDelete.json rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2022-08-01-preview/DeploymentStackManagementGroupDelete.json diff --git a/specification/resources/DeploymentStacks.Management/examples/2022-08-01-preview/DeploymentStackManagementGroupExportTemplate.json b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2022-08-01-preview/DeploymentStackManagementGroupExportTemplate.json similarity index 100% rename from specification/resources/DeploymentStacks.Management/examples/2022-08-01-preview/DeploymentStackManagementGroupExportTemplate.json rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2022-08-01-preview/DeploymentStackManagementGroupExportTemplate.json diff --git a/specification/resources/DeploymentStacks.Management/examples/2022-08-01-preview/DeploymentStackManagementGroupGet.json b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2022-08-01-preview/DeploymentStackManagementGroupGet.json similarity index 100% rename from specification/resources/DeploymentStacks.Management/examples/2022-08-01-preview/DeploymentStackManagementGroupGet.json rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2022-08-01-preview/DeploymentStackManagementGroupGet.json diff --git a/specification/resources/DeploymentStacks.Management/examples/2022-08-01-preview/DeploymentStackManagementGroupList.json b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2022-08-01-preview/DeploymentStackManagementGroupList.json similarity index 100% rename from specification/resources/DeploymentStacks.Management/examples/2022-08-01-preview/DeploymentStackManagementGroupList.json rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2022-08-01-preview/DeploymentStackManagementGroupList.json diff --git a/specification/resources/DeploymentStacks.Management/examples/2022-08-01-preview/DeploymentStackResourceGroupCreate.json b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2022-08-01-preview/DeploymentStackResourceGroupCreate.json similarity index 100% rename from specification/resources/DeploymentStacks.Management/examples/2022-08-01-preview/DeploymentStackResourceGroupCreate.json rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2022-08-01-preview/DeploymentStackResourceGroupCreate.json diff --git a/specification/resources/DeploymentStacks.Management/examples/2022-08-01-preview/DeploymentStackResourceGroupDelete.json b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2022-08-01-preview/DeploymentStackResourceGroupDelete.json similarity index 100% rename from specification/resources/DeploymentStacks.Management/examples/2022-08-01-preview/DeploymentStackResourceGroupDelete.json rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2022-08-01-preview/DeploymentStackResourceGroupDelete.json diff --git a/specification/resources/DeploymentStacks.Management/examples/2022-08-01-preview/DeploymentStackResourceGroupGet.json b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2022-08-01-preview/DeploymentStackResourceGroupGet.json similarity index 100% rename from specification/resources/DeploymentStacks.Management/examples/2022-08-01-preview/DeploymentStackResourceGroupGet.json rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2022-08-01-preview/DeploymentStackResourceGroupGet.json diff --git a/specification/resources/DeploymentStacks.Management/examples/2022-08-01-preview/DeploymentStackResourceGroupList.json b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2022-08-01-preview/DeploymentStackResourceGroupList.json similarity index 100% rename from specification/resources/DeploymentStacks.Management/examples/2022-08-01-preview/DeploymentStackResourceGroupList.json rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2022-08-01-preview/DeploymentStackResourceGroupList.json diff --git a/specification/resources/DeploymentStacks.Management/examples/2022-08-01-preview/DeploymentStackSubscriptionCreate.json b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2022-08-01-preview/DeploymentStackSubscriptionCreate.json similarity index 100% rename from specification/resources/DeploymentStacks.Management/examples/2022-08-01-preview/DeploymentStackSubscriptionCreate.json rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2022-08-01-preview/DeploymentStackSubscriptionCreate.json diff --git a/specification/resources/DeploymentStacks.Management/examples/2022-08-01-preview/DeploymentStackSubscriptionDelete.json b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2022-08-01-preview/DeploymentStackSubscriptionDelete.json similarity index 100% rename from specification/resources/DeploymentStacks.Management/examples/2022-08-01-preview/DeploymentStackSubscriptionDelete.json rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2022-08-01-preview/DeploymentStackSubscriptionDelete.json diff --git a/specification/resources/DeploymentStacks.Management/examples/2022-08-01-preview/DeploymentStackSubscriptionExportTemplate.json b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2022-08-01-preview/DeploymentStackSubscriptionExportTemplate.json similarity index 100% rename from specification/resources/DeploymentStacks.Management/examples/2022-08-01-preview/DeploymentStackSubscriptionExportTemplate.json rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2022-08-01-preview/DeploymentStackSubscriptionExportTemplate.json diff --git a/specification/resources/DeploymentStacks.Management/examples/2022-08-01-preview/DeploymentStackSubscriptionGet.json b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2022-08-01-preview/DeploymentStackSubscriptionGet.json similarity index 100% rename from specification/resources/DeploymentStacks.Management/examples/2022-08-01-preview/DeploymentStackSubscriptionGet.json rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2022-08-01-preview/DeploymentStackSubscriptionGet.json diff --git a/specification/resources/DeploymentStacks.Management/examples/2022-08-01-preview/DeploymentStackSubscriptionList.json b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2022-08-01-preview/DeploymentStackSubscriptionList.json similarity index 100% rename from specification/resources/DeploymentStacks.Management/examples/2022-08-01-preview/DeploymentStackSubscriptionList.json rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2022-08-01-preview/DeploymentStackSubscriptionList.json diff --git a/specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackExportTemplate.json b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackExportTemplate.json similarity index 100% rename from specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackExportTemplate.json rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackExportTemplate.json diff --git a/specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackManagementGroupCreate.json b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackManagementGroupCreate.json similarity index 100% rename from specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackManagementGroupCreate.json rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackManagementGroupCreate.json diff --git a/specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackManagementGroupDelete.json b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackManagementGroupDelete.json similarity index 100% rename from specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackManagementGroupDelete.json rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackManagementGroupDelete.json diff --git a/specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackManagementGroupExportTemplate.json b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackManagementGroupExportTemplate.json similarity index 100% rename from specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackManagementGroupExportTemplate.json rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackManagementGroupExportTemplate.json diff --git a/specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackManagementGroupGet.json b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackManagementGroupGet.json similarity index 100% rename from specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackManagementGroupGet.json rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackManagementGroupGet.json diff --git a/specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackManagementGroupList.json b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackManagementGroupList.json similarity index 100% rename from specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackManagementGroupList.json rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackManagementGroupList.json diff --git a/specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackManagementGroupValidate.json b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackManagementGroupValidate.json similarity index 100% rename from specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackManagementGroupValidate.json rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackManagementGroupValidate.json diff --git a/specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackResourceGroupCreate.json b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackResourceGroupCreate.json similarity index 100% rename from specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackResourceGroupCreate.json rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackResourceGroupCreate.json diff --git a/specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackResourceGroupDelete.json b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackResourceGroupDelete.json similarity index 100% rename from specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackResourceGroupDelete.json rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackResourceGroupDelete.json diff --git a/specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackResourceGroupGet.json b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackResourceGroupGet.json similarity index 100% rename from specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackResourceGroupGet.json rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackResourceGroupGet.json diff --git a/specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackResourceGroupList.json b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackResourceGroupList.json similarity index 100% rename from specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackResourceGroupList.json rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackResourceGroupList.json diff --git a/specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackResourceGroupValidate.json b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackResourceGroupValidate.json similarity index 100% rename from specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackResourceGroupValidate.json rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackResourceGroupValidate.json diff --git a/specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackSubscriptionCreate.json b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackSubscriptionCreate.json similarity index 100% rename from specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackSubscriptionCreate.json rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackSubscriptionCreate.json diff --git a/specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackSubscriptionDelete.json b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackSubscriptionDelete.json similarity index 100% rename from specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackSubscriptionDelete.json rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackSubscriptionDelete.json diff --git a/specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackSubscriptionExportTemplate.json b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackSubscriptionExportTemplate.json similarity index 100% rename from specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackSubscriptionExportTemplate.json rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackSubscriptionExportTemplate.json diff --git a/specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackSubscriptionGet.json b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackSubscriptionGet.json similarity index 100% rename from specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackSubscriptionGet.json rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackSubscriptionGet.json diff --git a/specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackSubscriptionList.json b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackSubscriptionList.json similarity index 100% rename from specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackSubscriptionList.json rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackSubscriptionList.json diff --git a/specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackSubscriptionValidate.json b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackSubscriptionValidate.json similarity index 100% rename from specification/resources/DeploymentStacks.Management/examples/2024-03-01/DeploymentStackSubscriptionValidate.json rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/examples/2024-03-01/DeploymentStackSubscriptionValidate.json diff --git a/specification/resources/DeploymentStacks.Management/main.tsp b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/main.tsp similarity index 100% rename from specification/resources/DeploymentStacks.Management/main.tsp rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/main.tsp diff --git a/specification/resources/DeploymentStacks.Management/models.tsp b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/models.tsp similarity index 100% rename from specification/resources/DeploymentStacks.Management/models.tsp rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/models.tsp diff --git a/specification/resources/DeploymentStacks.Management/routeTypes.tsp b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/routeTypes.tsp similarity index 100% rename from specification/resources/DeploymentStacks.Management/routeTypes.tsp rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/routeTypes.tsp diff --git a/specification/resources/DeploymentStacks.Management/routes.tsp b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/routes.tsp similarity index 100% rename from specification/resources/DeploymentStacks.Management/routes.tsp rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/routes.tsp diff --git a/specification/resources/resource-manager/sdk-suppressions.yaml b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/sdk-suppressions.yaml similarity index 100% rename from specification/resources/resource-manager/sdk-suppressions.yaml rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/sdk-suppressions.yaml diff --git a/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/suppressions.yaml b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/suppressions.yaml new file mode 100644 index 000000000000..ecca20762cd4 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/suppressions.yaml @@ -0,0 +1,5 @@ +- tool: TypeSpecRequirement + paths: + - deploymentStacks/preview/2022-08-01-preview/deploymentStacks.json + - deploymentStacks/stable/2024-03-01/deploymentStacks.json + reason: Brownfield service not ready to migrate \ No newline at end of file diff --git a/specification/resources/DeploymentStacks.Management/tspconfig.yaml b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/tspconfig.yaml similarity index 90% rename from specification/resources/DeploymentStacks.Management/tspconfig.yaml rename to specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/tspconfig.yaml index 72bc66fa1821..324bc690d236 100644 --- a/specification/resources/DeploymentStacks.Management/tspconfig.yaml +++ b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/tspconfig.yaml @@ -6,9 +6,10 @@ emit: options: "@azure-tools/typespec-autorest": omit-unreachable-types: true - emitter-output-dir: "{project-root}/.." + emitter-output-dir: "{project-root}" azure-resource-provider-folder: "resource-manager" - output-file: "{azure-resource-provider-folder}/Microsoft.Resources/deploymentStacks/{version-status}/{version}/deploymentStacks.json" + output-file: "{version-status}/{version}/deploymentStacks.json" + arm-types-dir: "{project-root}/../../../../common-types/resource-management" examples-dir: "{project-root}/examples" use-read-only-status-schema: true # https://azure.github.io/typespec-azure/docs/troubleshoot/status-read-only-error/ "@azure-tools/typespec-csharp": diff --git a/specification/resources/resource-manager/Microsoft.Resources/suppressions.yaml b/specification/resources/resource-manager/Microsoft.Resources/deployments/suppressions.yaml similarity index 56% rename from specification/resources/resource-manager/Microsoft.Resources/suppressions.yaml rename to specification/resources/resource-manager/Microsoft.Resources/deployments/suppressions.yaml index 56fd894cf17d..1c1f870a11da 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/suppressions.yaml +++ b/specification/resources/resource-manager/Microsoft.Resources/deployments/suppressions.yaml @@ -1,4 +1,3 @@ - - tool: TypeSpecRequirement paths: - deployments/stable/2015-11-01/deployments.json @@ -26,30 +25,4 @@ - deployments/stable/2024-11-01/deployments.json - deployments/stable/2025-03-01/deployments.json - deployments/stable/2025-04-01/deployments.json - reason: Brownfield service not ready to migrate - -- tool: TypeSpecRequirement - paths: - - templateSpecs/preview/2019-06-01-preview/templateSpecs.json - - templateSpecs/preview/2021-03-01-preview/templateSpecs.json - - templateSpecs/stable/2021-05-01/templateSpecs.json - - templateSpecs/stable/2022-02-01/templateSpecs.json - reason: Brownfield service not ready to migrate - -- tool: TypeSpecRequirement - paths: - - deploymentStacks/preview/2022-08-01-preview/deploymentStacks.json - - deploymentStacks/stable/2024-03-01/deploymentStacks.json - reason: Brownfield service not ready to migrate - -- tool: TypeSpecRequirement - paths: - - deploymentScripts/preview/2019-10-01-preview/deploymentScripts.json - - deploymentScripts/stable/2020-10-01/deploymentScripts.json - - deploymentScripts/stable/2023-08-01/deploymentScripts.json - reason: Brownfield service not ready to migrate - -- tool: TypeSpecRequirement - paths: - - bicep/stable/2023-11-01/bicepClient.json - reason: Brownfield service not ready to migrate + reason: Brownfield service not ready to migrate \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/links/readme.go.md b/specification/resources/resource-manager/Microsoft.Resources/links/readme.go.md new file mode 100644 index 000000000000..e439424a6139 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/links/readme.go.md @@ -0,0 +1,87 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +### Fix up regular expressions to support Unicode. + +``` yaml +directive: + from: swagger-document # do it globally + where: $.paths..parameters[?(@.name == "resourceGroupName" || @.name == "sourceResourceGroupName")].pattern + set: ^[-\p{L}\._\(\)\w]+$ + reason: Necessary to match Unicode characters in the Go regexp engine. +``` + +``` yaml $(go) && $(track2) && $(package-resources) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armresources +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` + +``` yaml $(go) && $(track2) && $(package-features) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armfeatures +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` + +``` yaml $(go) && $(track2) && $(package-links) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armlinks +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` + +``` yaml $(go) && $(track2) && $(package-locks) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armlocks +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` + +``` yaml $(go) && $(track2) && $(package-managedapplications) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armmanagedapplications +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` + +``` yaml $(go) && $(track2) && $(package-policy) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armpolicy +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` + +``` yaml $(go) && $(track2) && $(package-subscriptions) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armsubscriptions +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +modelerfour: + lenient-model-deduplication: true +``` + +``` yaml $(go) && $(track2) && $(package-changes) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armchanges +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` + +``` yaml $(go) && $(track2) && $(package-databoundaries) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/databoundaries/armdataboundaries +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/links/readme.java.md b/specification/resources/resource-manager/Microsoft.Resources/links/readme.java.md new file mode 100644 index 000000000000..6dedca1a0423 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/links/readme.java.md @@ -0,0 +1,60 @@ +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +enable-sync-stack: false + +directive: + - rename-operation: + from: Tags_DeleteValue + to: TagOperations_DeleteValue + - rename-operation: + from: Tags_CreateOrUpdateValue + to: TagOperations_CreateOrUpdateValue + - rename-operation: + from: Tags_CreateOrUpdate + to: TagOperations_CreateOrUpdate + - rename-operation: + from: Tags_Delete + to: TagOperations_Delete + - rename-operation: + from: Tags_DeleteValue + to: TagOperations_DeleteValue + - rename-operation: + from: Tags_List + to: TagOperations_List + - rename-operation: + from: Tags_CreateOrUpdateAtScope + to: TagOperations_CreateOrUpdateAtScope + - rename-operation: + from: Tags_UpdateAtScope + to: TagOperations_UpdateAtScope + - rename-operation: + from: Tags_GetAtScope + to: TagOperations_GetAtScope + - rename-operation: + from: Tags_DeleteAtScope + to: TagOperations_DeleteAtScope +``` + +``` yaml $(tag) == 'package-policy-2022-06-java' +input-file: +- Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json +- Microsoft.Authorization/stable/2021-06-01/policyDefinitions.json +- Microsoft.Authorization/stable/2021-06-01/policySetDefinitions.json +- Microsoft.Authorization/stable/2022-06-01/policyAssignments.json +- Microsoft.Authorization/preview/2022-07-01-preview/policyExemptions.json +``` + +``` yaml $(tag) == 'package-policy-2023-04-java' +input-file: +- Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json +- Microsoft.Authorization/stable/2023-04-01/policyDefinitions.json +- Microsoft.Authorization/stable/2023-04-01/policyDefinitionVersions.json +- Microsoft.Authorization/stable/2023-04-01/policySetDefinitions.json +- Microsoft.Authorization/stable/2023-04-01/policySetDefinitionVersions.json +- Microsoft.Authorization/stable/2023-04-01/policyAssignments.json +- Microsoft.Authorization/preview/2022-07-01-preview/policyExemptions.json +``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/links/readme.md b/specification/resources/resource-manager/Microsoft.Resources/links/readme.md new file mode 100644 index 000000000000..5be29a7991c8 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/links/readme.md @@ -0,0 +1,72 @@ +# Links + +> see https://aka.ms/autorest + +This is the AutoRest configuration file. + +## Getting Started + +To build the SDK for Resource, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: + +> `autorest` + +To see additional help and options, run: + +> `autorest --help` + +--- + +## Configuration + +### Basic Information + +These are the global settings for the Resource API. + +``` yaml +title: LinksClient +description: Links Client +openapi-type: arm +tag: package-resources-2025-04 +``` + +### Tag: package-links-2016-09 + +These settings apply only when `--tag=package-links-2016-09` is specified on the command line. + +``` yaml $(tag) == 'package-links-2016-09' +input-file: +- Microsoft.Resources/stable/2016-09-01/links.json +``` + +--- + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +``` yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-net + - repo: azure-sdk-for-python + - repo: azure-sdk-for-java + - repo: azure-sdk-for-go + - repo: azure-sdk-for-node + - repo: azure-sdk-for-js + - repo: azure-resource-manager-schemas + - repo: azure-powershell +``` + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## Go + +See configuration in [readme.go.md](./readme.go.md) + +## Java + +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/resources/resource-manager/Microsoft.Resources/links/readme.nodejs.md b/specification/resources/resource-manager/Microsoft.Resources/links/readme.nodejs.md new file mode 100644 index 000000000000..1787b7880294 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/links/readme.nodejs.md @@ -0,0 +1,59 @@ +## Node.js + +These settings apply only when `--nodejs` is specified on the command line. +Please also specify `--node-sdks-folder=`. + +```yaml $(nodejs) +nodejs: + azure-arm: true + batch: true + package-name: azure-arm-resource + generate-license-txt: true + generate-package-json: false + generate-readme-md: false + output-folder: $(node-sdks-folder)/lib/services/resourceManagement +batch: + - package-features: true + - package-locks: true + - package-policy: true + - package-resources: true + - package-subscriptions: true + - package-links: true + - package-managedapplications: true +``` + +```yaml $(nodejs) && $(package-features) +nodejs: + source-code-folder-path: lib/feature +``` + +```yaml $(nodejs) && $(package-locks) +nodejs: + source-code-folder-path: lib/lock +``` + +```yaml $(nodejs) && $(package-policy) +nodejs: + source-code-folder-path: lib/policy +``` + +```yaml $(nodejs) && $(package-resources) +nodejs: + source-code-folder-path: lib/resource +``` + +```yaml $(nodejs) && $(package-subscriptions) +nodejs: + source-code-folder-path: lib/subscription +``` + +```yaml $(nodejs) && $(package-links) +nodejs: + source-code-folder-path: lib/link +``` + +```yaml $(nodejs) && $(package-management) +nodejs: + source-code-folder-path: lib/management + override-client-name: ManagementGroupsClient +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/links/readme.python.md b/specification/resources/resource-manager/Microsoft.Resources/links/readme.python.md new file mode 100644 index 000000000000..9ecd5cfb7b4b --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/links/readme.python.md @@ -0,0 +1,144 @@ +## Python + +These settings apply only when `--python` is specified on the command line. + +``` yaml $(python) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +package-name: azure-mgmt-resource +package-version: 1.0.0b1 +no-namespace-folders: true +reformat-next-link: false +combine-operation-files: true +clear-output-folder: true +modelerfour: + lenient-model-deduplication: true +``` + +### Python batch + +```yaml $(python) +batch: + - tag: package-privatelinks-2020-05 + - tag: package-features-2021-07 + - tag: package-links-2016-09 + - tag: package-locks-2016-09 + - tag: package-managedapplications-2019-07 + - tag: package-policy-2023-04 + - tag: package-resources-2025-04 + - tag: package-subscriptions-2022-12 + - tag: package-changes-2022-05 + - tag: package-databoundaries-2024-08 +``` + +### Tag: package-privatelinks-2020-05 and python + +These settings apply only when `--tag=package-privatelinks-2020-05 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-privatelinks-2020-05' +title: ResourcePrivateLinkClient +namespace: azure.mgmt.resource.privatelinks +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/privatelinks +``` + +### Tag: package-features-2021-07 and python + +These settings apply only when `--tag=package-features-2021-07 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-features-2021-07' +title: FeatureClient +namespace: azure.mgmt.resource.features +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/features +``` + +### Tag: package-links-2016-09 and python + +These settings apply only when `--tag=package-links-2016-09 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-links-2016-09' +title: ManagementLinkClient +namespace: azure.mgmt.resource.links +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/links +``` + +### Tag: package-locks-2016-09 and python + +These settings apply only when `--tag=package-locks-2016-09 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-locks-2016-09' +title: ManagementLockClient +namespace: azure.mgmt.resource.locks +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/locks +``` + +### Tag: package-managedapplications-2019-07 and python + +These settings apply only when `--tag=package-managedapplications-2019-07 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-managedapplications-2019-07' +title: ApplicationClient +namespace: azure.mgmt.resource.managedapplications +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/managedapplications +``` + +### Tag: package-policy-2023-04 and python + +These settings apply only when `--tag=package-policy-2023-04 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-policy-2023-04' +title: PolicyClient +namespace: azure.mgmt.resource.policy +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/policy +``` + +### Tag: package-resources-2025-04 and python + +These settings apply only when `--tag=package-resources-2025-04 --python` is specified on the command line. Please also +specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-resources-2025-04' +title: ResourceManagementClient +namespace: azure.mgmt.resource.resources +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/resources +``` + +### Tag: package-subscriptions-2022-12 and python + +These settings apply only when `--tag=package-subscriptions-2022-12 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-subscriptions-2022-12' +title: SubscriptionClient +namespace: azure.mgmt.resource.subscriptions +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/subscriptions +``` + +### Tag: package-changes-2022-05 and python + +These settings apply only when `--tag=package-changes-2022-05 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-changes-2022-05' +title: ChangesClient +namespace: azure.mgmt.resource.changes +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/changes +``` + +### Tag: package-databoundaries-2024-08 and python + +These settings apply only when `--tag=package-databoundaries-2024-08 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-databoundaries-2024-08' +title: DataBoundaryMgmtClient +namespace: azure.mgmt.resource.databoundaries +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/databoundaries +directive: + - remove-operation: "Operations_List" +``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/links/readme.ruby.md b/specification/resources/resource-manager/Microsoft.Resources/links/readme.ruby.md new file mode 100644 index 000000000000..70c149ebcbba --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/links/readme.ruby.md @@ -0,0 +1,304 @@ +### Ruby multi-api for managedapplications + +``` yaml $(multiapi) && $(managedapplications) +package-name: azure_mgmt_managed_applications +package-version: "0.16.0" +azure-arm: true +batch: + - tag: package-managedapplications-2019-07 + - tag: package-managedapplications-2018-06 + - tag: package-managedapplications-2017-09 + - tag: package-managedapplications-2016-09 +``` + +### Tag: package-managedapplications-2019-07 and ruby + +These settings apply only when `--tag=package-managedapplications-2019-07 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-managedapplications-2019-07' && $(ruby) +namespace: "Azure::ManagedApplications::Mgmt::V2019_07_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib +``` + +### Tag: package-managedapplications-2018-06 and ruby + +These settings apply only when `--tag=package-managedapplications-2018-06 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-managedapplications-2018-06' && $(ruby) +namespace: "Azure::ManagedApplications::Mgmt::V2018_06_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib +``` + +### Tag: package-managedapplications-2017-09 and ruby + +These settings apply only when `--tag=package-managedapplications-2017-09 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-managedapplications-2017-09' && $(ruby) +namespace: "Azure::ManagedApplications::Mgmt::V2017_09_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib +``` + +### Tag: package-managedapplications-2016-09 and ruby + +These settings apply only when `--tag=package-managedapplications-2016-09 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-managedapplications-2016-09' && $(ruby) +namespace: "Azure::ManagedApplications::Mgmt::V2016_09_01_preview" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib +``` + +### Ruby multi-api for subscriptions + +``` yaml $(multiapi) && $(subscriptions) +package-name: azure_mgmt_subscriptions +package-version: "0.16.0" +azure-arm: true +batch: + - tag: package-subscriptions-2019-06 + - tag: package-subscriptions-2018-06 + - tag: package-subscriptions-2016-06 + - tag: package-subscriptions-2015-11 +``` + +### Tag: package-subscriptions-2019-06 and ruby + +These settings apply only when `--tag=package-subscriptions-2019-06 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-subscriptions-2019-06' && $(ruby) +namespace: "Azure::Subscriptions::Mgmt::V2019_06_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_subscriptions/lib +``` + +### Tag: package-subscriptions-2018-06 and ruby + +These settings apply only when `--tag=package-subscriptions-2018-06 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-subscriptions-2018-06' && $(ruby) +namespace: "Azure::Subscriptions::Mgmt::V2018_06_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_subscriptions/lib +``` + +### Tag: package-subscriptions-2016-06 and ruby + +These settings apply only when `--tag=package-subscriptions-2016-06 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-subscriptions-2016-06' && $(ruby) +namespace: "Azure::Subscriptions::Mgmt::V2016_06_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_subscriptions/lib +``` + +### Tag: package-subscriptions-2015-11 and ruby + +These settings apply only when `--tag=package-subscriptions-2015-11 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-subscriptions-2015-11' && $(ruby) +namespace: "Azure::Subscriptions::Mgmt::V2015_11_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_subscriptions/lib +``` + +### Ruby multi-api for features + +``` yaml $(multiapi) && $(features) +package-name: azure_mgmt_features +package-version: "0.16.0" +azure-arm: true +batch: + - tag: package-features-2021-07 + - tag: package-features-2015-12 +``` + +### Tag: package-features-2021-07 and ruby + +These settings apply only when `--tag=package-features-2021-07 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-features-2021-07' && $(ruby) +namespace: "Azure::Features::Mgmt::V2021_07_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_features/lib +``` + +### Tag: package-features-2015-12 and ruby + +These settings apply only when `--tag=package-features-2015-12 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-features-2015-12' && $(ruby) +namespace: "Azure::Features::Mgmt::V2015_12_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_features/lib +``` + +### Ruby multi-api for locks + +``` yaml $(multiapi) && $(locks) +package-name: azure_mgmt_locks +package-version: "0.16.0" +azure-arm: true +batch: + - tag: package-locks-2016-09 + - tag: package-locks-2015-01 +``` + +### Tag: package-locks-2016-09 and ruby + +These settings apply only when `--tag=package-locks-2016-09 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-locks-2016-09' && $(ruby) +namespace: "Azure::Locks::Mgmt::V2016_09_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_locks/lib +``` + +### Tag: package-locks-2015-01 and ruby + +These settings apply only when `--tag=package-locks-2015-01 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-locks-2015-01' && $(ruby) +namespace: "Azure::Locks::Mgmt::V2015_01_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_locks/lib +``` + +### Ruby multi-api for links + +``` yaml $(multiapi) && $(links) +package-name: azure_mgmt_links +package-version: "0.16.0" +azure-arm: true +batch: + - tag: package-links-2016-09 +``` + +### Tag: package-links-2016-09 and ruby + +These settings apply only when `--tag=package-links-2016-09 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-links-2016-09' && $(ruby) +namespace: "Azure::Links::Mgmt::V2016_09_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_links/lib +``` + +### Ruby multi-api for policy + +``` yaml $(multiapi) && $(policy) +package-name: azure_mgmt_policy +package-version: "0.16.0" +azure-arm: true +batch: + - tag: package-pure-policy-2017-06 + - tag: package-policy-2016-12 + - tag: package-policy-2016-04 + - tag: package-policy-2015-10 +``` + +### Tag: package-pure-policy-2017-06 and ruby + +These settings apply only when `--tag=package-pure-policy-2017-06 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-pure-policy-2017-06' && $(ruby) +namespace: "Azure::Policy::Mgmt::V2017_06_01_preview" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib +``` + +### Tag: package-policy-2016-12 and ruby + +These settings apply only when `--tag=package-policy-2016-12 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-policy-2016-12' && $(ruby) +namespace: "Azure::Policy::Mgmt::V2016_12_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib +``` + +### Tag: package-policy-2016-04 and ruby + +These settings apply only when `--tag=package-policy-2016-04 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-policy-2016-04' && $(ruby) +namespace: "Azure::Policy::Mgmt::V2016_04_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib +``` + +### Tag: package-policy-2015-10 and ruby + +These settings apply only when `--tag=package-policy-2015-10 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-policy-2015-10' && $(ruby) +namespace: "Azure::Policy::Mgmt::V2015_10_01_preview" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib +``` + +### Ruby multi-api for resources + +``` yaml $(multiapi) && $(resources) +package-name: azure_mgmt_resources +package-version: "0.16.0" +azure-arm: true +batch: + - tag: package-resources-2019-03 + - tag: package-resources-2017-05 + - tag: package-resources-2016-09 + - tag: package-resources-2016-07 + - tag: package-resources-2016-02 +``` + +### Tag: package-resources-2019-03 and ruby + +These settings apply only when `--tag=package-resources-2019-03 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-resources-2019-03' && $(ruby) +namespace: "Azure::Resources::Mgmt::V2019_03_10" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib +``` + +### Tag: package-resources-2017-05 and ruby + +These settings apply only when `--tag=package-resources-2017-05 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-resources-2017-05' && $(ruby) +namespace: "Azure::Resources::Mgmt::V2017_05_10" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib +``` + +### Tag: package-resources-2016-09 and ruby + +These settings apply only when `--tag=package-resources-2016-09 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-resources-2016-09' && $(ruby) +namespace: "Azure::Resources::Mgmt::V2016_09_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib +``` + +### Tag: package-resources-2016-07 and ruby + +These settings apply only when `--tag=package-resources-2016-07 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-resources-2016-07' && $(ruby) +namespace: "Azure::Resources::Mgmt::V2016_07_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib +``` + +### Tag: package-resources-2016-02 and ruby + +These settings apply only when `--tag=package-resources-2016-02 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-resources-2016-02' && $(ruby) +namespace: "Azure::Resources::Mgmt::V2016_02_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/links/readme.terraform.md b/specification/resources/resource-manager/Microsoft.Resources/links/readme.terraform.md new file mode 100644 index 000000000000..e6576921e7b6 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/links/readme.terraform.md @@ -0,0 +1,50 @@ + +## Terraform + +These settings apply only when `--terraform` is specified on the command line. + + +``` yaml $(terraform) +batch: + - package-features: true + - package-policy: true + - package-managedapplications: true +``` + +```yaml $(terraform) && $(package-policy) +terraform: + cli-name: policy + package-name: policy +output-folder: $(terraform-output-folder)/policy +clear-output-folder: true +``` + +```yaml $(terraform) && $(package-features) +terraform: + cli-name: features + package-name: features +output-folder: $(terraform-output-folder)/features +clear-output-folder: true +``` + +```yaml $(terraform) && $(package-managedapplications) +terraform: + cli-name: managedApplications + package-name: managedapplications +output-folder: $(terraform-output-folder)/managedapplications +clear-output-folder: true + +overrides: + - where: + resource: "Applications" + property: "/parameters" + set: + - GoVariableName: "appParameters" + - Gen: "newgen" +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/links/readme.typescript.md b/specification/resources/resource-manager/Microsoft.Resources/links/readme.typescript.md new file mode 100644 index 000000000000..646080c41e8e --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/links/readme.typescript.md @@ -0,0 +1,159 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +```yaml $(typescript) && !$(profile-content) +typescript: + azure-arm: true + batch: true + generate-metadata: true +batch: + - package-resources: true + - package-features: true + - package-locks: true + - package-policy: true + - package-links: true + - package-managedapplications: true + - package-subscriptions: true + - package-changes: true + - package-databoundaries: true +``` + +```yaml $(typescript) && $(package-databoundaries) && !$(profile-content) +title: DataboundariesManegementClient +typescript: + package-name: "@azure/arm-databoundaries" + output-folder: "$(typescript-sdks-folder)/sdk/databoundaries/arm-databoundaries" +``` + +```yaml $(typescript) && $(package-features) && !$(profile-content) +typescript: + package-name: "@azure/arm-features" + output-folder: "$(typescript-sdks-folder)/sdk/features/arm-features" +``` + +```yaml $(typescript) && $(package-locks) && !$(profile-content) +typescript: + package-name: "@azure/arm-locks" + output-folder: "$(typescript-sdks-folder)/sdk/locks/arm-locks" +``` + +```yaml $(typescript) && $(package-policy) && !$(profile-content) +typescript: + package-name: "@azure/arm-policy" + output-folder: "$(typescript-sdks-folder)/sdk/policy/arm-policy" + +modelerfour: + treat-type-object-as-anything: true +``` + +```yaml $(typescript) && $(package-resources) && !$(profile-content) +typescript: + package-name: "@azure/arm-resources" + output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-resources" +``` + +```yaml $(typescript) && $(package-links) && !$(profile-content) +typescript: + package-name: "@azure/arm-links" + output-folder: "$(typescript-sdks-folder)/sdk/links/arm-links" +``` + +```yaml $(typescript) && $(package-managedapplications) && !$(profile-content) +typescript: + package-name: "@azure/arm-managedapplications" + output-folder: "$(typescript-sdks-folder)/sdk/managedapplications/arm-managedapplications" +``` + +```yaml $(typescript) && $(package-subscriptions) && !$(profile-content) +typescript: + package-name: "@azure/arm-resources-subscriptions" + output-folder: "$(typescript-sdks-folder)/sdk/resources-subscriptions/arm-resources-subscriptions" +``` + +```yaml $(typescript) && $(package-changes) && !$(profile-content) +typescript: + package-name: "@azure/arm-changes" + output-folder: "$(typescript-sdks-folder)/sdk/changes/arm-changes" +``` + +```yaml $(tag)=='package-resources-2018-05' && $(profile-content)=='profile-hybrid-2019-03-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-resources-profile-2019-03-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-resources-profile-2019-03-01-hybrid" + batch: + - tag: package-resources-2018-05 +``` + +```yaml $(tag)=='package-policy-2016-12' && $(profile-content)=='profile-hybrid-2019-03-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-policy-profile-2019-03-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/policy/arm-policy-profile-2019-03-01-hybrid" + batch: + - tag: package-policy-2016-12 +``` + +```yaml $(tag)=='package-locks-2016-09' && $(profile-content)=='profile-hybrid-2019-03-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-locks-profile-2019-03-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/locks/arm-locks-profile-2019-03-01-hybrid" + batch: + - tag: package-locks-2016-09 +``` + +```yaml $(tag)=='package-subscriptions-2016-06' && $(profile-content)=='profile-hybrid-2019-03-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-subscriptions-profile-2019-03-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/subscription/arm-subscriptions-profile-2019-03-01-hybrid" + batch: + - tag: package-subscriptions-2016-06 +``` + +```yaml $(tag)=='package-resources-2019-10' && $(profile-content)=='profile-hybrid-2020-09-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-resources-profile-2020-09-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-resources-profile-2020-09-01-hybrid" + batch: + - tag: package-resources-2019-10 +``` + +```yaml $(tag)=='package-policy-2016-12' && $(profile-content)=='profile-hybrid-2020-09-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-policy-profile-2020-09-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/policy/arm-policy-profile-2020-09-01-hybrid" + batch: + - tag: package-policy-2016-12 +``` + +```yaml $(tag)=='package-locks-2016-09' && $(profile-content)=='profile-hybrid-2020-09-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-locks-profile-2020-09-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/locks/arm-locks-profile-2020-09-01-hybrid" + batch: + - tag: package-locks-2016-09 +``` + +```yaml $(tag)=='package-subscriptions-2016-06' && $(profile-content)=='profile-hybrid-2020-09-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-subscriptions-profile-2020-09-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid" + batch: + - tag: package-subscriptions-2016-06 +``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/links.json b/specification/resources/resource-manager/Microsoft.Resources/links/stable/2016-09-01/links.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/links.json rename to specification/resources/resource-manager/Microsoft.Resources/links/stable/2016-09-01/links.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/readme.go.md b/specification/resources/resource-manager/Microsoft.Resources/resources/readme.go.md new file mode 100644 index 000000000000..58d226d6e6d3 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/resources/readme.go.md @@ -0,0 +1,21 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +### Fix up regular expressions to support Unicode. + +``` yaml +directive: + from: swagger-document # do it globally + where: $.paths..parameters[?(@.name == "resourceGroupName" || @.name == "sourceResourceGroupName")].pattern + set: ^[-\p{L}\._\(\)\w]+$ + reason: Necessary to match Unicode characters in the Go regexp engine. +``` + +``` yaml $(go) && $(track2) && $(package-resources) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armresources +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/readme.md b/specification/resources/resource-manager/Microsoft.Resources/resources/readme.md new file mode 100644 index 000000000000..b8146eca77a2 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/resources/readme.md @@ -0,0 +1,530 @@ +# Resources + +> see https://aka.ms/autorest + +This is the AutoRest configuration file. + +## Getting Started + +To build the SDK for Resource, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: + +> `autorest` + +To see additional help and options, run: + +> `autorest --help` + +--- + +## Configuration + +### Basic Information + +These are the global settings for the Resource API. + +``` yaml +title: ResourcesClient +description: Resources Client +openapi-type: arm +tag: package-resources-2025-04 +``` + +### Tag: package-resources-2023-07 + +These settings apply only when `--tag=package-resources-2023-07` is specified on the command line. + +``` yaml $(tag) == 'package-resources-2023-07' +input-file: + - Microsoft.Resources/stable/2023-07-01/resources.json +``` + +### Tag: package-resources-2024-03 + +These settings apply only when `--tag=package-resources-2024-03` is specified on the command line. + +``` yaml $(tag) == 'package-resources-2024-03' +input-file: + - Microsoft.Resources/stable/2024-03-01/resources.json +``` + +### Tag: package-resources-2024-07 + +These settings apply only when `--tag=package-resources-2024-07` is specified on the command line. + +``` yaml $(tag) == 'package-resources-2024-07' +input-file: + - Microsoft.Resources/stable/2024-07-01/resources.json +``` + +### Tag: package-resources-2024-11 + +These settings apply only when `--tag=package-resources-2024-11` is specified on the command line. + +``` yaml $(tag) == 'package-resources-2024-11' +input-file: + - Microsoft.Resources/stable/2024-11-01/resources.json +``` + +### Tag: package-resources-2025-03 + +These settings apply only when `--tag=package-resources-2025-03` is specified on the command line. + +``` yaml $(tag) == 'package-resources-2025-03' +input-file: + - Microsoft.Resources/stable/2025-03-01/resources.json +``` + +### Tag: package-resources-2025-04 + +These settings apply only when `--tag=package-resources-2025-04` is specified on the command line. + +``` yaml $(tag) == 'package-resources-2025-04' +input-file: + - Microsoft.Resources/stable/2025-04-01/resources.json +``` + +### Tag: package-resources-2022-09 + +These settings apply only when `--tag=package-resources-2022-09` is specified on the command line. + +``` yaml $(tag) == 'package-resources-2022-09' +input-file: +- Microsoft.Resources/stable/2022-09-01/resources.json +``` + +### Tag: package-resources-2021-04 + +These settings apply only when `--tag=package-resources-2021-04` is specified on the command line. + +``` yaml $(tag) == 'package-resources-2021-04' +input-file: +- Microsoft.Resources/stable/2021-04-01/resources.json +``` + +### Tag: package-resources-2021-01 + +These settings apply only when `--tag=package-resources-2021-01` is specified on the command line. + +``` yaml $(tag) == 'package-resources-2021-01' +input-file: +- Microsoft.Resources/stable/2021-01-01/resources.json +``` + +### Tag: package-resources-2020-10 + +These settings apply only when `--tag=package-resources-2020-10` is specified on the command line. + +``` yaml $(tag) == 'package-resources-2020-10' +input-file: + - Microsoft.Resources/stable/2020-10-01/resources.json +``` + +### Tag: package-resources-2020-08 + +These settings apply only when `--tag=package-resources-2020-08` is specified on the command line. + +``` yaml $(tag) == 'package-resources-2020-08' +input-file: + - Microsoft.Resources/stable/2020-08-01/resources.json +``` + +### Tag: package-resources-2020-06 + +These settings apply only when `--tag=package-resources-2020-06` is specified on the command line. + +``` yaml $(tag) == 'package-resources-2020-06' +input-file: +- Microsoft.Resources/stable/2020-06-01/resources.json +``` + +### Tag: package-resources-2019-10 + +These settings apply only when `--tag=package-resources-2019-10` is specified on the command line. + +``` yaml $(tag) == 'package-resources-2019-10' +input-file: +- Microsoft.Resources/stable/2019-10-01/resources.json +``` + +### Tag: package-resources-2019-08 + +These settings apply only when `--tag=package-resources-2019-08` is specified on the command line. + +``` yaml $(tag) == 'package-resources-2019-08' +input-file: +- Microsoft.Resources/stable/2019-08-01/resources.json +``` + +### Tag: package-resources-2019-07 + +These settings apply only when `--tag=package-resources-2019-07` is specified on the command line. + +``` yaml $(tag) == 'package-resources-2019-07' +input-file: +- Microsoft.Resources/stable/2019-07-01/resources.json +``` + +### Tag: package-resources-2019-0510 + +These settings apply only when `--tag=package-resources-2019-0510` is specified on the command line. + +``` yaml $(tag) == 'package-resources-2019-0510' +input-file: +- Microsoft.Resources/stable/2019-05-10/resources.json +``` + +### Tag: package-resources-2019-05 + +These settings apply only when `--tag=package-resources-2019-05` is specified on the command line. + +``` yaml $(tag) == 'package-resources-2019-05' +input-file: +- Microsoft.Resources/stable/2019-05-01/resources.json +``` + +### Tag: package-resources-2019-03 + +These settings apply only when `--tag=package-resources-2019-03` is specified on the command line. + +``` yaml $(tag) == 'package-resources-2019-03' +input-file: +- Microsoft.Resources/stable/2019-03-01/resources.json +``` + +### Tag: package-resources-2018-05 + +These settings apply only when `--tag=package-resources-2018-05` is specified on the command line. + +``` yaml $(tag) == 'package-resources-2018-05' +input-file: +- Microsoft.Resources/stable/2018-05-01/resources.json +``` + +### Tag: package-resources-2018-02 + +These settings apply only when `--tag=package-resources-2018-02` is specified on the command line. + +``` yaml $(tag) == 'package-resources-2018-02' +input-file: +- Microsoft.Resources/stable/2018-02-01/resources.json +``` + +### Tag: package-resources-2017-05 + +These settings apply only when `--tag=package-resources-2017-05` is specified on the command line. + +``` yaml $(tag) == 'package-resources-2017-05' +input-file: +- Microsoft.Resources/stable/2017-05-10/resources.json +``` + +### Tag: package-resources-2016-09 + +These settings apply only when `--tag=package-resources-2016-09` is specified on the command line. + +``` yaml $(tag) == 'package-resources-2016-09' +input-file: +- Microsoft.Resources/stable/2016-09-01/resources.json +``` + +### Tag: package-resources-2016-07 + +These settings apply only when `--tag=package-resources-2016-07` is specified on the command line. + +``` yaml $(tag) == 'package-resources-2016-07' +input-file: +- Microsoft.Resources/stable/2016-07-01/resources.json +``` + +### Tag: package-resources-2016-02 + +These settings apply only when `--tag=package-resources-2016-02` is specified on the command line. + +``` yaml $(tag) == 'package-resources-2016-02' +input-file: +- Microsoft.Resources/stable/2016-02-01/resources.json +``` + +### Tag: package-resources-2015-11 + +These settings apply only when `--tag=package-resources-2015-11` is specified on the command line. + +``` yaml $(tag) == 'package-resources-2015-11' +input-file: +- Microsoft.Resources/stable/2015-11-01/resources.json +``` + +## Suppression + +``` yaml +directive: + - suppress: UniqueResourcePaths + from: resources.json + where: $.paths + reason: route definitions under an extension resource with Microsoft.Management + - suppress: BodyTopLevelProperties + from: resources.json + where: $.definitions.ResourceGroup.properties + reason: managedBy is a top level property + - suppress: BodyTopLevelProperties + from: resources.json + where: $.definitions.GenericResource.properties + reason: managedBy is a top level property + - suppress: BodyTopLevelProperties + from: resources.json + where: $.definitions.GenericResourceExpanded.properties + reason: 'createdTime,changedTime & provisioningState are top-level properties' + - suppress: BodyTopLevelProperties + from: resources.json + where: $.definitions.TagDetails.properties + reason: TagDetails is a top level property + - suppress: BodyTopLevelProperties + from: resources.json + where: $.definitions.TagValue.properties + reason: TagValue is a top level property + - suppress: RequiredPropertiesMissingInResourceModel + from: resources.json + where: $.definitions.TagValue + reason: TagValue will be deprecated soon + - suppress: RequiredPropertiesMissingInResourceModel + from: resources.json + where: $.definitions.TagDetails + reason: TagDetails will be deprecated soon + - suppress: XmsResourceInPutResponse + from: resources.json + where: '$.paths["/subscriptions/{subscriptionId}/tagNames/{tagName}"].put' + reason: TagDetails is not an Azure resource + - suppress: DescriptionAndTitleMissing + where: $.definitions.AliasPathMetadata + from: resources.json + reason: This was already checked in - not my code + - from: resources.json + suppress: R4009 + where: + - '$.paths["/{scope}/providers/Microsoft.Resources/tags/default"].put' + - '$.paths["/{scope}/providers/Microsoft.Resources/tags/default"].patch' + - '$.paths["/{scope}/providers/Microsoft.Resources/tags/default"].get' + reason: The tags API does not support system data + - suppress: XMS_EXAMPLE_NOTFOUND_ERROR + where: $.paths + from: resources.json + reason: Pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: LRO_RESPONSE_HEADER + reason: Pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: OperationsApiResponseSchema + from: resources.json + reason: Pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: OperationsApiSchemaUsesCommonTypes + from: resources.json + reason: Pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: NoDuplicatePathsForScopeParameter + from: resources.json + reason: Pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: LroLocationHeader + from: resources.json + reason: Pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: LroErrorContent + from: resources.json + reason: Pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: NoErrorCodeResponses + from: resources.json + reason: Pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: PutRequestResponseSchemeArm + from: resources.json + reason: Pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: PutResponseSchemaDescription + from: resources.json + reason: Pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: PostOperationAsyncResponseValidation + from: resources.json + reason: Pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: MissingXmsErrorResponse + from: resources.json + reason: Pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: PathForPutOperation + from: resources.json + reason: Pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: PathResourceProviderMatchNamespace + from: resources.json + reason: Pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: ParametersOrder + from: resources.json + reason: Pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: SyncPostReturn + from: resources.json + reason: Pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: PathContainsResourceType + from: resources.json + reason: Pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: OperationIdNounVerb + from: resources.json + reason: Pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: PathForResourceAction + from: resources.json + reason: Pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: UnSupportedPatchProperties + from: resources.json + reason: Pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: LroPostReturn + from: resources.json + reason: Pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: ProvisioningStateSpecifiedForLROPut + from: resources.json + reason: Pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: ProvisioningStateSpecifiedForLROPatch + from: resources.json + reason: Pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: SubscriptionsAndResourceGroupCasing + from: resources.json + reason: Pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: ResourceNameRestriction + from: resources.json + reason: Pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: ConsistentPatchProperties + from: resources.json + reason: Pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: GetCollectionOnlyHasValueAndNextLink + from: resources.json + reason: Pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: MissingTypeObject + from: resources.json + reason: Pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: TrackedResourcePatchOperation + from: resources.json + reason: Pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: IntegerTypeMustHaveFormat + from: resources.json + reason: Pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: BodyTopLevelProperties + from: resources.json + reason: Pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: TopLevelResourcesListBySubscription + from: resources.json + reason: Pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: XmsParameterLocation + from: resources.json + reason: Pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: PathForTrackedResourceTypes + from: resources.json + reason: Not a tracked resource type. Cannot change anything due to design philosophy in ARM. + - suppress: PathForTrackedResourceTypes + from: policyAssignments.json + reason: Not a tracked resource type. The API has never been changed since inception. Would be a breaking change. + - suppress: PostResponseCodes + from: resources.json + reason: Breaking change in order to change the API response code. + - suppress: TenantLevelAPIsNotAllowed + from: resources.json + reason: Tenant level API's are allowed as an exception in ARM repo. It is a breaking change to modify it. + - suppress: XmsPageableForListCalls + from: resources.json + reason: Shared swagger with other teams. We cannot make changes to the API as we don't own it. + - suppress: EvenSegmentedPathForPutOperation + from: resources.json + reason: Linter rule limitation. The API has never been changed since inception. Would be a breaking change. + + - suppress: DeleteResponseCodes + from: resources.json + reason: Breaking change in order to change the API response code. + - suppress: PutResponseCodes + from: resources.json + reason: Breaking change in order to change the API response code. + - suppress: AvoidAdditionalProperties + from: resources.json + reason: Breaking change in order to change the property names for multiple API's. Will fix in the future. + - suppress: XmsExamplesRequired + from: resources.json + reason: Xms Examples required is a pre-existing lint error. Not related to this version release. Will fix in the future. + - suppress: RequiredReadOnlySystemData + from: resources.json + reason: Pre-existing lint error. Not related to this version release. Will fix in the future + - suppress: TenantLevelAPIsNotAllowed + from: dataBoundaries.json + reason: "Have approval from the PAS team." + - suppress: GetCollectionResponseSchema + from: dataBoundaries.json + reason: "Do not have any list calls." + - suppress: TrackedExtensionResourcesAreNotAllowed + from: resources.json + reason: "The deployments resource type is ProxyOnly." + - suppress: RequiredPropertiesMissingInResourceModel + from: resources.json + where: $.definitions.Provider + reason: "Historically some properties have not been returned for this model and reviewer said OK to suppress." + - suppress: RequiredPropertiesMissingInResourceModel + from: resources.json + where: $.definitions.ProviderListResult + reason: "Historically some properties have not been returned for this model and reviewer said OK to suppress." + - suppress: RequiredPropertiesMissingInResourceModel + from: resources.json + where: $.definitions.ProviderResourceTypeListResult + reason: "Historically some properties have not been returned for this model and reviewer said OK to suppress." + - suppress: RequiredPropertiesMissingInResourceModel + from: resources.json + where: $.definitions.TagsListResult + reason: "Historically some properties have not been returned for this model and reviewer said OK to suppress." + - suppress: RequiredPropertiesMissingInResourceModel + from: resources.json + where: $.definitions.DeploymentOperation + reason: "Historically some properties have not been returned for this model and reviewer said OK to suppress." + - suppress: RequiredPropertiesMissingInResourceModel + from: resources.json + where: $.definitions.DeploymentOperationsListResult + reason: "Historically some properties have not been returned for this model and reviewer said OK to suppress." + - suppress: RequiredPropertiesMissingInResourceModel + from: resources.json + where: $.definitions.OperationListResult + reason: "Historically some properties have not been returned for this model and reviewer said OK to suppress." + - suppress: RequiredPropertiesMissingInResourceModel + from: resources.json + where: $.definitions.ProviderPermissionListResult + reason: "Historically some properties have not been returned for this model and reviewer said OK to suppress." + - suppress: OperationsAPIImplementation + from: Microsoft.Resources/stable/2016-02-01/resources.json + reason: Pre-existing lint error. + - suppress: OperationsAPIImplementation + from: Microsoft.Resources/stable/2016-07-01/resources.json + reason: Pre-existing lint error. + - suppress: OperationsAPIImplementation + from: Microsoft.Resources/stable/2016-09-01/resources.json + reason: Pre-existing lint error. + - suppress: OperationsAPIImplementation + from: Microsoft.Resources/stable/2017-05-10/resources.json + reason: Pre-existing lint error. + - suppress: OperationsAPIImplementation + from: Microsoft.Resources/stable/2018-02-01/resources.json + reason: Pre-existing lint error. +``` + +--- + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +``` yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-net + - repo: azure-sdk-for-python + - repo: azure-sdk-for-java + - repo: azure-sdk-for-go + - repo: azure-sdk-for-node + - repo: azure-sdk-for-js + - repo: azure-resource-manager-schemas + - repo: azure-powershell +``` + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## Go + +See configuration in [readme.go.md](./readme.go.md) + +## Java + +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/readme.nodejs.md b/specification/resources/resource-manager/Microsoft.Resources/resources/readme.nodejs.md new file mode 100644 index 000000000000..6d25cc9521d0 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/resources/readme.nodejs.md @@ -0,0 +1,22 @@ +## Node.js + +These settings apply only when `--nodejs` is specified on the command line. +Please also specify `--node-sdks-folder=`. + +```yaml $(nodejs) +nodejs: + azure-arm: true + batch: true + package-name: azure-arm-resource + generate-license-txt: true + generate-package-json: false + generate-readme-md: false + output-folder: $(node-sdks-folder)/lib/services/resourceManagement +batch: + - package-resources: true +``` + +```yaml $(nodejs) && $(package-resources) +nodejs: + source-code-folder-path: lib/resource +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/readme.python.md b/specification/resources/resource-manager/Microsoft.Resources/resources/readme.python.md new file mode 100644 index 000000000000..a05084809d04 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/resources/readme.python.md @@ -0,0 +1,34 @@ +## Python + +These settings apply only when `--python` is specified on the command line. + +``` yaml $(python) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +package-name: azure-mgmt-resource +package-version: 1.0.0b1 +no-namespace-folders: true +reformat-next-link: false +combine-operation-files: true +clear-output-folder: true +modelerfour: + lenient-model-deduplication: true +``` + +### Python batch + +```yaml $(python) +batch: + - tag: package-resources-2025-04 +``` + +### Tag: package-resources-2025-04 and python + +These settings apply only when `--tag=package-resources-2025-04 --python` is specified on the command line. Please also +specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-resources-2025-04' +title: ResourceManagementClient +namespace: azure.mgmt.resource.resources +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/resources +``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/readme.ruby.md b/specification/resources/resource-manager/Microsoft.Resources/resources/readme.ruby.md new file mode 100644 index 000000000000..fcab5eb589a9 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/resources/readme.ruby.md @@ -0,0 +1,63 @@ +### Ruby multi-api for resources + +``` yaml $(multiapi) && $(resources) +package-name: azure_mgmt_resources +package-version: "0.16.0" +azure-arm: true +batch: + - tag: package-resources-2019-03 + - tag: package-resources-2017-05 + - tag: package-resources-2016-09 + - tag: package-resources-2016-07 + - tag: package-resources-2016-02 +``` + +### Tag: package-resources-2019-03 and ruby + +These settings apply only when `--tag=package-resources-2019-03 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-resources-2019-03' && $(ruby) +namespace: "Azure::Resources::Mgmt::V2019_03_10" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib +``` + +### Tag: package-resources-2017-05 and ruby + +These settings apply only when `--tag=package-resources-2017-05 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-resources-2017-05' && $(ruby) +namespace: "Azure::Resources::Mgmt::V2017_05_10" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib +``` + +### Tag: package-resources-2016-09 and ruby + +These settings apply only when `--tag=package-resources-2016-09 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-resources-2016-09' && $(ruby) +namespace: "Azure::Resources::Mgmt::V2016_09_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib +``` + +### Tag: package-resources-2016-07 and ruby + +These settings apply only when `--tag=package-resources-2016-07 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-resources-2016-07' && $(ruby) +namespace: "Azure::Resources::Mgmt::V2016_07_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib +``` + +### Tag: package-resources-2016-02 and ruby + +These settings apply only when `--tag=package-resources-2016-02 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-resources-2016-02' && $(ruby) +namespace: "Azure::Resources::Mgmt::V2016_02_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/readme.typescript.md b/specification/resources/resource-manager/Microsoft.Resources/resources/readme.typescript.md new file mode 100644 index 000000000000..5499dc17da6e --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/resources/readme.typescript.md @@ -0,0 +1,39 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +```yaml $(typescript) && !$(profile-content) +typescript: + azure-arm: true + batch: true + generate-metadata: true +batch: + - package-resources: true +``` + +```yaml $(typescript) && $(package-resources) && !$(profile-content) +typescript: + package-name: "@azure/arm-resources" + output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-resources" +``` + +```yaml $(tag)=='package-resources-2018-05' && $(profile-content)=='profile-hybrid-2019-03-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-resources-profile-2019-03-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-resources-profile-2019-03-01-hybrid" + batch: + - tag: package-resources-2018-05 +``` + +```yaml $(tag)=='package-resources-2019-10' && $(profile-content)=='profile-hybrid-2020-09-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-resources-profile-2020-09-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-resources-profile-2020-09-01-hybrid" + batch: + - tag: package-resources-2019-10 +``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/sdk-suppressions.yaml b/specification/resources/resource-manager/Microsoft.Resources/resources/sdk-suppressions.yaml new file mode 100644 index 000000000000..148ac5b05a8d --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/resources/sdk-suppressions.yaml @@ -0,0 +1,113 @@ +suppressions: + azure-sdk-for-go: + - package: sdk/resourcemanager/resources/armresources + breaking-changes: + - Operation `*TagsClient.CreateOrUpdateAtScope` has been changed to LRO, use `*TagsClient.BeginCreateOrUpdateAtScope` instead. + - Operation `*TagsClient.DeleteAtScope` has been changed to LRO, use `*TagsClient.BeginDeleteAtScope` instead. + - Operation `*TagsClient.UpdateAtScope` has been changed to LRO, use `*TagsClient.BeginUpdateAtScope` instead. + - Type of `DeploymentProperties.Parameters` has been changed from `any` to `map[string]*DeploymentParameter` + - Type of `DeploymentWhatIfProperties.Parameters` has been changed from `any` to `map[string]*DeploymentParameter` + - Field `DeploymentValidateResult` of struct `DeploymentsClientValidateAtManagementGroupScopeResponse` has been removed + - Field `DeploymentValidateResult` of struct `DeploymentsClientValidateAtScopeResponse` has been removed + - Field `DeploymentValidateResult` of struct `DeploymentsClientValidateAtSubscriptionScopeResponse` has been removed + - Field `DeploymentValidateResult` of struct `DeploymentsClientValidateAtTenantScopeResponse` has been removed + - Field `DeploymentValidateResult` of struct `DeploymentsClientValidateResponse` has been removed + - Struct `DeploymentValidateResult` has been removed + - package: sdk/resourcemanager/resources/armdeploymentstacks + breaking-changes: + - Struct `DeploymentStackPropertiesActionOnUnmanage` has been removed + - Struct `ErrorResponse` has been removed + - Type of `DeploymentStackProperties.ActionOnUnmanage` has been changed from `*DeploymentStackPropertiesActionOnUnmanage` to `*ActionOnUnmanage` + - Type of `DeploymentStackProperties.Error` has been changed from `*ErrorResponse` to `*ErrorDetail` + - Type of `DeploymentStackProperties.Parameters` has been changed from `any` to `map[string]*DeploymentParameter` + - Type of `ResourceReferenceExtended.Error` has been changed from `*ErrorResponse` to `*ErrorDetail` + - "`DeploymentStackProvisioningStateLocking` from enum `DeploymentStackProvisioningState` has been removed" + - "`ResourceStatusModeNone` from enum `ResourceStatusMode` has been removed" + - package: sdk/resourcemanager/resources/armpolicy + breaking-changes: + - Enum `AliasPathAttributes` has been removed + - Enum `AliasPathTokenType` has been removed + - Enum `AliasPatternType` has been removed + - Enum `AliasType` has been removed + - Enum `AssignmentScopeValidation` has been removed + - Enum `ExemptionCategory` has been removed + - Function `*ClientFactory.NewDataPolicyManifestsClient` has been removed + - Function `*ClientFactory.NewExemptionsClient` has been removed + - Function `*ClientFactory.NewVariableValuesClient` has been removed + - Function `*ClientFactory.NewVariablesClient` has been removed + - Function `NewDataPolicyManifestsClient` has been removed + - Function `*DataPolicyManifestsClient.GetByPolicyMode` has been removed + - Function `*DataPolicyManifestsClient.NewListPager` has been removed + - Function `NewExemptionsClient` has been removed + - Function `*ExemptionsClient.CreateOrUpdate` has been removed + - Function `*ExemptionsClient.Delete` has been removed + - Function `*ExemptionsClient.Get` has been removed + - Function `*ExemptionsClient.NewListForManagementGroupPager` has been removed + - Function `*ExemptionsClient.NewListForResourceGroupPager` has been removed + - Function `*ExemptionsClient.NewListForResourcePager` has been removed + - Function `*ExemptionsClient.NewListPager` has been removed + - Function `*ExemptionsClient.Update` has been removed + - Function `NewVariableValuesClient` has been removed + - Function `*VariableValuesClient.CreateOrUpdate` has been removed + - Function `*VariableValuesClient.CreateOrUpdateAtManagementGroup` has been removed + - Function `*VariableValuesClient.Delete` has been removed + - Function `*VariableValuesClient.DeleteAtManagementGroup` has been removed + - Function `*VariableValuesClient.Get` has been removed + - Function `*VariableValuesClient.GetAtManagementGroup` has been removed + - Function `*VariableValuesClient.NewListForManagementGroupPager` has been removed + - Function `*VariableValuesClient.NewListPager` has been removed + - Function `NewVariablesClient` has been removed + - Function `*VariablesClient.CreateOrUpdate` has been removed + - Function `*VariablesClient.CreateOrUpdateAtManagementGroup` has been removed + - Function `*VariablesClient.Delete` has been removed + - Function `*VariablesClient.DeleteAtManagementGroup` has been removed + - Function `*VariablesClient.Get` has been removed + - Function `*VariablesClient.GetAtManagementGroup` has been removed + - Function `*VariablesClient.NewListForManagementGroupPager` has been removed + - Function `*VariablesClient.NewListPager` has been removed + - Struct `Alias` has been removed + - Struct `AliasPath` has been removed + - Struct `AliasPathMetadata` has been removed + - Struct `AliasPattern` has been removed + - Struct `DataEffect` has been removed + - Struct `DataManifestCustomResourceFunctionDefinition` has been removed + - Struct `DataManifestResourceFunctionsDefinition` has been removed + - Struct `DataPolicyManifest` has been removed + - Struct `DataPolicyManifestListResult` has been removed + - Struct `DataPolicyManifestProperties` has been removed + - Struct `Exemption` has been removed + - Struct `ExemptionListResult` has been removed + - Struct `ExemptionProperties` has been removed + - Struct `ExemptionUpdate` has been removed + - Struct `ExemptionUpdateProperties` has been removed + - Struct `ResourceTypeAliases` has been removed + - Struct `Variable` has been removed + - Struct `VariableColumn` has been removed + - Struct `VariableListResult` has been removed + - Struct `VariableProperties` has been removed + - Struct `VariableValue` has been removed + - Struct `VariableValueColumnValue` has been removed + - Struct `VariableValueListResult` has been removed + - Struct `VariableValueProperties` has been removed + azure-sdk-for-js: + - package: "@azure/arm-resources" + breaking-changes: + - Class ResourceManagementClient has a new signature + - Removed operation TagsOperations.createOrUpdateAtScope + - Removed operation TagsOperations.deleteAtScope + - Removed operation TagsOperations.updateAtScope + - "Type of parameter parameters of interface DeploymentProperties is changed from Record to {\n [propertyName: string]: DeploymentParameter;\n }" + - package: "@azure/arm-policy" + breaking-changes: + - Class PolicyClient no longer has parameter dataPolicyManifests + - Class PolicyClient no longer has parameter policyExemptions + - Removed Enum KnownAliasPathAttributes + - Removed Enum KnownAliasPathTokenType + - Removed Enum KnownExemptionCategory + - Removed operation group DataPolicyManifests + - Removed operation group PolicyExemptions + - Interface ErrorResponse no longer has parameter additionalInfo + - Interface ErrorResponse no longer has parameter code + - Interface ErrorResponse no longer has parameter details + - Interface ErrorResponse no longer has parameter message + - Interface ErrorResponse no longer has parameter target \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2015-11-01/examples/CheckResourceName.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2015-11-01/examples/CheckResourceName.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2015-11-01/examples/CheckResourceName.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2015-11-01/examples/CheckResourceName.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2015-11-01/examples/PostCheckZonePeers.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2015-11-01/examples/PostCheckZonePeers.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2015-11-01/examples/PostCheckZonePeers.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2015-11-01/examples/PostCheckZonePeers.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2015-11-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2015-11-01/resources.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2015-11-01/resources.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2015-11-01/resources.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2016-02-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2016-02-01/resources.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2016-02-01/resources.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2016-02-01/resources.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2016-07-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2016-07-01/resources.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2016-07-01/resources.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2016-07-01/resources.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2016-09-01/resources.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/resources.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2016-09-01/resources.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2017-05-10/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2017-05-10/resources.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2017-05-10/resources.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2017-05-10/resources.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2018-02-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2018-02-01/resources.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2018-02-01/resources.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2018-02-01/resources.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2018-05-01/examples/CreateResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2018-05-01/examples/CreateResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2018-05-01/examples/CreateResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2018-05-01/examples/CreateResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2018-05-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2018-05-01/resources.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2018-05-01/resources.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2018-05-01/resources.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/CreateResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-03-01/examples/CreateResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/CreateResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-03-01/examples/CreateResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/ExportResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-03-01/examples/ExportResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/ExportResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-03-01/examples/ExportResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/ExportResourceGroupWithFiltering.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-03-01/examples/ExportResourceGroupWithFiltering.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/examples/ExportResourceGroupWithFiltering.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-03-01/examples/ExportResourceGroupWithFiltering.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-03-01/resources.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/resources.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-03-01/resources.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/examples/CreateResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-05-01/examples/CreateResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/examples/CreateResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-05-01/examples/CreateResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/examples/ExportResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-05-01/examples/ExportResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/examples/ExportResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-05-01/examples/ExportResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/examples/ExportResourceGroupWithFiltering.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-05-01/examples/ExportResourceGroupWithFiltering.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/examples/ExportResourceGroupWithFiltering.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-05-01/examples/ExportResourceGroupWithFiltering.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-05-01/resources.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/resources.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-05-01/resources.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/examples/CreateResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-05-10/examples/CreateResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/examples/CreateResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-05-10/examples/CreateResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/examples/ExportResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-05-10/examples/ExportResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/examples/ExportResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-05-10/examples/ExportResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/examples/ExportResourceGroupWithFiltering.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-05-10/examples/ExportResourceGroupWithFiltering.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/examples/ExportResourceGroupWithFiltering.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-05-10/examples/ExportResourceGroupWithFiltering.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-05-10/resources.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/resources.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-05-10/resources.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/CreateResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-07-01/examples/CreateResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/CreateResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-07-01/examples/CreateResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/ExportResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-07-01/examples/ExportResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/ExportResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-07-01/examples/ExportResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/ExportResourceGroupWithFiltering.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-07-01/examples/ExportResourceGroupWithFiltering.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/examples/ExportResourceGroupWithFiltering.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-07-01/examples/ExportResourceGroupWithFiltering.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-07-01/resources.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/resources.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-07-01/resources.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-08-01/examples/CreateResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-08-01/examples/CreateResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-08-01/examples/CreateResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-08-01/examples/CreateResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-08-01/examples/ExportResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-08-01/examples/ExportResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-08-01/examples/ExportResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-08-01/examples/ExportResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-08-01/examples/ExportResourceGroupWithFiltering.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-08-01/examples/ExportResourceGroupWithFiltering.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-08-01/examples/ExportResourceGroupWithFiltering.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-08-01/examples/ExportResourceGroupWithFiltering.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-08-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-08-01/resources.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-08-01/resources.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-08-01/resources.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-10-01/examples/CreateResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-10-01/examples/CreateResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-10-01/examples/CreateResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-10-01/examples/CreateResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-10-01/examples/ExportResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-10-01/examples/ExportResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-10-01/examples/ExportResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-10-01/examples/ExportResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-10-01/examples/ExportResourceGroupWithFiltering.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-10-01/examples/ExportResourceGroupWithFiltering.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-10-01/examples/ExportResourceGroupWithFiltering.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-10-01/examples/ExportResourceGroupWithFiltering.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-10-01/examples/GetTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-10-01/examples/GetTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-10-01/examples/GetTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-10-01/examples/GetTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-10-01/examples/GetTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-10-01/examples/GetTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-10-01/examples/GetTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-10-01/examples/GetTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-10-01/examples/PutTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-10-01/examples/PutTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-10-01/examples/PutTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-10-01/examples/PutTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-10-01/examples/PutTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-10-01/examples/PutTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-10-01/examples/PutTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-10-01/examples/PutTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-10-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-10-01/resources.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-10-01/resources.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-10-01/resources.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-06-01/examples/CreateResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-06-01/examples/CreateResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-06-01/examples/CreateResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-06-01/examples/CreateResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-06-01/examples/ExportResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-06-01/examples/ExportResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-06-01/examples/ExportResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-06-01/examples/ExportResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-06-01/examples/ExportResourceGroupWithFiltering.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-06-01/examples/ExportResourceGroupWithFiltering.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-06-01/examples/ExportResourceGroupWithFiltering.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-06-01/examples/ExportResourceGroupWithFiltering.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-06-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-06-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-06-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-06-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-06-01/examples/ForceDeleteVMsInResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-06-01/examples/ForceDeleteVMsInResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-06-01/examples/ForceDeleteVMsInResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-06-01/examples/ForceDeleteVMsInResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-06-01/examples/GetNamedProviderAtTenant.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-06-01/examples/GetNamedProviderAtTenant.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-06-01/examples/GetNamedProviderAtTenant.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-06-01/examples/GetNamedProviderAtTenant.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-06-01/examples/GetTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-06-01/examples/GetTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-06-01/examples/GetTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-06-01/examples/GetTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-06-01/examples/GetTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-06-01/examples/GetTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-06-01/examples/GetTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-06-01/examples/GetTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-06-01/examples/PutTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-06-01/examples/PutTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-06-01/examples/PutTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-06-01/examples/PutTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-06-01/examples/PutTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-06-01/examples/PutTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-06-01/examples/PutTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-06-01/examples/PutTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-06-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-06-01/resources.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-06-01/resources.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-06-01/resources.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-08-01/examples/CreateResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-08-01/examples/CreateResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-08-01/examples/CreateResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-08-01/examples/CreateResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-08-01/examples/ExportResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-08-01/examples/ExportResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-08-01/examples/ExportResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-08-01/examples/ExportResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-08-01/examples/ExportResourceGroupWithFiltering.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-08-01/examples/ExportResourceGroupWithFiltering.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-08-01/examples/ExportResourceGroupWithFiltering.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-08-01/examples/ExportResourceGroupWithFiltering.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-08-01/examples/GetNamedProviderAtTenant.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-08-01/examples/GetNamedProviderAtTenant.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-08-01/examples/GetNamedProviderAtTenant.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-08-01/examples/GetNamedProviderAtTenant.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-08-01/examples/GetProvider.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-08-01/examples/GetProvider.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-08-01/examples/GetProvider.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-08-01/examples/GetProvider.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-08-01/examples/GetProviderResourceTypes.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-08-01/examples/GetProviderResourceTypes.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-08-01/examples/GetProviderResourceTypes.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-08-01/examples/GetProviderResourceTypes.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-08-01/examples/GetProviders.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-08-01/examples/GetProviders.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-08-01/examples/GetProviders.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-08-01/examples/GetProviders.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-08-01/examples/GetTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-08-01/examples/GetTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-08-01/examples/GetTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-08-01/examples/GetTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-08-01/examples/GetTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-08-01/examples/GetTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-08-01/examples/GetTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-08-01/examples/GetTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-08-01/examples/PutTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-08-01/examples/PutTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-08-01/examples/PutTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-08-01/examples/PutTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-08-01/examples/PutTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-08-01/examples/PutTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-08-01/examples/PutTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-08-01/examples/PutTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-08-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-08-01/resources.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-08-01/resources.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-08-01/resources.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/CreateResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-10-01/examples/CreateResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/CreateResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-10-01/examples/CreateResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/ExportResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-10-01/examples/ExportResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/ExportResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-10-01/examples/ExportResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/ExportResourceGroupWithFiltering.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-10-01/examples/ExportResourceGroupWithFiltering.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/ExportResourceGroupWithFiltering.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-10-01/examples/ExportResourceGroupWithFiltering.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/GetNamedProviderAtTenant.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-10-01/examples/GetNamedProviderAtTenant.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/GetNamedProviderAtTenant.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-10-01/examples/GetNamedProviderAtTenant.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/GetProvider.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-10-01/examples/GetProvider.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/GetProvider.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-10-01/examples/GetProvider.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/GetProviderResourceTypes.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-10-01/examples/GetProviderResourceTypes.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/GetProviderResourceTypes.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-10-01/examples/GetProviderResourceTypes.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/GetProviders.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-10-01/examples/GetProviders.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/GetProviders.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-10-01/examples/GetProviders.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/GetTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-10-01/examples/GetTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/GetTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-10-01/examples/GetTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/GetTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-10-01/examples/GetTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/GetTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-10-01/examples/GetTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/PutTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-10-01/examples/PutTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/PutTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-10-01/examples/PutTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/PutTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-10-01/examples/PutTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/PutTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-10-01/examples/PutTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-10-01/resources.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/resources.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-10-01/resources.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/CheckResourceName.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/CheckResourceName.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/CheckResourceName.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/CheckResourceName.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/CreateResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/CreateResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/CreateResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/CreateResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/ExportResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/ExportResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/ExportResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/ExportResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/ExportResourceGroupWithFiltering.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/ExportResourceGroupWithFiltering.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/ExportResourceGroupWithFiltering.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/ExportResourceGroupWithFiltering.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/ForceDeleteVMsInResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/ForceDeleteVMsInResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/ForceDeleteVMsInResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/ForceDeleteVMsInResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/GetLocations.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetLocations.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/GetLocations.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetLocations.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/GetLocationsWithExtendedLocations.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetLocationsWithExtendedLocations.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/GetLocationsWithExtendedLocations.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetLocationsWithExtendedLocations.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/GetNamedProviderAtTenant.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetNamedProviderAtTenant.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/GetNamedProviderAtTenant.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetNamedProviderAtTenant.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/GetProvider.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetProvider.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/GetProvider.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetProvider.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/GetProviderResourceTypes.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetProviderResourceTypes.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/GetProviderResourceTypes.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetProviderResourceTypes.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/GetProviders.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetProviders.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/GetProviders.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetProviders.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/GetSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/GetSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/GetSubscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetSubscriptions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/GetSubscriptions.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetSubscriptions.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/GetTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/GetTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/GetTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/GetTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/GetTenants.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetTenants.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/GetTenants.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetTenants.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2016-06-01/examples/PostCheckZonePeers.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/PostCheckZonePeers.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2016-06-01/examples/PostCheckZonePeers.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/PostCheckZonePeers.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/PutTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/PutTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/PutTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/PutTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/PutTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/PutTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/PutTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/PutTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/resources.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/resources.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/resources.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/subscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/subscriptions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/subscriptions.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/subscriptions.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CreateResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/examples/CreateResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CreateResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/examples/CreateResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ExportResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/examples/ExportResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ExportResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/examples/ExportResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ExportResourceGroupWithFiltering.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/examples/ExportResourceGroupWithFiltering.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ExportResourceGroupWithFiltering.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/examples/ExportResourceGroupWithFiltering.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ForceDeleteVMsInResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/examples/ForceDeleteVMsInResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ForceDeleteVMsInResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/examples/ForceDeleteVMsInResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetNamedProviderAtTenant.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/examples/GetNamedProviderAtTenant.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetNamedProviderAtTenant.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/examples/GetNamedProviderAtTenant.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetProvider.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/examples/GetProvider.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetProvider.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/examples/GetProvider.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetProviderPermissions.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/examples/GetProviderPermissions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetProviderPermissions.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/examples/GetProviderPermissions.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetProviderResourceTypes.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/examples/GetProviderResourceTypes.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetProviderResourceTypes.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/examples/GetProviderResourceTypes.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetProviders.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/examples/GetProviders.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetProviders.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/examples/GetProviders.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/examples/GetTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/examples/GetTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/examples/GetTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/examples/GetTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/PutTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/examples/PutTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/PutTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/examples/PutTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/PutTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/examples/PutTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/PutTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/examples/PutTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/resources.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/resources.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/resources.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/CreateResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/CreateResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/CreateResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/CreateResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/DeleteTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/DeleteTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/DeleteTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/DeleteTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/DeleteTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/DeleteTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/DeleteTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/DeleteTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/ExportResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/ExportResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/ExportResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/ExportResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/ExportResourceGroupWithFiltering.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/ExportResourceGroupWithFiltering.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/ExportResourceGroupWithFiltering.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/ExportResourceGroupWithFiltering.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/ForceDeleteVMsInResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/ForceDeleteVMsInResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/ForceDeleteVMsInResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/ForceDeleteVMsInResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/GetNamedProviderAtTenant.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/GetNamedProviderAtTenant.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/GetNamedProviderAtTenant.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/GetNamedProviderAtTenant.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/GetProvider.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/GetProvider.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/GetProvider.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/GetProvider.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/GetProviderPermissions.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/GetProviderPermissions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/GetProviderPermissions.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/GetProviderPermissions.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/GetProviderResourceTypes.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/GetProviderResourceTypes.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/GetProviderResourceTypes.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/GetProviderResourceTypes.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/GetProviders.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/GetProviders.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/GetProviders.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/GetProviders.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/GetTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/GetTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/GetTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/GetTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/GetTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/GetTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/GetTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/GetTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/PatchTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/PatchTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/PatchTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/PatchTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/PatchTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/PatchTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/PatchTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/PatchTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/PutTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/PutTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/PutTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/PutTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/PutTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/PutTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/PutTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/examples/PutTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/resources.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/resources.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/resources.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/CreateResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/CreateResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/CreateResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/CreateResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/DeleteTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/DeleteTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/DeleteTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/DeleteTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/DeleteTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/DeleteTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/DeleteTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/DeleteTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/ExportResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/ExportResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/ExportResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/ExportResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/ExportResourceGroupWithFiltering.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/ExportResourceGroupWithFiltering.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/ExportResourceGroupWithFiltering.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/ExportResourceGroupWithFiltering.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/ForceDeleteVMsInResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/ForceDeleteVMsInResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/ForceDeleteVMsInResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/ForceDeleteVMsInResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/GetNamedProviderAtTenant.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/GetNamedProviderAtTenant.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/GetNamedProviderAtTenant.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/GetNamedProviderAtTenant.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/GetProvider.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/GetProvider.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/GetProvider.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/GetProvider.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/GetProviderPermissions.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/GetProviderPermissions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/GetProviderPermissions.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/GetProviderPermissions.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/GetProviderResourceTypes.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/GetProviderResourceTypes.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/GetProviderResourceTypes.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/GetProviderResourceTypes.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/GetProviders.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/GetProviders.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/GetProviders.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/GetProviders.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/GetTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/GetTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/GetTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/GetTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/GetTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/GetTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/GetTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/GetTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/PatchTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/PatchTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/PatchTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/PatchTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/PatchTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/PatchTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/PatchTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/PatchTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/PutTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/PutTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/PutTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/PutTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/PutTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/PutTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/examples/PutTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/examples/PutTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/resources.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2023-07-01/resources.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/resources.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/CreateResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/CreateResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/CreateResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/CreateResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/DeleteTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/DeleteTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/DeleteTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/DeleteTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/DeleteTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/DeleteTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/DeleteTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/DeleteTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/ExportResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/ExportResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/ExportResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/ExportResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/ExportResourceGroupAsBicep.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/ExportResourceGroupAsBicep.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/ExportResourceGroupAsBicep.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/ExportResourceGroupAsBicep.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/ExportResourceGroupWithFiltering.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/ExportResourceGroupWithFiltering.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/ExportResourceGroupWithFiltering.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/ExportResourceGroupWithFiltering.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/ForceDeleteVMsInResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/ForceDeleteVMsInResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/ForceDeleteVMsInResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/ForceDeleteVMsInResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/GetNamedProviderAtTenant.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/GetNamedProviderAtTenant.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/GetNamedProviderAtTenant.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/GetNamedProviderAtTenant.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/GetProvider.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/GetProvider.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/GetProvider.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/GetProvider.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/GetProviderPermissions.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/GetProviderPermissions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/GetProviderPermissions.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/GetProviderPermissions.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/GetProviderResourceTypes.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/GetProviderResourceTypes.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/GetProviderResourceTypes.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/GetProviderResourceTypes.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/GetProviders.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/GetProviders.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/GetProviders.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/GetProviders.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/GetTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/GetTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/GetTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/GetTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/GetTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/GetTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/GetTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/GetTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/PatchTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/PatchTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/PatchTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/PatchTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/PatchTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/PatchTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/PatchTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/PatchTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/PutTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/PutTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/PutTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/PutTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/PutTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/PutTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/PutTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/examples/PutTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/resources.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/resources.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/resources.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/CreateResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/CreateResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/CreateResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/CreateResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/DeleteTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/DeleteTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/DeleteTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/DeleteTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/DeleteTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/DeleteTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/DeleteTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/DeleteTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/ExportResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/ExportResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/ExportResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/ExportResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/ExportResourceGroupAsBicep.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/ExportResourceGroupAsBicep.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/ExportResourceGroupAsBicep.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/ExportResourceGroupAsBicep.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/ExportResourceGroupWithFiltering.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/ExportResourceGroupWithFiltering.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/ExportResourceGroupWithFiltering.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/ExportResourceGroupWithFiltering.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/ForceDeleteVMsInResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/ForceDeleteVMsInResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/ForceDeleteVMsInResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/ForceDeleteVMsInResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/GetNamedProviderAtTenant.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/GetNamedProviderAtTenant.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/GetNamedProviderAtTenant.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/GetNamedProviderAtTenant.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/GetProvider.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/GetProvider.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/GetProvider.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/GetProvider.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/GetProviderPermissions.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/GetProviderPermissions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/GetProviderPermissions.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/GetProviderPermissions.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/GetProviderResourceTypes.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/GetProviderResourceTypes.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/GetProviderResourceTypes.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/GetProviderResourceTypes.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/GetProviders.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/GetProviders.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/GetProviders.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/GetProviders.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/GetTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/GetTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/GetTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/GetTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/GetTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/GetTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/GetTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/GetTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/PatchTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/PatchTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/PatchTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/PatchTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/PatchTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/PatchTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/PatchTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/PatchTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/PutTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/PutTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/PutTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/PutTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/PutTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/PutTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/examples/PutTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/examples/PutTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/resources.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/resources.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/resources.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/CreateResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/CreateResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/CreateResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/CreateResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/DeleteTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/DeleteTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/DeleteTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/DeleteTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/DeleteTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/DeleteTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/DeleteTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/DeleteTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/ExportResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/ExportResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/ExportResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/ExportResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/ExportResourceGroupAsBicep.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/ExportResourceGroupAsBicep.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/ExportResourceGroupAsBicep.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/ExportResourceGroupAsBicep.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/ExportResourceGroupWithFiltering.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/ExportResourceGroupWithFiltering.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/ExportResourceGroupWithFiltering.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/ExportResourceGroupWithFiltering.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/ForceDeleteVMsInResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/ForceDeleteVMsInResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/ForceDeleteVMsInResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/ForceDeleteVMsInResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/GetNamedProviderAtTenant.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/GetNamedProviderAtTenant.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/GetNamedProviderAtTenant.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/GetNamedProviderAtTenant.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/GetProvider.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/GetProvider.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/GetProvider.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/GetProvider.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/GetProviderPermissions.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/GetProviderPermissions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/GetProviderPermissions.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/GetProviderPermissions.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/GetProviderResourceTypes.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/GetProviderResourceTypes.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/GetProviderResourceTypes.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/GetProviderResourceTypes.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/GetProviders.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/GetProviders.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/GetProviders.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/GetProviders.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/GetTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/GetTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/GetTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/GetTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/GetTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/GetTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/GetTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/GetTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/PatchTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/PatchTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/PatchTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/PatchTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/PatchTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/PatchTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/PatchTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/PatchTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/PutTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/PutTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/PutTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/PutTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/PutTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/PutTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/examples/PutTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/examples/PutTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/resources.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/resources.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/resources.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/CreateResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/CreateResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/CreateResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/CreateResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/DeleteTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/DeleteTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/DeleteTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/DeleteTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/DeleteTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/DeleteTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/DeleteTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/DeleteTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/ExportResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/ExportResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/ExportResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/ExportResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/ExportResourceGroupAsBicep.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/ExportResourceGroupAsBicep.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/ExportResourceGroupAsBicep.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/ExportResourceGroupAsBicep.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/ExportResourceGroupWithFiltering.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/ExportResourceGroupWithFiltering.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/ExportResourceGroupWithFiltering.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/ExportResourceGroupWithFiltering.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/ForceDeleteVMsInResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/ForceDeleteVMsInResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/ForceDeleteVMsInResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/ForceDeleteVMsInResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/GetNamedProviderAtTenant.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/GetNamedProviderAtTenant.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/GetNamedProviderAtTenant.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/GetNamedProviderAtTenant.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/GetProvider.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/GetProvider.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/GetProvider.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/GetProvider.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/GetProviderPermissions.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/GetProviderPermissions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/GetProviderPermissions.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/GetProviderPermissions.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/GetProviderResourceTypes.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/GetProviderResourceTypes.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/GetProviderResourceTypes.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/GetProviderResourceTypes.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/GetProviders.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/GetProviders.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/GetProviders.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/GetProviders.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/GetTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/GetTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/GetTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/GetTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/GetTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/GetTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/GetTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/GetTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/PatchTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/PatchTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/PatchTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/PatchTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/PatchTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/PatchTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/PatchTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/PatchTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/PutTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/PutTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/PutTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/PutTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/PutTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/PutTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/examples/PutTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/examples/PutTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/resources.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-03-01/resources.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/resources.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/CreateResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/CreateResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/CreateResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/CreateResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/DeleteTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/DeleteTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/DeleteTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/DeleteTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/DeleteTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/DeleteTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/DeleteTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/DeleteTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/ExportResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/ExportResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/ExportResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/ExportResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/ExportResourceGroupAsBicep.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/ExportResourceGroupAsBicep.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/ExportResourceGroupAsBicep.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/ExportResourceGroupAsBicep.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/ExportResourceGroupWithFiltering.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/ExportResourceGroupWithFiltering.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/ExportResourceGroupWithFiltering.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/ExportResourceGroupWithFiltering.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/ForceDeleteVMsInResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/ForceDeleteVMsInResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/ForceDeleteVMsInResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/ForceDeleteVMsInResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/GetNamedProviderAtTenant.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/GetNamedProviderAtTenant.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/GetNamedProviderAtTenant.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/GetNamedProviderAtTenant.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/GetProvider.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/GetProvider.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/GetProvider.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/GetProvider.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/GetProviderPermissions.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/GetProviderPermissions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/GetProviderPermissions.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/GetProviderPermissions.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/GetProviderResourceTypes.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/GetProviderResourceTypes.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/GetProviderResourceTypes.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/GetProviderResourceTypes.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/GetProviders.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/GetProviders.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/GetProviders.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/GetProviders.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/GetTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/GetTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/GetTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/GetTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/GetTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/GetTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/GetTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/GetTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/PatchTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/PatchTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/PatchTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/PatchTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/PatchTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/PatchTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/PatchTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/PatchTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/PutTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/PutTagsResource.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/PutTagsResource.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/PutTagsResource.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/PutTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/PutTagsSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/examples/PutTagsSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/examples/PutTagsSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/resources.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2025-04-01/resources.json rename to specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/resources.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-11-01-preview/examples/GetSnapshot.json b/specification/resources/resource-manager/Microsoft.Resources/snapshots/preview/2022-11-01-preview/examples/GetSnapshot.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/preview/2022-11-01-preview/examples/GetSnapshot.json rename to specification/resources/resource-manager/Microsoft.Resources/snapshots/preview/2022-11-01-preview/examples/GetSnapshot.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-11-01-preview/examples/ListSnapshots.json b/specification/resources/resource-manager/Microsoft.Resources/snapshots/preview/2022-11-01-preview/examples/ListSnapshots.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/preview/2022-11-01-preview/examples/ListSnapshots.json rename to specification/resources/resource-manager/Microsoft.Resources/snapshots/preview/2022-11-01-preview/examples/ListSnapshots.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-11-01-preview/snapshots.json b/specification/resources/resource-manager/Microsoft.Resources/snapshots/preview/2022-11-01-preview/snapshots.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/preview/2022-11-01-preview/snapshots.json rename to specification/resources/resource-manager/Microsoft.Resources/snapshots/preview/2022-11-01-preview/snapshots.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.go.md b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.go.md new file mode 100644 index 000000000000..e439424a6139 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.go.md @@ -0,0 +1,87 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +### Fix up regular expressions to support Unicode. + +``` yaml +directive: + from: swagger-document # do it globally + where: $.paths..parameters[?(@.name == "resourceGroupName" || @.name == "sourceResourceGroupName")].pattern + set: ^[-\p{L}\._\(\)\w]+$ + reason: Necessary to match Unicode characters in the Go regexp engine. +``` + +``` yaml $(go) && $(track2) && $(package-resources) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armresources +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` + +``` yaml $(go) && $(track2) && $(package-features) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armfeatures +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` + +``` yaml $(go) && $(track2) && $(package-links) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armlinks +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` + +``` yaml $(go) && $(track2) && $(package-locks) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armlocks +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` + +``` yaml $(go) && $(track2) && $(package-managedapplications) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armmanagedapplications +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` + +``` yaml $(go) && $(track2) && $(package-policy) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armpolicy +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` + +``` yaml $(go) && $(track2) && $(package-subscriptions) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armsubscriptions +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +modelerfour: + lenient-model-deduplication: true +``` + +``` yaml $(go) && $(track2) && $(package-changes) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armchanges +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` + +``` yaml $(go) && $(track2) && $(package-databoundaries) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/databoundaries/armdataboundaries +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.java.md b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.java.md new file mode 100644 index 000000000000..6dedca1a0423 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.java.md @@ -0,0 +1,60 @@ +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +enable-sync-stack: false + +directive: + - rename-operation: + from: Tags_DeleteValue + to: TagOperations_DeleteValue + - rename-operation: + from: Tags_CreateOrUpdateValue + to: TagOperations_CreateOrUpdateValue + - rename-operation: + from: Tags_CreateOrUpdate + to: TagOperations_CreateOrUpdate + - rename-operation: + from: Tags_Delete + to: TagOperations_Delete + - rename-operation: + from: Tags_DeleteValue + to: TagOperations_DeleteValue + - rename-operation: + from: Tags_List + to: TagOperations_List + - rename-operation: + from: Tags_CreateOrUpdateAtScope + to: TagOperations_CreateOrUpdateAtScope + - rename-operation: + from: Tags_UpdateAtScope + to: TagOperations_UpdateAtScope + - rename-operation: + from: Tags_GetAtScope + to: TagOperations_GetAtScope + - rename-operation: + from: Tags_DeleteAtScope + to: TagOperations_DeleteAtScope +``` + +``` yaml $(tag) == 'package-policy-2022-06-java' +input-file: +- Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json +- Microsoft.Authorization/stable/2021-06-01/policyDefinitions.json +- Microsoft.Authorization/stable/2021-06-01/policySetDefinitions.json +- Microsoft.Authorization/stable/2022-06-01/policyAssignments.json +- Microsoft.Authorization/preview/2022-07-01-preview/policyExemptions.json +``` + +``` yaml $(tag) == 'package-policy-2023-04-java' +input-file: +- Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json +- Microsoft.Authorization/stable/2023-04-01/policyDefinitions.json +- Microsoft.Authorization/stable/2023-04-01/policyDefinitionVersions.json +- Microsoft.Authorization/stable/2023-04-01/policySetDefinitions.json +- Microsoft.Authorization/stable/2023-04-01/policySetDefinitionVersions.json +- Microsoft.Authorization/stable/2023-04-01/policyAssignments.json +- Microsoft.Authorization/preview/2022-07-01-preview/policyExemptions.json +``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.md b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.md new file mode 100644 index 000000000000..088302fc9002 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.md @@ -0,0 +1,85 @@ +# Snapshots + +> see https://aka.ms/autorest + +This is the AutoRest configuration file. + +## Getting Started + +To build the SDK for Resource, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: + +> `autorest` + +To see additional help and options, run: + +> `autorest --help` + +--- + +## Configuration + +### Basic Information + +These are the global settings for the Resource API. + +``` yaml +title: SnapshotsClient +description: Snapshots Client +openapi-type: arm +tag: package-resources-2025-04 +``` + +### Tag: package-snapshots-2022-11 + +These settings apply only when `--tag=package-snapshots-2022-11` is specified on the command line. + +``` yaml $(tag) == 'package-snapshots-2022-11' +input-file: +- Microsoft.Resources/preview/2022-11-01-preview/snapshots.json +``` + +## Suppression + +``` yaml +directive: + - from: snapshots.json + suppress: OperationsAPIImplementation + where: $.paths + reason: 'Duplicate Operations API causes generation issues' + - suppress: TopLevelResourcesListBySubscription + from: snapshots.json + reason: We will be pushing customers to use Azure Resource Graph for those at scale scenarios. +``` + +--- + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +``` yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-net + - repo: azure-sdk-for-python + - repo: azure-sdk-for-java + - repo: azure-sdk-for-go + - repo: azure-sdk-for-node + - repo: azure-sdk-for-js + - repo: azure-resource-manager-schemas + - repo: azure-powershell +``` + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## Go + +See configuration in [readme.go.md](./readme.go.md) + +## Java + +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.nodejs.md b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.nodejs.md new file mode 100644 index 000000000000..1787b7880294 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.nodejs.md @@ -0,0 +1,59 @@ +## Node.js + +These settings apply only when `--nodejs` is specified on the command line. +Please also specify `--node-sdks-folder=`. + +```yaml $(nodejs) +nodejs: + azure-arm: true + batch: true + package-name: azure-arm-resource + generate-license-txt: true + generate-package-json: false + generate-readme-md: false + output-folder: $(node-sdks-folder)/lib/services/resourceManagement +batch: + - package-features: true + - package-locks: true + - package-policy: true + - package-resources: true + - package-subscriptions: true + - package-links: true + - package-managedapplications: true +``` + +```yaml $(nodejs) && $(package-features) +nodejs: + source-code-folder-path: lib/feature +``` + +```yaml $(nodejs) && $(package-locks) +nodejs: + source-code-folder-path: lib/lock +``` + +```yaml $(nodejs) && $(package-policy) +nodejs: + source-code-folder-path: lib/policy +``` + +```yaml $(nodejs) && $(package-resources) +nodejs: + source-code-folder-path: lib/resource +``` + +```yaml $(nodejs) && $(package-subscriptions) +nodejs: + source-code-folder-path: lib/subscription +``` + +```yaml $(nodejs) && $(package-links) +nodejs: + source-code-folder-path: lib/link +``` + +```yaml $(nodejs) && $(package-management) +nodejs: + source-code-folder-path: lib/management + override-client-name: ManagementGroupsClient +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.python.md b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.python.md new file mode 100644 index 000000000000..9ecd5cfb7b4b --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.python.md @@ -0,0 +1,144 @@ +## Python + +These settings apply only when `--python` is specified on the command line. + +``` yaml $(python) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +package-name: azure-mgmt-resource +package-version: 1.0.0b1 +no-namespace-folders: true +reformat-next-link: false +combine-operation-files: true +clear-output-folder: true +modelerfour: + lenient-model-deduplication: true +``` + +### Python batch + +```yaml $(python) +batch: + - tag: package-privatelinks-2020-05 + - tag: package-features-2021-07 + - tag: package-links-2016-09 + - tag: package-locks-2016-09 + - tag: package-managedapplications-2019-07 + - tag: package-policy-2023-04 + - tag: package-resources-2025-04 + - tag: package-subscriptions-2022-12 + - tag: package-changes-2022-05 + - tag: package-databoundaries-2024-08 +``` + +### Tag: package-privatelinks-2020-05 and python + +These settings apply only when `--tag=package-privatelinks-2020-05 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-privatelinks-2020-05' +title: ResourcePrivateLinkClient +namespace: azure.mgmt.resource.privatelinks +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/privatelinks +``` + +### Tag: package-features-2021-07 and python + +These settings apply only when `--tag=package-features-2021-07 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-features-2021-07' +title: FeatureClient +namespace: azure.mgmt.resource.features +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/features +``` + +### Tag: package-links-2016-09 and python + +These settings apply only when `--tag=package-links-2016-09 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-links-2016-09' +title: ManagementLinkClient +namespace: azure.mgmt.resource.links +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/links +``` + +### Tag: package-locks-2016-09 and python + +These settings apply only when `--tag=package-locks-2016-09 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-locks-2016-09' +title: ManagementLockClient +namespace: azure.mgmt.resource.locks +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/locks +``` + +### Tag: package-managedapplications-2019-07 and python + +These settings apply only when `--tag=package-managedapplications-2019-07 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-managedapplications-2019-07' +title: ApplicationClient +namespace: azure.mgmt.resource.managedapplications +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/managedapplications +``` + +### Tag: package-policy-2023-04 and python + +These settings apply only when `--tag=package-policy-2023-04 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-policy-2023-04' +title: PolicyClient +namespace: azure.mgmt.resource.policy +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/policy +``` + +### Tag: package-resources-2025-04 and python + +These settings apply only when `--tag=package-resources-2025-04 --python` is specified on the command line. Please also +specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-resources-2025-04' +title: ResourceManagementClient +namespace: azure.mgmt.resource.resources +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/resources +``` + +### Tag: package-subscriptions-2022-12 and python + +These settings apply only when `--tag=package-subscriptions-2022-12 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-subscriptions-2022-12' +title: SubscriptionClient +namespace: azure.mgmt.resource.subscriptions +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/subscriptions +``` + +### Tag: package-changes-2022-05 and python + +These settings apply only when `--tag=package-changes-2022-05 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-changes-2022-05' +title: ChangesClient +namespace: azure.mgmt.resource.changes +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/changes +``` + +### Tag: package-databoundaries-2024-08 and python + +These settings apply only when `--tag=package-databoundaries-2024-08 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-databoundaries-2024-08' +title: DataBoundaryMgmtClient +namespace: azure.mgmt.resource.databoundaries +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/databoundaries +directive: + - remove-operation: "Operations_List" +``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.ruby.md b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.ruby.md new file mode 100644 index 000000000000..70c149ebcbba --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.ruby.md @@ -0,0 +1,304 @@ +### Ruby multi-api for managedapplications + +``` yaml $(multiapi) && $(managedapplications) +package-name: azure_mgmt_managed_applications +package-version: "0.16.0" +azure-arm: true +batch: + - tag: package-managedapplications-2019-07 + - tag: package-managedapplications-2018-06 + - tag: package-managedapplications-2017-09 + - tag: package-managedapplications-2016-09 +``` + +### Tag: package-managedapplications-2019-07 and ruby + +These settings apply only when `--tag=package-managedapplications-2019-07 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-managedapplications-2019-07' && $(ruby) +namespace: "Azure::ManagedApplications::Mgmt::V2019_07_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib +``` + +### Tag: package-managedapplications-2018-06 and ruby + +These settings apply only when `--tag=package-managedapplications-2018-06 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-managedapplications-2018-06' && $(ruby) +namespace: "Azure::ManagedApplications::Mgmt::V2018_06_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib +``` + +### Tag: package-managedapplications-2017-09 and ruby + +These settings apply only when `--tag=package-managedapplications-2017-09 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-managedapplications-2017-09' && $(ruby) +namespace: "Azure::ManagedApplications::Mgmt::V2017_09_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib +``` + +### Tag: package-managedapplications-2016-09 and ruby + +These settings apply only when `--tag=package-managedapplications-2016-09 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-managedapplications-2016-09' && $(ruby) +namespace: "Azure::ManagedApplications::Mgmt::V2016_09_01_preview" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib +``` + +### Ruby multi-api for subscriptions + +``` yaml $(multiapi) && $(subscriptions) +package-name: azure_mgmt_subscriptions +package-version: "0.16.0" +azure-arm: true +batch: + - tag: package-subscriptions-2019-06 + - tag: package-subscriptions-2018-06 + - tag: package-subscriptions-2016-06 + - tag: package-subscriptions-2015-11 +``` + +### Tag: package-subscriptions-2019-06 and ruby + +These settings apply only when `--tag=package-subscriptions-2019-06 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-subscriptions-2019-06' && $(ruby) +namespace: "Azure::Subscriptions::Mgmt::V2019_06_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_subscriptions/lib +``` + +### Tag: package-subscriptions-2018-06 and ruby + +These settings apply only when `--tag=package-subscriptions-2018-06 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-subscriptions-2018-06' && $(ruby) +namespace: "Azure::Subscriptions::Mgmt::V2018_06_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_subscriptions/lib +``` + +### Tag: package-subscriptions-2016-06 and ruby + +These settings apply only when `--tag=package-subscriptions-2016-06 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-subscriptions-2016-06' && $(ruby) +namespace: "Azure::Subscriptions::Mgmt::V2016_06_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_subscriptions/lib +``` + +### Tag: package-subscriptions-2015-11 and ruby + +These settings apply only when `--tag=package-subscriptions-2015-11 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-subscriptions-2015-11' && $(ruby) +namespace: "Azure::Subscriptions::Mgmt::V2015_11_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_subscriptions/lib +``` + +### Ruby multi-api for features + +``` yaml $(multiapi) && $(features) +package-name: azure_mgmt_features +package-version: "0.16.0" +azure-arm: true +batch: + - tag: package-features-2021-07 + - tag: package-features-2015-12 +``` + +### Tag: package-features-2021-07 and ruby + +These settings apply only when `--tag=package-features-2021-07 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-features-2021-07' && $(ruby) +namespace: "Azure::Features::Mgmt::V2021_07_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_features/lib +``` + +### Tag: package-features-2015-12 and ruby + +These settings apply only when `--tag=package-features-2015-12 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-features-2015-12' && $(ruby) +namespace: "Azure::Features::Mgmt::V2015_12_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_features/lib +``` + +### Ruby multi-api for locks + +``` yaml $(multiapi) && $(locks) +package-name: azure_mgmt_locks +package-version: "0.16.0" +azure-arm: true +batch: + - tag: package-locks-2016-09 + - tag: package-locks-2015-01 +``` + +### Tag: package-locks-2016-09 and ruby + +These settings apply only when `--tag=package-locks-2016-09 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-locks-2016-09' && $(ruby) +namespace: "Azure::Locks::Mgmt::V2016_09_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_locks/lib +``` + +### Tag: package-locks-2015-01 and ruby + +These settings apply only when `--tag=package-locks-2015-01 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-locks-2015-01' && $(ruby) +namespace: "Azure::Locks::Mgmt::V2015_01_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_locks/lib +``` + +### Ruby multi-api for links + +``` yaml $(multiapi) && $(links) +package-name: azure_mgmt_links +package-version: "0.16.0" +azure-arm: true +batch: + - tag: package-links-2016-09 +``` + +### Tag: package-links-2016-09 and ruby + +These settings apply only when `--tag=package-links-2016-09 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-links-2016-09' && $(ruby) +namespace: "Azure::Links::Mgmt::V2016_09_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_links/lib +``` + +### Ruby multi-api for policy + +``` yaml $(multiapi) && $(policy) +package-name: azure_mgmt_policy +package-version: "0.16.0" +azure-arm: true +batch: + - tag: package-pure-policy-2017-06 + - tag: package-policy-2016-12 + - tag: package-policy-2016-04 + - tag: package-policy-2015-10 +``` + +### Tag: package-pure-policy-2017-06 and ruby + +These settings apply only when `--tag=package-pure-policy-2017-06 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-pure-policy-2017-06' && $(ruby) +namespace: "Azure::Policy::Mgmt::V2017_06_01_preview" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib +``` + +### Tag: package-policy-2016-12 and ruby + +These settings apply only when `--tag=package-policy-2016-12 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-policy-2016-12' && $(ruby) +namespace: "Azure::Policy::Mgmt::V2016_12_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib +``` + +### Tag: package-policy-2016-04 and ruby + +These settings apply only when `--tag=package-policy-2016-04 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-policy-2016-04' && $(ruby) +namespace: "Azure::Policy::Mgmt::V2016_04_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib +``` + +### Tag: package-policy-2015-10 and ruby + +These settings apply only when `--tag=package-policy-2015-10 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-policy-2015-10' && $(ruby) +namespace: "Azure::Policy::Mgmt::V2015_10_01_preview" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib +``` + +### Ruby multi-api for resources + +``` yaml $(multiapi) && $(resources) +package-name: azure_mgmt_resources +package-version: "0.16.0" +azure-arm: true +batch: + - tag: package-resources-2019-03 + - tag: package-resources-2017-05 + - tag: package-resources-2016-09 + - tag: package-resources-2016-07 + - tag: package-resources-2016-02 +``` + +### Tag: package-resources-2019-03 and ruby + +These settings apply only when `--tag=package-resources-2019-03 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-resources-2019-03' && $(ruby) +namespace: "Azure::Resources::Mgmt::V2019_03_10" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib +``` + +### Tag: package-resources-2017-05 and ruby + +These settings apply only when `--tag=package-resources-2017-05 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-resources-2017-05' && $(ruby) +namespace: "Azure::Resources::Mgmt::V2017_05_10" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib +``` + +### Tag: package-resources-2016-09 and ruby + +These settings apply only when `--tag=package-resources-2016-09 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-resources-2016-09' && $(ruby) +namespace: "Azure::Resources::Mgmt::V2016_09_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib +``` + +### Tag: package-resources-2016-07 and ruby + +These settings apply only when `--tag=package-resources-2016-07 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-resources-2016-07' && $(ruby) +namespace: "Azure::Resources::Mgmt::V2016_07_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib +``` + +### Tag: package-resources-2016-02 and ruby + +These settings apply only when `--tag=package-resources-2016-02 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-resources-2016-02' && $(ruby) +namespace: "Azure::Resources::Mgmt::V2016_02_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.terraform.md b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.terraform.md new file mode 100644 index 000000000000..e6576921e7b6 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.terraform.md @@ -0,0 +1,50 @@ + +## Terraform + +These settings apply only when `--terraform` is specified on the command line. + + +``` yaml $(terraform) +batch: + - package-features: true + - package-policy: true + - package-managedapplications: true +``` + +```yaml $(terraform) && $(package-policy) +terraform: + cli-name: policy + package-name: policy +output-folder: $(terraform-output-folder)/policy +clear-output-folder: true +``` + +```yaml $(terraform) && $(package-features) +terraform: + cli-name: features + package-name: features +output-folder: $(terraform-output-folder)/features +clear-output-folder: true +``` + +```yaml $(terraform) && $(package-managedapplications) +terraform: + cli-name: managedApplications + package-name: managedapplications +output-folder: $(terraform-output-folder)/managedapplications +clear-output-folder: true + +overrides: + - where: + resource: "Applications" + property: "/parameters" + set: + - GoVariableName: "appParameters" + - Gen: "newgen" +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.typescript.md b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.typescript.md new file mode 100644 index 000000000000..646080c41e8e --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.typescript.md @@ -0,0 +1,159 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +```yaml $(typescript) && !$(profile-content) +typescript: + azure-arm: true + batch: true + generate-metadata: true +batch: + - package-resources: true + - package-features: true + - package-locks: true + - package-policy: true + - package-links: true + - package-managedapplications: true + - package-subscriptions: true + - package-changes: true + - package-databoundaries: true +``` + +```yaml $(typescript) && $(package-databoundaries) && !$(profile-content) +title: DataboundariesManegementClient +typescript: + package-name: "@azure/arm-databoundaries" + output-folder: "$(typescript-sdks-folder)/sdk/databoundaries/arm-databoundaries" +``` + +```yaml $(typescript) && $(package-features) && !$(profile-content) +typescript: + package-name: "@azure/arm-features" + output-folder: "$(typescript-sdks-folder)/sdk/features/arm-features" +``` + +```yaml $(typescript) && $(package-locks) && !$(profile-content) +typescript: + package-name: "@azure/arm-locks" + output-folder: "$(typescript-sdks-folder)/sdk/locks/arm-locks" +``` + +```yaml $(typescript) && $(package-policy) && !$(profile-content) +typescript: + package-name: "@azure/arm-policy" + output-folder: "$(typescript-sdks-folder)/sdk/policy/arm-policy" + +modelerfour: + treat-type-object-as-anything: true +``` + +```yaml $(typescript) && $(package-resources) && !$(profile-content) +typescript: + package-name: "@azure/arm-resources" + output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-resources" +``` + +```yaml $(typescript) && $(package-links) && !$(profile-content) +typescript: + package-name: "@azure/arm-links" + output-folder: "$(typescript-sdks-folder)/sdk/links/arm-links" +``` + +```yaml $(typescript) && $(package-managedapplications) && !$(profile-content) +typescript: + package-name: "@azure/arm-managedapplications" + output-folder: "$(typescript-sdks-folder)/sdk/managedapplications/arm-managedapplications" +``` + +```yaml $(typescript) && $(package-subscriptions) && !$(profile-content) +typescript: + package-name: "@azure/arm-resources-subscriptions" + output-folder: "$(typescript-sdks-folder)/sdk/resources-subscriptions/arm-resources-subscriptions" +``` + +```yaml $(typescript) && $(package-changes) && !$(profile-content) +typescript: + package-name: "@azure/arm-changes" + output-folder: "$(typescript-sdks-folder)/sdk/changes/arm-changes" +``` + +```yaml $(tag)=='package-resources-2018-05' && $(profile-content)=='profile-hybrid-2019-03-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-resources-profile-2019-03-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-resources-profile-2019-03-01-hybrid" + batch: + - tag: package-resources-2018-05 +``` + +```yaml $(tag)=='package-policy-2016-12' && $(profile-content)=='profile-hybrid-2019-03-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-policy-profile-2019-03-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/policy/arm-policy-profile-2019-03-01-hybrid" + batch: + - tag: package-policy-2016-12 +``` + +```yaml $(tag)=='package-locks-2016-09' && $(profile-content)=='profile-hybrid-2019-03-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-locks-profile-2019-03-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/locks/arm-locks-profile-2019-03-01-hybrid" + batch: + - tag: package-locks-2016-09 +``` + +```yaml $(tag)=='package-subscriptions-2016-06' && $(profile-content)=='profile-hybrid-2019-03-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-subscriptions-profile-2019-03-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/subscription/arm-subscriptions-profile-2019-03-01-hybrid" + batch: + - tag: package-subscriptions-2016-06 +``` + +```yaml $(tag)=='package-resources-2019-10' && $(profile-content)=='profile-hybrid-2020-09-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-resources-profile-2020-09-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-resources-profile-2020-09-01-hybrid" + batch: + - tag: package-resources-2019-10 +``` + +```yaml $(tag)=='package-policy-2016-12' && $(profile-content)=='profile-hybrid-2020-09-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-policy-profile-2020-09-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/policy/arm-policy-profile-2020-09-01-hybrid" + batch: + - tag: package-policy-2016-12 +``` + +```yaml $(tag)=='package-locks-2016-09' && $(profile-content)=='profile-hybrid-2020-09-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-locks-profile-2020-09-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/locks/arm-locks-profile-2020-09-01-hybrid" + batch: + - tag: package-locks-2016-09 +``` + +```yaml $(tag)=='package-subscriptions-2016-06' && $(profile-content)=='profile-hybrid-2020-09-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-subscriptions-profile-2020-09-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid" + batch: + - tag: package-subscriptions-2016-06 +``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.go.md b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.go.md new file mode 100644 index 000000000000..e439424a6139 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.go.md @@ -0,0 +1,87 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +### Fix up regular expressions to support Unicode. + +``` yaml +directive: + from: swagger-document # do it globally + where: $.paths..parameters[?(@.name == "resourceGroupName" || @.name == "sourceResourceGroupName")].pattern + set: ^[-\p{L}\._\(\)\w]+$ + reason: Necessary to match Unicode characters in the Go regexp engine. +``` + +``` yaml $(go) && $(track2) && $(package-resources) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armresources +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` + +``` yaml $(go) && $(track2) && $(package-features) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armfeatures +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` + +``` yaml $(go) && $(track2) && $(package-links) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armlinks +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` + +``` yaml $(go) && $(track2) && $(package-locks) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armlocks +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` + +``` yaml $(go) && $(track2) && $(package-managedapplications) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armmanagedapplications +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` + +``` yaml $(go) && $(track2) && $(package-policy) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armpolicy +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` + +``` yaml $(go) && $(track2) && $(package-subscriptions) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armsubscriptions +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +modelerfour: + lenient-model-deduplication: true +``` + +``` yaml $(go) && $(track2) && $(package-changes) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armchanges +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` + +``` yaml $(go) && $(track2) && $(package-databoundaries) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/databoundaries/armdataboundaries +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.java.md b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.java.md new file mode 100644 index 000000000000..6dedca1a0423 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.java.md @@ -0,0 +1,60 @@ +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +enable-sync-stack: false + +directive: + - rename-operation: + from: Tags_DeleteValue + to: TagOperations_DeleteValue + - rename-operation: + from: Tags_CreateOrUpdateValue + to: TagOperations_CreateOrUpdateValue + - rename-operation: + from: Tags_CreateOrUpdate + to: TagOperations_CreateOrUpdate + - rename-operation: + from: Tags_Delete + to: TagOperations_Delete + - rename-operation: + from: Tags_DeleteValue + to: TagOperations_DeleteValue + - rename-operation: + from: Tags_List + to: TagOperations_List + - rename-operation: + from: Tags_CreateOrUpdateAtScope + to: TagOperations_CreateOrUpdateAtScope + - rename-operation: + from: Tags_UpdateAtScope + to: TagOperations_UpdateAtScope + - rename-operation: + from: Tags_GetAtScope + to: TagOperations_GetAtScope + - rename-operation: + from: Tags_DeleteAtScope + to: TagOperations_DeleteAtScope +``` + +``` yaml $(tag) == 'package-policy-2022-06-java' +input-file: +- Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json +- Microsoft.Authorization/stable/2021-06-01/policyDefinitions.json +- Microsoft.Authorization/stable/2021-06-01/policySetDefinitions.json +- Microsoft.Authorization/stable/2022-06-01/policyAssignments.json +- Microsoft.Authorization/preview/2022-07-01-preview/policyExemptions.json +``` + +``` yaml $(tag) == 'package-policy-2023-04-java' +input-file: +- Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json +- Microsoft.Authorization/stable/2023-04-01/policyDefinitions.json +- Microsoft.Authorization/stable/2023-04-01/policyDefinitionVersions.json +- Microsoft.Authorization/stable/2023-04-01/policySetDefinitions.json +- Microsoft.Authorization/stable/2023-04-01/policySetDefinitionVersions.json +- Microsoft.Authorization/stable/2023-04-01/policyAssignments.json +- Microsoft.Authorization/preview/2022-07-01-preview/policyExemptions.json +``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.md b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.md new file mode 100644 index 000000000000..06ca72fe66c3 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.md @@ -0,0 +1,153 @@ +# Subscriptions + +> see https://aka.ms/autorest + +This is the AutoRest configuration file. + +## Getting Started + +To build the SDK for Resource, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: + +> `autorest` + +To see additional help and options, run: + +> `autorest --help` + +--- + +## Configuration + +### Basic Information + +These are the global settings for the Resource API. + +``` yaml +title: SubscriptionsClient +description: Subscriptions Client +openapi-type: arm +tag: package-resources-2025-04 +``` + +### Tag: package-2022-12 + +These settings apply only when `--tag=package-2022-12` is specified on the command line. + +``` yaml $(tag) == 'package-2022-12' +input-file: + - Microsoft.Resources/stable/2022-12-01/subscriptions.json +``` + +### Tag: package-subscriptions-2022-12 + +These settings apply only when `--tag=package-subscriptions-2022-12` is specified on the command line. + +``` yaml $(tag) == 'package-subscriptions-2022-12' +input-file: +- Microsoft.Resources/stable/2022-12-01/subscriptions.json +``` + +### Tag: package-subscriptions-2021-01 + +These settings apply only when `--tag=package-subscriptions-2021-01` is specified on the command line. + +``` yaml $(tag) == 'package-subscriptions-2021-01' +input-file: +- Microsoft.Resources/stable/2021-01-01/subscriptions.json +``` + +### Tag: package-subscriptions-2020-01 + +These settings apply only when `--tag=package-subscriptions-2020-01` is specified on the command line. + +``` yaml $(tag) == 'package-subscriptions-2020-01' +input-file: + - Microsoft.Resources/stable/2020-01-01/subscriptions.json +``` + +### Tag: package-subscriptions-2019-11 + +These settings apply only when `--tag=package-subscriptions-2019-11` is specified on the command line. + +``` yaml $(tag) == 'package-subscriptions-2019-11' +input-file: +- Microsoft.Resources/stable/2019-11-01/subscriptions.json +``` + +### Tag: package-subscriptions-2019-06 + +These settings apply only when `--tag=package-subscriptions-2019-06` is specified on the command line. + +``` yaml $(tag) == 'package-subscriptions-2019-06' +input-file: +- Microsoft.Resources/stable/2019-06-01/subscriptions.json +``` + +### Tag: package-subscriptions-2018-06 + +These settings apply only when `--tag=package-subscriptions-2018-06` is specified on the command line. + +``` yaml $(tag) == 'package-subscriptions-2018-06' +input-file: +- Microsoft.Resources/stable/2018-06-01/subscriptions.json +``` + +### Tag: package-subscriptions-2016-06 + +These settings apply only when `--tag=package-subscriptions-2016-06` is specified on the command line. + +``` yaml $(tag) == 'package-subscriptions-2016-06' +input-file: +- Microsoft.Resources/stable/2016-06-01/subscriptions.json +``` + +### Tag: package-subscriptions-2015-11 + +These settings apply only when `--tag=package-subscriptions-2015-11` is specified on the command line. + +``` yaml $(tag) == 'package-subscriptions-2015-11' +input-file: +- Microsoft.Resources/stable/2015-11-01/subscriptions.json +``` + +## Suppression + +``` yaml +directive: + - from: Subscriptions.json + suppress: OperationsAPIImplementation + reason: 'Duplicate Operations API causes generation issues' +``` + +--- + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +``` yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-net + - repo: azure-sdk-for-python + - repo: azure-sdk-for-java + - repo: azure-sdk-for-go + - repo: azure-sdk-for-node + - repo: azure-sdk-for-js + - repo: azure-resource-manager-schemas + - repo: azure-powershell +``` + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## Go + +See configuration in [readme.go.md](./readme.go.md) + +## Java + +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.nodejs.md b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.nodejs.md new file mode 100644 index 000000000000..1787b7880294 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.nodejs.md @@ -0,0 +1,59 @@ +## Node.js + +These settings apply only when `--nodejs` is specified on the command line. +Please also specify `--node-sdks-folder=`. + +```yaml $(nodejs) +nodejs: + azure-arm: true + batch: true + package-name: azure-arm-resource + generate-license-txt: true + generate-package-json: false + generate-readme-md: false + output-folder: $(node-sdks-folder)/lib/services/resourceManagement +batch: + - package-features: true + - package-locks: true + - package-policy: true + - package-resources: true + - package-subscriptions: true + - package-links: true + - package-managedapplications: true +``` + +```yaml $(nodejs) && $(package-features) +nodejs: + source-code-folder-path: lib/feature +``` + +```yaml $(nodejs) && $(package-locks) +nodejs: + source-code-folder-path: lib/lock +``` + +```yaml $(nodejs) && $(package-policy) +nodejs: + source-code-folder-path: lib/policy +``` + +```yaml $(nodejs) && $(package-resources) +nodejs: + source-code-folder-path: lib/resource +``` + +```yaml $(nodejs) && $(package-subscriptions) +nodejs: + source-code-folder-path: lib/subscription +``` + +```yaml $(nodejs) && $(package-links) +nodejs: + source-code-folder-path: lib/link +``` + +```yaml $(nodejs) && $(package-management) +nodejs: + source-code-folder-path: lib/management + override-client-name: ManagementGroupsClient +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.python.md b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.python.md new file mode 100644 index 000000000000..9ecd5cfb7b4b --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.python.md @@ -0,0 +1,144 @@ +## Python + +These settings apply only when `--python` is specified on the command line. + +``` yaml $(python) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +package-name: azure-mgmt-resource +package-version: 1.0.0b1 +no-namespace-folders: true +reformat-next-link: false +combine-operation-files: true +clear-output-folder: true +modelerfour: + lenient-model-deduplication: true +``` + +### Python batch + +```yaml $(python) +batch: + - tag: package-privatelinks-2020-05 + - tag: package-features-2021-07 + - tag: package-links-2016-09 + - tag: package-locks-2016-09 + - tag: package-managedapplications-2019-07 + - tag: package-policy-2023-04 + - tag: package-resources-2025-04 + - tag: package-subscriptions-2022-12 + - tag: package-changes-2022-05 + - tag: package-databoundaries-2024-08 +``` + +### Tag: package-privatelinks-2020-05 and python + +These settings apply only when `--tag=package-privatelinks-2020-05 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-privatelinks-2020-05' +title: ResourcePrivateLinkClient +namespace: azure.mgmt.resource.privatelinks +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/privatelinks +``` + +### Tag: package-features-2021-07 and python + +These settings apply only when `--tag=package-features-2021-07 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-features-2021-07' +title: FeatureClient +namespace: azure.mgmt.resource.features +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/features +``` + +### Tag: package-links-2016-09 and python + +These settings apply only when `--tag=package-links-2016-09 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-links-2016-09' +title: ManagementLinkClient +namespace: azure.mgmt.resource.links +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/links +``` + +### Tag: package-locks-2016-09 and python + +These settings apply only when `--tag=package-locks-2016-09 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-locks-2016-09' +title: ManagementLockClient +namespace: azure.mgmt.resource.locks +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/locks +``` + +### Tag: package-managedapplications-2019-07 and python + +These settings apply only when `--tag=package-managedapplications-2019-07 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-managedapplications-2019-07' +title: ApplicationClient +namespace: azure.mgmt.resource.managedapplications +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/managedapplications +``` + +### Tag: package-policy-2023-04 and python + +These settings apply only when `--tag=package-policy-2023-04 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-policy-2023-04' +title: PolicyClient +namespace: azure.mgmt.resource.policy +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/policy +``` + +### Tag: package-resources-2025-04 and python + +These settings apply only when `--tag=package-resources-2025-04 --python` is specified on the command line. Please also +specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-resources-2025-04' +title: ResourceManagementClient +namespace: azure.mgmt.resource.resources +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/resources +``` + +### Tag: package-subscriptions-2022-12 and python + +These settings apply only when `--tag=package-subscriptions-2022-12 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-subscriptions-2022-12' +title: SubscriptionClient +namespace: azure.mgmt.resource.subscriptions +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/subscriptions +``` + +### Tag: package-changes-2022-05 and python + +These settings apply only when `--tag=package-changes-2022-05 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-changes-2022-05' +title: ChangesClient +namespace: azure.mgmt.resource.changes +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/changes +``` + +### Tag: package-databoundaries-2024-08 and python + +These settings apply only when `--tag=package-databoundaries-2024-08 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-databoundaries-2024-08' +title: DataBoundaryMgmtClient +namespace: azure.mgmt.resource.databoundaries +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/databoundaries +directive: + - remove-operation: "Operations_List" +``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.ruby.md b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.ruby.md new file mode 100644 index 000000000000..70c149ebcbba --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.ruby.md @@ -0,0 +1,304 @@ +### Ruby multi-api for managedapplications + +``` yaml $(multiapi) && $(managedapplications) +package-name: azure_mgmt_managed_applications +package-version: "0.16.0" +azure-arm: true +batch: + - tag: package-managedapplications-2019-07 + - tag: package-managedapplications-2018-06 + - tag: package-managedapplications-2017-09 + - tag: package-managedapplications-2016-09 +``` + +### Tag: package-managedapplications-2019-07 and ruby + +These settings apply only when `--tag=package-managedapplications-2019-07 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-managedapplications-2019-07' && $(ruby) +namespace: "Azure::ManagedApplications::Mgmt::V2019_07_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib +``` + +### Tag: package-managedapplications-2018-06 and ruby + +These settings apply only when `--tag=package-managedapplications-2018-06 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-managedapplications-2018-06' && $(ruby) +namespace: "Azure::ManagedApplications::Mgmt::V2018_06_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib +``` + +### Tag: package-managedapplications-2017-09 and ruby + +These settings apply only when `--tag=package-managedapplications-2017-09 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-managedapplications-2017-09' && $(ruby) +namespace: "Azure::ManagedApplications::Mgmt::V2017_09_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib +``` + +### Tag: package-managedapplications-2016-09 and ruby + +These settings apply only when `--tag=package-managedapplications-2016-09 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-managedapplications-2016-09' && $(ruby) +namespace: "Azure::ManagedApplications::Mgmt::V2016_09_01_preview" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib +``` + +### Ruby multi-api for subscriptions + +``` yaml $(multiapi) && $(subscriptions) +package-name: azure_mgmt_subscriptions +package-version: "0.16.0" +azure-arm: true +batch: + - tag: package-subscriptions-2019-06 + - tag: package-subscriptions-2018-06 + - tag: package-subscriptions-2016-06 + - tag: package-subscriptions-2015-11 +``` + +### Tag: package-subscriptions-2019-06 and ruby + +These settings apply only when `--tag=package-subscriptions-2019-06 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-subscriptions-2019-06' && $(ruby) +namespace: "Azure::Subscriptions::Mgmt::V2019_06_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_subscriptions/lib +``` + +### Tag: package-subscriptions-2018-06 and ruby + +These settings apply only when `--tag=package-subscriptions-2018-06 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-subscriptions-2018-06' && $(ruby) +namespace: "Azure::Subscriptions::Mgmt::V2018_06_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_subscriptions/lib +``` + +### Tag: package-subscriptions-2016-06 and ruby + +These settings apply only when `--tag=package-subscriptions-2016-06 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-subscriptions-2016-06' && $(ruby) +namespace: "Azure::Subscriptions::Mgmt::V2016_06_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_subscriptions/lib +``` + +### Tag: package-subscriptions-2015-11 and ruby + +These settings apply only when `--tag=package-subscriptions-2015-11 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-subscriptions-2015-11' && $(ruby) +namespace: "Azure::Subscriptions::Mgmt::V2015_11_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_subscriptions/lib +``` + +### Ruby multi-api for features + +``` yaml $(multiapi) && $(features) +package-name: azure_mgmt_features +package-version: "0.16.0" +azure-arm: true +batch: + - tag: package-features-2021-07 + - tag: package-features-2015-12 +``` + +### Tag: package-features-2021-07 and ruby + +These settings apply only when `--tag=package-features-2021-07 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-features-2021-07' && $(ruby) +namespace: "Azure::Features::Mgmt::V2021_07_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_features/lib +``` + +### Tag: package-features-2015-12 and ruby + +These settings apply only when `--tag=package-features-2015-12 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-features-2015-12' && $(ruby) +namespace: "Azure::Features::Mgmt::V2015_12_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_features/lib +``` + +### Ruby multi-api for locks + +``` yaml $(multiapi) && $(locks) +package-name: azure_mgmt_locks +package-version: "0.16.0" +azure-arm: true +batch: + - tag: package-locks-2016-09 + - tag: package-locks-2015-01 +``` + +### Tag: package-locks-2016-09 and ruby + +These settings apply only when `--tag=package-locks-2016-09 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-locks-2016-09' && $(ruby) +namespace: "Azure::Locks::Mgmt::V2016_09_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_locks/lib +``` + +### Tag: package-locks-2015-01 and ruby + +These settings apply only when `--tag=package-locks-2015-01 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-locks-2015-01' && $(ruby) +namespace: "Azure::Locks::Mgmt::V2015_01_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_locks/lib +``` + +### Ruby multi-api for links + +``` yaml $(multiapi) && $(links) +package-name: azure_mgmt_links +package-version: "0.16.0" +azure-arm: true +batch: + - tag: package-links-2016-09 +``` + +### Tag: package-links-2016-09 and ruby + +These settings apply only when `--tag=package-links-2016-09 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-links-2016-09' && $(ruby) +namespace: "Azure::Links::Mgmt::V2016_09_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_links/lib +``` + +### Ruby multi-api for policy + +``` yaml $(multiapi) && $(policy) +package-name: azure_mgmt_policy +package-version: "0.16.0" +azure-arm: true +batch: + - tag: package-pure-policy-2017-06 + - tag: package-policy-2016-12 + - tag: package-policy-2016-04 + - tag: package-policy-2015-10 +``` + +### Tag: package-pure-policy-2017-06 and ruby + +These settings apply only when `--tag=package-pure-policy-2017-06 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-pure-policy-2017-06' && $(ruby) +namespace: "Azure::Policy::Mgmt::V2017_06_01_preview" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib +``` + +### Tag: package-policy-2016-12 and ruby + +These settings apply only when `--tag=package-policy-2016-12 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-policy-2016-12' && $(ruby) +namespace: "Azure::Policy::Mgmt::V2016_12_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib +``` + +### Tag: package-policy-2016-04 and ruby + +These settings apply only when `--tag=package-policy-2016-04 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-policy-2016-04' && $(ruby) +namespace: "Azure::Policy::Mgmt::V2016_04_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib +``` + +### Tag: package-policy-2015-10 and ruby + +These settings apply only when `--tag=package-policy-2015-10 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-policy-2015-10' && $(ruby) +namespace: "Azure::Policy::Mgmt::V2015_10_01_preview" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib +``` + +### Ruby multi-api for resources + +``` yaml $(multiapi) && $(resources) +package-name: azure_mgmt_resources +package-version: "0.16.0" +azure-arm: true +batch: + - tag: package-resources-2019-03 + - tag: package-resources-2017-05 + - tag: package-resources-2016-09 + - tag: package-resources-2016-07 + - tag: package-resources-2016-02 +``` + +### Tag: package-resources-2019-03 and ruby + +These settings apply only when `--tag=package-resources-2019-03 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-resources-2019-03' && $(ruby) +namespace: "Azure::Resources::Mgmt::V2019_03_10" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib +``` + +### Tag: package-resources-2017-05 and ruby + +These settings apply only when `--tag=package-resources-2017-05 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-resources-2017-05' && $(ruby) +namespace: "Azure::Resources::Mgmt::V2017_05_10" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib +``` + +### Tag: package-resources-2016-09 and ruby + +These settings apply only when `--tag=package-resources-2016-09 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-resources-2016-09' && $(ruby) +namespace: "Azure::Resources::Mgmt::V2016_09_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib +``` + +### Tag: package-resources-2016-07 and ruby + +These settings apply only when `--tag=package-resources-2016-07 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-resources-2016-07' && $(ruby) +namespace: "Azure::Resources::Mgmt::V2016_07_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib +``` + +### Tag: package-resources-2016-02 and ruby + +These settings apply only when `--tag=package-resources-2016-02 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-resources-2016-02' && $(ruby) +namespace: "Azure::Resources::Mgmt::V2016_02_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.terraform.md b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.terraform.md new file mode 100644 index 000000000000..e6576921e7b6 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.terraform.md @@ -0,0 +1,50 @@ + +## Terraform + +These settings apply only when `--terraform` is specified on the command line. + + +``` yaml $(terraform) +batch: + - package-features: true + - package-policy: true + - package-managedapplications: true +``` + +```yaml $(terraform) && $(package-policy) +terraform: + cli-name: policy + package-name: policy +output-folder: $(terraform-output-folder)/policy +clear-output-folder: true +``` + +```yaml $(terraform) && $(package-features) +terraform: + cli-name: features + package-name: features +output-folder: $(terraform-output-folder)/features +clear-output-folder: true +``` + +```yaml $(terraform) && $(package-managedapplications) +terraform: + cli-name: managedApplications + package-name: managedapplications +output-folder: $(terraform-output-folder)/managedapplications +clear-output-folder: true + +overrides: + - where: + resource: "Applications" + property: "/parameters" + set: + - GoVariableName: "appParameters" + - Gen: "newgen" +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.typescript.md b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.typescript.md new file mode 100644 index 000000000000..646080c41e8e --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.typescript.md @@ -0,0 +1,159 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +```yaml $(typescript) && !$(profile-content) +typescript: + azure-arm: true + batch: true + generate-metadata: true +batch: + - package-resources: true + - package-features: true + - package-locks: true + - package-policy: true + - package-links: true + - package-managedapplications: true + - package-subscriptions: true + - package-changes: true + - package-databoundaries: true +``` + +```yaml $(typescript) && $(package-databoundaries) && !$(profile-content) +title: DataboundariesManegementClient +typescript: + package-name: "@azure/arm-databoundaries" + output-folder: "$(typescript-sdks-folder)/sdk/databoundaries/arm-databoundaries" +``` + +```yaml $(typescript) && $(package-features) && !$(profile-content) +typescript: + package-name: "@azure/arm-features" + output-folder: "$(typescript-sdks-folder)/sdk/features/arm-features" +``` + +```yaml $(typescript) && $(package-locks) && !$(profile-content) +typescript: + package-name: "@azure/arm-locks" + output-folder: "$(typescript-sdks-folder)/sdk/locks/arm-locks" +``` + +```yaml $(typescript) && $(package-policy) && !$(profile-content) +typescript: + package-name: "@azure/arm-policy" + output-folder: "$(typescript-sdks-folder)/sdk/policy/arm-policy" + +modelerfour: + treat-type-object-as-anything: true +``` + +```yaml $(typescript) && $(package-resources) && !$(profile-content) +typescript: + package-name: "@azure/arm-resources" + output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-resources" +``` + +```yaml $(typescript) && $(package-links) && !$(profile-content) +typescript: + package-name: "@azure/arm-links" + output-folder: "$(typescript-sdks-folder)/sdk/links/arm-links" +``` + +```yaml $(typescript) && $(package-managedapplications) && !$(profile-content) +typescript: + package-name: "@azure/arm-managedapplications" + output-folder: "$(typescript-sdks-folder)/sdk/managedapplications/arm-managedapplications" +``` + +```yaml $(typescript) && $(package-subscriptions) && !$(profile-content) +typescript: + package-name: "@azure/arm-resources-subscriptions" + output-folder: "$(typescript-sdks-folder)/sdk/resources-subscriptions/arm-resources-subscriptions" +``` + +```yaml $(typescript) && $(package-changes) && !$(profile-content) +typescript: + package-name: "@azure/arm-changes" + output-folder: "$(typescript-sdks-folder)/sdk/changes/arm-changes" +``` + +```yaml $(tag)=='package-resources-2018-05' && $(profile-content)=='profile-hybrid-2019-03-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-resources-profile-2019-03-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-resources-profile-2019-03-01-hybrid" + batch: + - tag: package-resources-2018-05 +``` + +```yaml $(tag)=='package-policy-2016-12' && $(profile-content)=='profile-hybrid-2019-03-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-policy-profile-2019-03-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/policy/arm-policy-profile-2019-03-01-hybrid" + batch: + - tag: package-policy-2016-12 +``` + +```yaml $(tag)=='package-locks-2016-09' && $(profile-content)=='profile-hybrid-2019-03-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-locks-profile-2019-03-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/locks/arm-locks-profile-2019-03-01-hybrid" + batch: + - tag: package-locks-2016-09 +``` + +```yaml $(tag)=='package-subscriptions-2016-06' && $(profile-content)=='profile-hybrid-2019-03-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-subscriptions-profile-2019-03-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/subscription/arm-subscriptions-profile-2019-03-01-hybrid" + batch: + - tag: package-subscriptions-2016-06 +``` + +```yaml $(tag)=='package-resources-2019-10' && $(profile-content)=='profile-hybrid-2020-09-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-resources-profile-2020-09-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-resources-profile-2020-09-01-hybrid" + batch: + - tag: package-resources-2019-10 +``` + +```yaml $(tag)=='package-policy-2016-12' && $(profile-content)=='profile-hybrid-2020-09-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-policy-profile-2020-09-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/policy/arm-policy-profile-2020-09-01-hybrid" + batch: + - tag: package-policy-2016-12 +``` + +```yaml $(tag)=='package-locks-2016-09' && $(profile-content)=='profile-hybrid-2020-09-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-locks-profile-2020-09-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/locks/arm-locks-profile-2020-09-01-hybrid" + batch: + - tag: package-locks-2016-09 +``` + +```yaml $(tag)=='package-subscriptions-2016-06' && $(profile-content)=='profile-hybrid-2020-09-01' +typescript: + azure-arm: true + generate-metadata: true + package-name: "@azure/arm-subscriptions-profile-2020-09-01-hybrid" + output-folder: "$(typescript-sdks-folder)/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid" + batch: + - tag: package-subscriptions-2016-06 +``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2015-11-01/examples/CheckResourceName.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2015-11-01/examples/CheckResourceName.json new file mode 100644 index 000000000000..77e33c4ba8f2 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2015-11-01/examples/CheckResourceName.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "body": [ + { + "Name": "isxbox", + "Type": "ResourceProviderTestHost/TestResourceType" + } + ], + "api-version": "2015-11-01" + }, + "responses": { + "200": { + "body": { + "name": "isxbox", + "type": "ResourceProviderTestHost/TestResourceType", + "status": "Allowed" + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2018-06-01/examples/PostCheckZonePeers.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2015-11-01/examples/PostCheckZonePeers.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2018-06-01/examples/PostCheckZonePeers.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2015-11-01/examples/PostCheckZonePeers.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2015-11-01/subscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2015-11-01/subscriptions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2015-11-01/subscriptions.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2015-11-01/subscriptions.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2016-06-01/examples/CheckResourceName.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2016-06-01/examples/CheckResourceName.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2016-06-01/examples/CheckResourceName.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2016-06-01/examples/CheckResourceName.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-06-01/examples/PostCheckZonePeers.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2016-06-01/examples/PostCheckZonePeers.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-06-01/examples/PostCheckZonePeers.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2016-06-01/examples/PostCheckZonePeers.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2016-06-01/subscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2016-06-01/subscriptions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2016-06-01/subscriptions.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2016-06-01/subscriptions.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2018-06-01/examples/CheckResourceName.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2018-06-01/examples/CheckResourceName.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2018-06-01/examples/CheckResourceName.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2018-06-01/examples/CheckResourceName.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-11-01/examples/PostCheckZonePeers.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2018-06-01/examples/PostCheckZonePeers.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-11-01/examples/PostCheckZonePeers.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2018-06-01/examples/PostCheckZonePeers.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2018-06-01/subscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2018-06-01/subscriptions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2018-06-01/subscriptions.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2018-06-01/subscriptions.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-06-01/examples/CheckResourceName.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2019-06-01/examples/CheckResourceName.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-06-01/examples/CheckResourceName.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2019-06-01/examples/CheckResourceName.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-06-01/examples/GetSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2019-06-01/examples/GetSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-06-01/examples/GetSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2019-06-01/examples/GetSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-06-01/examples/GetSubscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2019-06-01/examples/GetSubscriptions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-06-01/examples/GetSubscriptions.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2019-06-01/examples/GetSubscriptions.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-01-01/examples/PostCheckZonePeers.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2019-06-01/examples/PostCheckZonePeers.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-01-01/examples/PostCheckZonePeers.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2019-06-01/examples/PostCheckZonePeers.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-06-01/subscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2019-06-01/subscriptions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-06-01/subscriptions.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2019-06-01/subscriptions.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-11-01/examples/CheckResourceName.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2019-11-01/examples/CheckResourceName.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-11-01/examples/CheckResourceName.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2019-11-01/examples/CheckResourceName.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-11-01/examples/GetLocations.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2019-11-01/examples/GetLocations.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-11-01/examples/GetLocations.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2019-11-01/examples/GetLocations.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-11-01/examples/GetSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2019-11-01/examples/GetSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-11-01/examples/GetSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2019-11-01/examples/GetSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-11-01/examples/GetSubscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2019-11-01/examples/GetSubscriptions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-11-01/examples/GetSubscriptions.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2019-11-01/examples/GetSubscriptions.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/PostCheckZonePeers.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2019-11-01/examples/PostCheckZonePeers.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/PostCheckZonePeers.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2019-11-01/examples/PostCheckZonePeers.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-11-01/subscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2019-11-01/subscriptions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2019-11-01/subscriptions.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2019-11-01/subscriptions.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-01-01/examples/CheckResourceName.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2020-01-01/examples/CheckResourceName.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-01-01/examples/CheckResourceName.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2020-01-01/examples/CheckResourceName.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-01-01/examples/GetLocations.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2020-01-01/examples/GetLocations.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-01-01/examples/GetLocations.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2020-01-01/examples/GetLocations.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-01-01/examples/GetSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2020-01-01/examples/GetSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-01-01/examples/GetSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2020-01-01/examples/GetSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-01-01/examples/GetSubscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2020-01-01/examples/GetSubscriptions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-01-01/examples/GetSubscriptions.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2020-01-01/examples/GetSubscriptions.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-01-01/examples/GetTenants.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2020-01-01/examples/GetTenants.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-01-01/examples/GetTenants.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2020-01-01/examples/GetTenants.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2020-01-01/examples/PostCheckZonePeers.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2020-01-01/examples/PostCheckZonePeers.json new file mode 100644 index 000000000000..fd52e3c1b2e6 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2020-01-01/examples/PostCheckZonePeers.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-00000000000000", + "api-version": "2021-01-01", + "parameters": { + "location": "eastus", + "subscriptionIds": [ + "subscriptions/11111111-1111-1111-1111-111111111111" + ] + } + }, + "responses": { + "200": { + "body": { + "subscriptionId": "00000000-0000-0000-0000-00000000000000", + "location": "eastus2", + "availabilityZonePeers": [ + { + "availabilityZone": "1", + "peers": [ + { + "subscriptionId": "11111111-1111-1111-1111-111111111111", + "availabilityZone": "3" + } + ] + }, + { + "availabilityZone": "2", + "peers": [ + { + "subscriptionId": "11111111-1111-1111-1111-111111111111", + "availabilityZone": "2" + } + ] + }, + { + "availabilityZone": "3", + "peers": [ + { + "subscriptionId": "11111111-1111-1111-1111-111111111111", + "availabilityZone": "1" + } + ] + } + ] + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-01-01/subscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2020-01-01/subscriptions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2020-01-01/subscriptions.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2020-01-01/subscriptions.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/CheckResourceName.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/CheckResourceName.json new file mode 100644 index 000000000000..45b60e3b9971 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/CheckResourceName.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "body": [ + { + "Name": "isxbox", + "Type": "ResourceProviderTestHost/TestResourceType" + } + ], + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "name": "isxbox", + "type": "ResourceProviderTestHost/TestResourceType", + "status": "Allowed" + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/CreateResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/CreateResourceGroup.json new file mode 100644 index 000000000000..74398d45af47 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/CreateResourceGroup.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "my-resource-group", + "api-version": "2021-01-01", + "parameters": { + "location": "eastus" + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-resource-group", + "name": "my-resource-group", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + }, + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-resource-group", + "name": "my-resource-group", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/ExportResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/ExportResourceGroup.json new file mode 100644 index 000000000000..5c3a43383fd1 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/ExportResourceGroup.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "my-resource-group", + "api-version": "2021-01-01", + "parameters": { + "resources": [ + "*" + ], + "options": "IncludeParameterDefaultValue,IncludeComments" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/c9bbccf4-e16a-4eb7-befb-2e2e5195c347?api-version=2018-08-01" + } + }, + "200": { + "body": { + "template": { + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "myResourceType_myFirstResource_name": { + "defaultValue": "myFirstResource", + "type": "String" + }, + "myResourceType_mySecondResource_name": { + "defaultValue": "mySecondResource", + "type": "String" + }, + "myResourceType_myFirstResource_secret": { + "defaultValue": null, + "type": "SecureString" + } + }, + "variables": {}, + "resources": [ + { + "type": "My.RP/myResourceType", + "apiVersion": "2019-01-01", + "name": "[parameters('myResourceType_myFirstResource_name')]", + "location": "West US", + "properties": { + "secret": "[parameters('myResourceType_myFirstResource_secret')]" + } + }, + { + "type": "My.RP/myResourceType", + "apiVersion": "2019-01-01", + "name": "[parameters('myResourceType_mySecondResource_name')]", + "location": "West US", + "properties": { + "customProperty": "hello!" + } + } + ] + }, + "error": { + "code": "ExportTemplateCompletedWithErrors", + "message": "Export template operation completed with errors. Some resources were not exported. Please see details for more information.", + "details": [] + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/ExportResourceGroupWithFiltering.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/ExportResourceGroupWithFiltering.json new file mode 100644 index 000000000000..b70a6c3b1c65 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/ExportResourceGroupWithFiltering.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "my-resource-group", + "api-version": "2021-01-01", + "parameters": { + "resources": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-resource-group/providers/My.RP/myResourceType/myFirstResource" + ], + "options": "SkipResourceNameParameterization" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/c9bbccf4-e16a-4eb7-befb-2e2e5195c347?api-version=2018-08-01" + } + }, + "200": { + "body": { + "template": { + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "myResourceType_myFirstResource_secret": { + "defaultValue": null, + "type": "SecureString" + } + }, + "variables": {}, + "resources": [ + { + "type": "My.RP/myResourceType", + "apiVersion": "2019-01-01", + "name": "myFirstResource", + "location": "West US", + "properties": { + "secret": "[parameters('myResourceType_myFirstResource_secret')]" + } + } + ] + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json new file mode 100644 index 000000000000..2dba850f1157 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "my-resource-group", + "forceDeletionTypes": "Microsoft.Compute/virtualMachines,Microsoft.Compute/virtualMachineScaleSets", + "api-version": "2020-06-01" + }, + "responses": { + "202": { + "description": "Accepted" + }, + "200": { + "description": "OK" + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/ForceDeleteVMsInResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/ForceDeleteVMsInResourceGroup.json new file mode 100644 index 000000000000..ba2a47410f91 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/ForceDeleteVMsInResourceGroup.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "my-resource-group", + "forceDeletionTypes": "Microsoft.Compute/virtualMachines", + "api-version": "2020-06-01" + }, + "responses": { + "202": { + "description": "Accepted" + }, + "200": { + "description": "OK" + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetLocations.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetLocations.json new file mode 100644 index 000000000000..445f660c0b38 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetLocations.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "subscriptionId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": [ + { + "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05/locations/eastus", + "name": "eastus", + "type": "Region", + "displayName": "East US", + "regionalDisplayName": "(US) East US", + "metadata": { + "regionType": "Physical", + "regionCategory": "Recommended", + "geographyGroup": "US", + "longitude": "-79.8164", + "latitude": "37.3719", + "physicalLocation": "Virginia", + "pairedRegion": [ + { + "name": "westus", + "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05/locations/westus" + } + ] + } + }, + { + "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05/locations/eastus2", + "name": "eastus2", + "type": "Region", + "displayName": "East US 2", + "regionalDisplayName": "(US) East US 2", + "metadata": { + "regionType": "Physical", + "regionCategory": "Recommended", + "geographyGroup": "US", + "longitude": "-78.3889", + "latitude": "36.6681", + "physicalLocation": "Virginia", + "pairedRegion": [ + { + "name": "centralus", + "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05/locations/centralus" + } + ] + } + } + ] + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetLocationsWithExtendedLocations.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetLocationsWithExtendedLocations.json new file mode 100644 index 000000000000..ded38f8b6a21 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetLocationsWithExtendedLocations.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "subscriptionId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05", + "api-version": "2021-01-01", + "includeExtendedLocations": "true" + }, + "responses": { + "200": { + "body": [ + { + "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05/locations/eastus", + "name": "eastus", + "type": "Region", + "displayName": "East US", + "regionalDisplayName": "(US) East US", + "metadata": { + "regionType": "Physical", + "regionCategory": "Recommended", + "geographyGroup": "US", + "longitude": "-79.8164", + "latitude": "37.3719", + "physicalLocation": "Virginia", + "pairedRegion": [ + { + "name": "westus", + "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05/locations/westus" + } + ] + } + }, + { + "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05/locations/eastus2", + "name": "eastus2", + "type": "Region", + "displayName": "East US 2", + "regionalDisplayName": "(US) East US 2", + "metadata": { + "regionType": "Physical", + "regionCategory": "Recommended", + "geographyGroup": "US", + "longitude": "-78.3889", + "latitude": "36.6681", + "physicalLocation": "Virginia", + "pairedRegion": [ + { + "name": "centralus", + "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05/locations/centralus" + } + ] + } + }, + { + "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05/locations/westus/edgeZones/microsoftlosangeles1", + "name": "microsoftlosangeles1", + "type": "EdgeZone", + "displayName": "Microsoft Los Angeles 1", + "regionalDisplayName": "Microsoft Los Angeles 1", + "metadata": { + "regionType": "Physical", + "regionCategory": "Extended", + "longitude": "-118.235374", + "latitude": "34.058414", + "homeLocation": "westus" + } + }, + { + "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05/locations/eastus2euap/edgeZones/microsoftrrdclab1", + "name": "microsoftrrdclab1", + "type": "EdgeZone", + "displayName": "Microsoft RRDC Lab 1", + "regionalDisplayName": "Microsoft RRDC Lab 1", + "metadata": { + "regionType": "Physical", + "regionCategory": "Extended", + "longitude": "-122.03197", + "latitude": "47.69106", + "homeLocation": "eastus2euap" + } + } + ] + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetNamedProviderAtTenant.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetNamedProviderAtTenant.json new file mode 100644 index 000000000000..86573a1566d2 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetNamedProviderAtTenant.json @@ -0,0 +1,253 @@ +{ + "parameters": { + "$expand": "resourceTypes/aliases", + "resourceProviderNamespace": "Microsoft.Storage", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "namespace": "Microsoft.Storage", + "resourceTypes": [ + { + "resourceType": "storageAccounts", + "locations": [ + "East US", + "East US 2", + "East US 2 (Stage)", + "West US", + "West Europe", + "East Asia", + "Southeast Asia", + "Japan East", + "Japan West", + "North Central US", + "South Central US", + "Central US", + "North Europe", + "Brazil South", + "Australia East", + "Australia Southeast", + "South India", + "Central India", + "West India", + "Canada East", + "Canada Central", + "West US 2", + "West Central US", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "East US 2 EUAP", + "Central US EUAP", + "France Central", + "France South", + "Australia Central", + "Australia Central 2", + "South Africa West", + "South Africa North", + "UAE Central", + "UAE North", + "Switzerland North", + "Switzerland West", + "Germany West Central", + "Germany North", + "Norway East", + "Norway West", + "South Central US STG", + "Brazil Southeast" + ], + "apiVersions": [ + "2019-06-01", + "2019-04-01", + "2018-11-01", + "2018-07-01", + "2018-03-01-preview", + "2018-02-01", + "2017-10-01", + "2017-06-01", + "2016-12-01", + "2016-05-01", + "2016-01-01", + "2015-06-15", + "2015-05-01-preview" + ], + "defaultApiVersion": "2019-06-01", + "apiProfiles": [ + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2017-10-01" + }, + { + "profileVersion": "2017-03-09-profile", + "apiVersion": "2016-01-01" + }, + { + "profileVersion": "2018-03-01-hybrid", + "apiVersion": "2016-01-01" + }, + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2017-10-01" + } + ], + "aliases": [ + { + "name": "Microsoft.Storage/storageAccounts/accountType", + "paths": [ + { + "path": "properties.accountType", + "apiVersions": [ + "2015-06-15", + "2015-05-01-preview" + ] + }, + { + "path": "sku.name", + "apiVersions": [ + "2018-11-01", + "2018-11-09", + "2018-07-01", + "2018-03-01-Preview", + "2018-02-01", + "2017-10-01", + "2017-06-01", + "2016-12-01", + "2016-05-01", + "2016-01-01" + ] + } + ], + "defaultPath": "sku.name" + }, + { + "name": "Microsoft.Storage/storageAccounts/sku.name", + "paths": [ + { + "path": "properties.accountType", + "apiVersions": [ + "2015-06-15", + "2015-05-01-preview" + ] + }, + { + "path": "sku.name", + "apiVersions": [ + "2018-11-01", + "2018-11-09", + "2018-07-01", + "2018-03-01-Preview", + "2018-02-01", + "2017-10-01", + "2017-06-01", + "2016-12-01", + "2016-05-01", + "2016-01-01" + ] + } + ], + "defaultPath": "sku.name" + }, + { + "name": "Microsoft.Storage/storageAccounts/accessTier", + "paths": [ + { + "path": "properties.accessTier", + "apiVersions": [ + "2018-11-01", + "2018-11-09", + "2018-07-01", + "2018-03-01-Preview", + "2018-02-01", + "2017-10-01", + "2017-06-01", + "2016-12-01", + "2016-05-01", + "2016-01-01", + "2015-06-15", + "2015-05-01-preview" + ] + } + ], + "defaultPath": "properties.accessTier" + }, + { + "name": "Microsoft.Storage/storageAccounts/enableBlobEncryption", + "paths": [ + { + "path": "properties.encryption.services.blob.enabled", + "apiVersions": [ + "2018-11-01", + "2018-11-09", + "2018-07-01", + "2018-03-01-Preview", + "2018-02-01", + "2017-10-01", + "2017-06-01", + "2016-12-01", + "2016-05-01", + "2016-01-01", + "2015-06-15", + "2015-05-01-preview" + ] + } + ], + "defaultPath": "properties.encryption.services.blob.enabled" + }, + { + "name": "Microsoft.Storage/storageAccounts/enableFileEncryption", + "paths": [ + { + "path": "properties.encryption.services.file.enabled", + "apiVersions": [ + "2018-11-01", + "2018-11-09", + "2018-07-01", + "2018-03-01-Preview", + "2018-02-01", + "2017-10-01", + "2017-06-01", + "2016-12-01", + "2016-05-01", + "2016-01-01", + "2015-06-15", + "2015-05-01-preview" + ] + } + ], + "defaultPath": "properties.encryption.services.file.enabled" + }, + { + "name": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", + "paths": [ + { + "path": "properties.supportsHttpsTrafficOnly", + "apiVersions": [ + "2018-11-09", + "2018-03-01-Preview", + "2016-05-01", + "2016-01-01", + "2015-06-15", + "2015-05-01-preview" + ], + "metadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "defaultPath": "properties.supportsHttpsTrafficOnly", + "defaultMetadata": { + "type": "Boolean", + "attributes": "Modifiable" + } + } + ], + "capabilities": "SupportsTags, SupportsLocation" + } + ] + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetProvider.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetProvider.json new file mode 100644 index 000000000000..c56e92960fbc --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetProvider.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceProviderNamespace": "Microsoft.TestRP1", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.TestRP1", + "namespace": "Microsoft.TestRP1", + "registrationState": "Registering", + "registrationPolicy": "RegistrationRequired", + "resourceTypes": [ + { + "resourceType": "TestResourceType", + "locations": [ + "West US" + ], + "apiVersions": [ + "2018-01-01", + "2015-05-01" + ], + "locationMappings": [ + { + "location": "West US", + "type": "EdgeZone", + "extendedLocations": [ + "LosAngeles", + "LosAngeles2" + ] + } + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "TestResourceTypeSibling", + "locations": [ + "West US" + ], + "apiVersions": [ + "2018-01-01", + "2015-05-01" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + } + ] + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetProviderResourceTypes.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetProviderResourceTypes.json new file mode 100644 index 000000000000..bbb9260ba33a --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetProviderResourceTypes.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceProviderNamespace": "Microsoft.TestRP", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "resourceType": "TestResourceType", + "locations": [ + "West US" + ], + "apiVersions": [ + "2018-01-01", + "2015-05-01" + ], + "locationMappings": [ + { + "location": "West US", + "type": "EdgeZone", + "extendedLocations": [ + "LosAngeles", + "LosAngeles2" + ] + } + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "TestResourceTypeSibling", + "locations": [ + "West US" + ], + "apiVersions": [ + "2018-01-01", + "2015-05-01" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + } + ] + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetProviders.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetProviders.json new file mode 100644 index 000000000000..20756d3a8b52 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetProviders.json @@ -0,0 +1,175 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.TestRP1", + "namespace": "Microsoft.TestRP1", + "registrationState": "Registering", + "registrationPolicy": "RegistrationRequired", + "resourceTypes": [ + { + "resourceType": "TestResourceType", + "locations": [ + "West US" + ], + "apiVersions": [ + "2018-01-01", + "2015-05-01" + ], + "locationMappings": [ + { + "location": "West US", + "type": "EdgeZone", + "extendedLocations": [ + "LosAngeles", + "LosAngeles2" + ] + } + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "TestResourceTypeSibling", + "locations": [ + "West US" + ], + "apiVersions": [ + "2018-01-01", + "2015-05-01" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + } + ] + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources", + "namespace": "Microsoft.Resources", + "registrationState": "Registered", + "registrationPolicy": "RegistrationFree", + "resourceTypes": [ + { + "resourceType": "subscriptions", + "locations": [ + "eastus", + "eastus2", + "westus" + ], + "apiVersions": [ + "2016-09-01", + "2014-04-01-preview" + ], + "aliases": [], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "resourceGroups", + "locations": [ + "centralus", + "eastasia", + "southeastasia" + ], + "apiVersions": [ + "2016-09-01", + "2014-04-01-preview" + ], + "aliases": [], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "subscriptions/resourceGroups", + "locations": [ + "eastus", + "eastus2", + "westus" + ], + "apiVersions": [ + "2016-09-01", + "2014-04-01-preview" + ], + "aliases": [], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "bulkDelete", + "locations": [ + "centralus", + "eastasia" + ], + "apiVersions": [ + "2014-04-01-preview" + ], + "aliases": [], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "deployments", + "locations": [], + "apiVersions": [ + "2017-08-01", + "2017-06-01" + ], + "aliases": [], + "capabilities": "SupportsTags" + }, + { + "resourceType": "tags", + "locations": [ + "DevFabric" + ], + "apiVersions": [], + "aliases": [], + "capabilities": "SupportsExtension" + } + ] + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.TestRP2", + "namespace": "Microsoft.TestRP2", + "registrationState": "NotRegistered", + "registrationPolicy": "RegistrationRequired", + "resourceTypes": [ + { + "resourceType": "TestResourceType", + "locations": [ + "West US" + ], + "apiVersions": [ + "2018-01-01", + "2015-05-01" + ], + "locationMappings": [ + { + "location": "West US", + "type": "EdgeZone", + "extendedLocations": [ + "LosAngeles", + "LosAngeles2" + ] + } + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "TestResourceTypeSibling", + "locations": [ + "West US" + ], + "apiVersions": [ + "2018-01-01", + "2015-05-01" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + } + ] + } + ] + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetSubscription.json new file mode 100644 index 000000000000..f62a28551dcc --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetSubscription.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05", + "subscriptionId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05", + "tenantId": "31c75423-32d6-4322-88b7-c478bdde4858", + "displayName": "Example Subscription", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + }, + "authorizationSource": "Bypassed", + "managedByTenants": [ + { + "tenantId": "8f70baf1-1f6e-46a2-a1ff-238dac1ebfb7" + } + ], + "tags": { + "tagKey1": "tagValue1", + "tagKey2": "tagValue2" + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetSubscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetSubscriptions.json new file mode 100644 index 000000000000..b340788d7eee --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetSubscriptions.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05", + "subscriptionId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05", + "tenantId": "31c75423-32d6-4322-88b7-c478bdde4858", + "displayName": "Example Subscription", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + }, + "authorizationSource": "RoleBased", + "managedByTenants": [ + { + "tenantId": "8f70baf1-1f6e-46a2-a1ff-238dac1ebfb7" + } + ], + "tags": { + "tagKey1": "tagValue1", + "tagKey2": "tagValue2" + } + }, + { + "id": "/subscriptions/72ac930a-f34e-42d8-b06d-dc2a9e12ed71", + "subscriptionId": "72ac930a-f34e-42d8-b06d-dc2a9e12ed71", + "tenantId": "2a0ff0de-96b2-4859-bb7c-a430d07a3e0c", + "displayName": "Example Subscription2", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + }, + "authorizationSource": "RoleBased", + "managedByTenants": [ + { + "tenantId": "8f70baf1-1f6e-46a2-a1ff-238dac1ebfb7" + }, + { + "tenantId": "f7fb6af2-321d-47c8-9c0f-b0239eaad39a" + } + ], + "tags": { + "tagKey1": "tagValue1", + "tagKey2": "tagValue2" + } + } + ], + "nextLink": "..." + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetTagsResource.json new file mode 100644 index 000000000000..b66f222eb0af --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetTagsResource.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "scope": "subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/my-resource-group/providers/myPRNameSpace/VM/myVm", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "tags": { + "tagKey1": "tag-value-1", + "tagKey2": "tag-value-2" + } + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetTagsSubscription.json new file mode 100644 index 000000000000..625262aec894 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetTagsSubscription.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "tags": { + "tagKey1": "tag-value-1", + "tagKey2": "tag-value-2" + } + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetTenants.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetTenants.json new file mode 100644 index 000000000000..553693bbc1e4 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetTenants.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/tenants/a70a1586-9c4a-4373-b907-1d310660dbd1", + "tenantId": "a70a1586-9c4a-4373-b907-1d310660dbd1", + "countryCode": "US", + "displayName": "Test_Test_aad50", + "domains": [ + "aad50.ccsctp.net" + ], + "tenantCategory": "ManagedBy", + "defaultDomain": "aad50.ccsctp.net", + "tenantType": "AAD" + }, + { + "id": "/tenants/83abe5cd-bcc3-441a-bd86-e6a75360cecc", + "tenantId": "83abe5cd-bcc3-441a-bd86-e6a75360cecc", + "countryCode": "US", + "displayName": "Contoso Corp.", + "domains": [ + "auxteststagemanual.ccsctp.net" + ], + "tenantCategory": "Home", + "defaultDomain": "auxteststagemanual.ccsctp.net", + "tenantType": "AAD" + }, + { + "id": "/tenants/daea2e9b-847b-4c93-850d-2aa6f2d7af33", + "tenantId": "daea2e9b-847b-4c93-850d-2aa6f2d7af33", + "countryCode": "US", + "displayName": "TEST_TEST_RDV", + "domains": [ + "rdvmohoro.ccsctp.net", + "rdvmohoro.mail.ccsctp.net", + "rdvmohoro.com" + ], + "tenantCategory": "ProjectedBy", + "defaultDomain": "rdvmohoro.ccsctp.net", + "tenantType": "AAD", + "tenantBrandingLogoUrl": "logo1.logo.rdvmohoro.com" + } + ], + "nextLink": "..." + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/PostCheckZonePeers.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/PostCheckZonePeers.json new file mode 100644 index 000000000000..fd52e3c1b2e6 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/PostCheckZonePeers.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-00000000000000", + "api-version": "2021-01-01", + "parameters": { + "location": "eastus", + "subscriptionIds": [ + "subscriptions/11111111-1111-1111-1111-111111111111" + ] + } + }, + "responses": { + "200": { + "body": { + "subscriptionId": "00000000-0000-0000-0000-00000000000000", + "location": "eastus2", + "availabilityZonePeers": [ + { + "availabilityZone": "1", + "peers": [ + { + "subscriptionId": "11111111-1111-1111-1111-111111111111", + "availabilityZone": "3" + } + ] + }, + { + "availabilityZone": "2", + "peers": [ + { + "subscriptionId": "11111111-1111-1111-1111-111111111111", + "availabilityZone": "2" + } + ] + }, + { + "availabilityZone": "3", + "peers": [ + { + "subscriptionId": "11111111-1111-1111-1111-111111111111", + "availabilityZone": "1" + } + ] + } + ] + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/PutTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/PutTagsResource.json new file mode 100644 index 000000000000..39b2f5583b88 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/PutTagsResource.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "scope": "subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/my-resource-group/providers/myPRNameSpace/VM/myVm", + "api-version": "2021-01-01", + "parameters": { + "properties": { + "tags": { + "tagKey1": "tag-value-1", + "tagKey2": "tag-value-2" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "tags": { + "tagKey1": "tag-value-1", + "tagKey2": "tag-value-2" + } + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/PutTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/PutTagsSubscription.json new file mode 100644 index 000000000000..d193c0a7e661 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/PutTagsSubscription.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "scope": "subscriptions/00000000-0000-0000-0000-000000000000", + "api-version": "2021-01-01", + "parameters": { + "properties": { + "tags": { + "tagKey1": "tag-value-1", + "tagKey2": "tag-value-2" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "tags": { + "tagKey1": "tag-value-1", + "tagKey2": "tag-value-2" + } + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/resources.json new file mode 100644 index 000000000000..ecc384275f82 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/resources.json @@ -0,0 +1,3084 @@ +{ + "swagger": "2.0", + "info": { + "title": "ResourceManagementClient", + "version": "2021-01-01", + "description": "Provides operations for working with resources and resource groups." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.Resources/operations": { + "get": { + "tags": [ + "Operations" + ], + "operationId": "Operations_List", + "description": "Lists all of the available Microsoft.Resources REST API operations.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/unregister": { + "post": { + "tags": [ + "Providers" + ], + "operationId": "Providers_Unregister", + "description": "Unregisters a subscription from a resource provider.", + "parameters": [ + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "The namespace of the resource provider to unregister." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource provider.", + "schema": { + "$ref": "#/definitions/Provider" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/providers/Microsoft.Management/managementGroups/{groupId}/providers/{resourceProviderNamespace}/register": { + "post": { + "tags": [ + "Providers" + ], + "operationId": "Providers_RegisterAtManagementGroupScope", + "description": "Registers a management group with a resource provider.", + "parameters": [ + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "The namespace of the resource provider to register." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/GroupIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource provider." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/register": { + "post": { + "tags": [ + "Providers" + ], + "operationId": "Providers_Register", + "description": "Registers a subscription with a resource provider.", + "parameters": [ + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "The namespace of the resource provider to register." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource provider.", + "schema": { + "$ref": "#/definitions/Provider" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers": { + "get": { + "tags": [ + "Providers" + ], + "operationId": "Providers_List", + "description": "Gets all resource providers for a subscription.", + "parameters": [ + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The number of results to return. If null is passed returns all deployments." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The properties to include in the results. For example, use &$expand=metadata in the query string to retrieve resource provider metadata. To include property aliases in response, use $expand=resourceTypes/aliases." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of resource providers.", + "schema": { + "$ref": "#/definitions/ProviderListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Get providers.": { + "$ref": "./examples/GetProviders.json" + } + } + } + }, + "/providers": { + "get": { + "tags": [ + "Providers" + ], + "operationId": "Providers_ListAtTenantScope", + "description": "Gets all resource providers for the tenant.", + "parameters": [ + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The number of results to return. If null is passed returns all providers." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The properties to include in the results. For example, use &$expand=metadata in the query string to retrieve resource provider metadata. To include property aliases in response, use $expand=resourceTypes/aliases." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of resource providers.", + "schema": { + "$ref": "#/definitions/ProviderListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}": { + "get": { + "tags": [ + "Providers" + ], + "operationId": "Providers_Get", + "description": "Gets the specified resource provider.", + "parameters": [ + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The $expand query parameter. For example, to include property aliases in response, use $expand=resourceTypes/aliases." + }, + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "The namespace of the resource provider." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource provider.", + "schema": { + "$ref": "#/definitions/Provider" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get provider.": { + "$ref": "./examples/GetProvider.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/resourceTypes": { + "get": { + "tags": [ + "Providers" + ], + "operationId": "ProviderResourceTypes_List", + "description": "List the resource types for a specified resource provider.", + "parameters": [ + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The $expand query parameter. For example, to include property aliases in response, use $expand=resourceTypes/aliases." + }, + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "The namespace of the resource provider." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns resource types information for the resource provider.", + "schema": { + "$ref": "#/definitions/ProviderResourceTypeListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get provider resource types.": { + "$ref": "./examples/GetProviderResourceTypes.json" + } + } + } + }, + "/providers/{resourceProviderNamespace}": { + "get": { + "tags": [ + "Providers" + ], + "x-ms-examples": { + "Get a resource provider at tenant scope": { + "$ref": "./examples/GetNamedProviderAtTenant.json" + } + }, + "operationId": "Providers_GetAtTenantScope", + "description": "Gets the specified resource provider at the tenant level.", + "parameters": [ + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The $expand query parameter. For example, to include property aliases in response, use $expand=resourceTypes/aliases." + }, + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "The namespace of the resource provider." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource provider.", + "schema": { + "$ref": "#/definitions/Provider" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/resources": { + "get": { + "tags": [ + "ResourceGroups" + ], + "operationId": "Resources_ListByResourceGroup", + "description": "Get all the resources for a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group with the resources to get.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation.

The properties you can use for eq (equals) or ne (not equals) are: location, resourceType, name, resourceGroup, identity, identity/principalId, plan, plan/publisher, plan/product, plan/name, plan/version, and plan/promotionCode.

For example, to filter by a resource type, use: $filter=resourceType eq 'Microsoft.Network/virtualNetworks'

You can use substringof(value, property) in the filter. The properties you can use for substring are: name and resourceGroup.

For example, to get all resources with 'demo' anywhere in the name, use: $filter=substringof('demo', name)

You can link more than one substringof together by adding and/or operators.

You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1'. When you filter by a tag name and value, the tags for each resource are not returned in the results.

You can use some properties together when filtering. The combinations you can use are: substringof and/or resourceType, plan and plan/publisher and plan/name, identity and identity/principalId." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Comma-separated list of additional properties to be included in the response. Valid values include `createdTime`, `changedTime` and `provisioningState`. For example, `$expand=createdTime,changedTime`." + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The number of results to return. If null is passed, returns all resources." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of resources", + "schema": { + "$ref": "#/definitions/ResourceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/GenericResourceFilter" + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}": { + "head": { + "tags": [ + "ResourceGroups" + ], + "operationId": "ResourceGroups_CheckExistence", + "description": "Checks whether a resource group exists.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group to check. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "put": { + "tags": [ + "ResourceGroups" + ], + "x-ms-examples": { + "Create or update a resource group": { + "$ref": "./examples/CreateResourceGroup.json" + } + }, + "operationId": "ResourceGroups_CreateOrUpdate", + "description": "Creates or updates a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group to create or update. Can include alphanumeric, underscore, parentheses, hyphen, period (except at end), and Unicode characters that match the allowed characters.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ResourceGroup" + }, + "description": "Parameters supplied to the create or update a resource group." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the new resource group.", + "schema": { + "$ref": "#/definitions/ResourceGroup" + } + }, + "201": { + "description": "Created - Returns information about the new resource group.", + "schema": { + "$ref": "#/definitions/ResourceGroup" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "delete": { + "tags": [ + "ResourceGroups" + ], + "operationId": "ResourceGroups_Delete", + "summary": "Deletes a resource group.", + "description": "When you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes all of its template deployments and currently stored operations.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group to delete. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "forceDeletionTypes", + "in": "query", + "required": false, + "type": "string", + "description": "The resource types you want to force delete. Currently, only the following is supported: forceDeletionTypes=Microsoft.Compute/virtualMachines,Microsoft.Compute/virtualMachineScaleSets" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "x-ms-examples": { + "Force delete all the Virtual Machines in a resource group": { + "$ref": "./examples/ForceDeleteVMsInResourceGroup.json" + }, + "Force delete all the Virtual Machines and Virtual Machine Scale Sets in a resource group": { + "$ref": "./examples/ForceDeleteVMsAndVMSSInResourceGroup.json" + } + }, + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "ResourceGroups" + ], + "operationId": "ResourceGroups_Get", + "description": "Gets a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group to get. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource group.", + "schema": { + "$ref": "#/definitions/ResourceGroup" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "patch": { + "tags": [ + "ResourceGroups" + ], + "operationId": "ResourceGroups_Update", + "summary": "Updates a resource group.", + "description": "Resource groups can be updated through a simple PATCH operation to a group address. The format of the request is the same as that for creating a resource group. If a field is unspecified, the current value is retained.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group to update. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ResourceGroupPatchable" + }, + "description": "Parameters supplied to update a resource group." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource group.", + "schema": { + "$ref": "#/definitions/ResourceGroup" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/exportTemplate": { + "post": { + "tags": [ + "ResourceGroups" + ], + "operationId": "ResourceGroups_ExportTemplate", + "description": "Captures the specified resource group as a template.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ExportTemplateRequest" + }, + "description": "Parameters for exporting the template." + } + ], + "x-ms-examples": { + "Export a resource group": { + "$ref": "./examples/ExportResourceGroup.json" + }, + "Export a resource group with filtering": { + "$ref": "./examples/ExportResourceGroupWithFiltering.json" + } + }, + "responses": { + "200": { + "description": "OK - Returns the result of the export.", + "schema": { + "$ref": "#/definitions/ResourceGroupExportResult" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups": { + "get": { + "tags": [ + "ResourceGroups" + ], + "operationId": "ResourceGroups_List", + "description": "Gets all the resource groups for a subscription.", + "parameters": [ + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation.

You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1'" + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The number of results to return. If null is passed, returns all resource groups." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of resource groups.", + "schema": { + "$ref": "#/definitions/ResourceGroupListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/ResourceGroupFilter" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{sourceResourceGroupName}/moveResources": { + "post": { + "tags": [ + "Resources" + ], + "operationId": "Resources_MoveResources", + "summary": "Moves resources from one resource group to another resource group.", + "description": "The resources to move must be in the same source resource group. The target resource group may be in a different subscription. When moving resources, both the source group and the target group are locked for the duration of the operation. Write and delete operations are blocked on the groups until the move completes. ", + "parameters": [ + { + "name": "sourceResourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group containing the resources to move.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ResourcesMoveInfo" + }, + "description": "Parameters for moving resources." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{sourceResourceGroupName}/validateMoveResources": { + "post": { + "tags": [ + "Resources" + ], + "operationId": "Resources_ValidateMoveResources", + "summary": "Validates whether resources can be moved from one resource group to another resource group.", + "description": "This operation checks whether the specified resources can be moved to the target. The resources to move must be in the same source resource group. The target resource group may be in a different subscription. If validation succeeds, it returns HTTP response code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an error message. Retrieve the URL in the Location header value to check the result of the long-running operation.", + "parameters": [ + { + "name": "sourceResourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group containing the resources to validate for move.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ResourcesMoveInfo" + }, + "description": "Parameters for moving resources." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resources": { + "get": { + "tags": [ + "Resources" + ], + "operationId": "Resources_List", + "description": "Get all the resources in a subscription.", + "parameters": [ + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation.

The properties you can use for eq (equals) or ne (not equals) are: location, resourceType, name, resourceGroup, identity, identity/principalId, plan, plan/publisher, plan/product, plan/name, plan/version, and plan/promotionCode.

For example, to filter by a resource type, use: $filter=resourceType eq 'Microsoft.Network/virtualNetworks'

You can use substringof(value, property) in the filter. The properties you can use for substring are: name and resourceGroup.

For example, to get all resources with 'demo' anywhere in the name, use: $filter=substringof('demo', name)

You can link more than one substringof together by adding and/or operators.

You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1'. When you filter by a tag name and value, the tags for each resource are not returned in the results.

You can use some properties together when filtering. The combinations you can use are: substringof and/or resourceType, plan and plan/publisher and plan/name, identity and identity/principalId." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Comma-separated list of additional properties to be included in the response. Valid values include `createdTime`, `changedTime` and `provisioningState`. For example, `$expand=createdTime,changedTime`." + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "The number of results to return. If null is passed, returns all resources." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of resources.", + "schema": { + "$ref": "#/definitions/ResourceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/GenericResourceFilter" + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}": { + "head": { + "tags": [ + "Resources" + ], + "operationId": "Resources_CheckExistence", + "description": "Checks whether a resource exists.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group containing the resource to check. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "The resource provider of the resource to check." + }, + { + "name": "parentResourcePath", + "in": "path", + "required": true, + "type": "string", + "description": "The parent resource identity.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceType", + "in": "path", + "required": true, + "type": "string", + "description": "The resource type.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource to check whether it exists." + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation.", + "x-ms-api-version": false + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "delete": { + "tags": [ + "Resources" + ], + "operationId": "Resources_Delete", + "description": "Deletes a resource.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group that contains the resource to delete. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "The namespace of the resource provider." + }, + { + "name": "parentResourcePath", + "in": "path", + "required": true, + "type": "string", + "description": "The parent resource identity.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceType", + "in": "path", + "required": true, + "type": "string", + "description": "The resource type.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource to delete." + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation.", + "x-ms-api-version": false + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "put": { + "tags": [ + "Resources" + ], + "operationId": "Resources_CreateOrUpdate", + "description": "Creates a resource.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group for the resource. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "The namespace of the resource provider." + }, + { + "name": "parentResourcePath", + "in": "path", + "required": true, + "type": "string", + "description": "The parent resource identity.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceType", + "in": "path", + "required": true, + "type": "string", + "description": "The resource type of the resource to create.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource to create." + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation.", + "x-ms-api-version": false + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GenericResource" + }, + "description": "Parameters for creating or updating the resource." + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource.", + "schema": { + "$ref": "#/definitions/GenericResource" + } + }, + "201": { + "description": "Created - Returns information about the resource.", + "schema": { + "$ref": "#/definitions/GenericResource" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "Resources" + ], + "operationId": "Resources_Update", + "description": "Updates a resource.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group for the resource. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "The namespace of the resource provider." + }, + { + "name": "parentResourcePath", + "in": "path", + "required": true, + "type": "string", + "description": "The parent resource identity.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceType", + "in": "path", + "required": true, + "type": "string", + "description": "The resource type of the resource to update.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource to update." + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation.", + "x-ms-api-version": false + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GenericResource" + }, + "description": "Parameters for updating the resource." + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource.", + "schema": { + "$ref": "#/definitions/GenericResource" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "Resources" + ], + "operationId": "Resources_Get", + "description": "Gets a resource.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group containing the resource to get. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "The namespace of the resource provider." + }, + { + "name": "parentResourcePath", + "in": "path", + "required": true, + "type": "string", + "description": "The parent resource identity.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceType", + "in": "path", + "required": true, + "type": "string", + "description": "The resource type of the resource.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource to get." + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation.", + "x-ms-api-version": false + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource.", + "schema": { + "$ref": "#/definitions/GenericResource" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/{resourceId}": { + "head": { + "tags": [ + "Resources" + ], + "operationId": "Resources_CheckExistenceById", + "description": "Checks by ID whether a resource exists.", + "parameters": [ + { + "name": "resourceId", + "in": "path", + "required": true, + "type": "string", + "description": "The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}", + "x-ms-skip-url-encoding": true + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation.", + "x-ms-api-version": false + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "delete": { + "tags": [ + "Resources" + ], + "operationId": "Resources_DeleteById", + "description": "Deletes a resource by ID.", + "parameters": [ + { + "name": "resourceId", + "in": "path", + "required": true, + "type": "string", + "description": "The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}", + "x-ms-skip-url-encoding": true + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation.", + "x-ms-api-version": false + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "put": { + "tags": [ + "Resources" + ], + "operationId": "Resources_CreateOrUpdateById", + "description": "Create a resource by ID.", + "parameters": [ + { + "name": "resourceId", + "in": "path", + "required": true, + "type": "string", + "description": "The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}", + "x-ms-skip-url-encoding": true + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation.", + "x-ms-api-version": false + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GenericResource" + }, + "description": "Create or update resource parameters." + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource.", + "schema": { + "$ref": "#/definitions/GenericResource" + } + }, + "201": { + "description": "Created - Returns information about the resource.", + "schema": { + "$ref": "#/definitions/GenericResource" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "Resources" + ], + "operationId": "Resources_UpdateById", + "description": "Updates a resource by ID.", + "parameters": [ + { + "name": "resourceId", + "in": "path", + "required": true, + "type": "string", + "description": "The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}", + "x-ms-skip-url-encoding": true + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation.", + "x-ms-api-version": false + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GenericResource" + }, + "description": "Update resource parameters." + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource.", + "schema": { + "$ref": "#/definitions/GenericResource" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "Resources" + ], + "operationId": "Resources_GetById", + "description": "Gets a resource by ID.", + "parameters": [ + { + "name": "resourceId", + "in": "path", + "required": true, + "type": "string", + "description": "The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}", + "x-ms-skip-url-encoding": true + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation.", + "x-ms-api-version": false + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource.", + "schema": { + "$ref": "#/definitions/GenericResource" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/tagNames/{tagName}/tagValues/{tagValue}": { + "delete": { + "tags": [ + "Tags" + ], + "operationId": "Tags_DeleteValue", + "summary": "Deletes a predefined tag value for a predefined tag name.", + "description": "This operation allows deleting a value from the list of predefined values for an existing predefined tag name. The value being deleted must not be in use as a tag value for the given tag name for any resource.", + "parameters": [ + { + "name": "tagName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the tag." + }, + { + "name": "tagValue", + "in": "path", + "required": true, + "type": "string", + "description": "The value of the tag to delete." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Predefined tag value successfully deleted." + }, + "204": { + "description": "Predefined tag value did not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "put": { + "tags": [ + "Tags" + ], + "operationId": "Tags_CreateOrUpdateValue", + "summary": "Creates a predefined value for a predefined tag name.", + "description": "This operation allows adding a value to the list of predefined values for an existing predefined tag name. A tag value can have a maximum of 256 characters.", + "parameters": [ + { + "name": "tagName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the tag." + }, + { + "name": "tagValue", + "in": "path", + "required": true, + "type": "string", + "description": "The value of the tag to create." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Predefined tag value already exists. Returns information about the predefined tag value.", + "schema": { + "$ref": "#/definitions/TagValue" + } + }, + "201": { + "description": "Predefined tag value successfully created. Returns information about the predefined tag value.", + "schema": { + "$ref": "#/definitions/TagValue" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/tagNames/{tagName}": { + "put": { + "tags": [ + "Tags" + ], + "operationId": "Tags_CreateOrUpdate", + "summary": "Creates a predefined tag name.", + "description": "This operation allows adding a name to the list of predefined tag names for the given subscription. A tag name can have a maximum of 512 characters and is case-insensitive. Tag names cannot have the following prefixes which are reserved for Azure use: 'microsoft', 'azure', 'windows'.", + "parameters": [ + { + "name": "tagName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the tag to create." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Predefined tag name already exists. Returns information about the predefined tag name.", + "schema": { + "$ref": "#/definitions/TagDetails" + } + }, + "201": { + "description": "Predefined tag name successfully created. Returns information about the predefined tag name.", + "schema": { + "$ref": "#/definitions/TagDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "delete": { + "tags": [ + "Tags" + ], + "operationId": "Tags_Delete", + "summary": "Deletes a predefined tag name.", + "description": "This operation allows deleting a name from the list of predefined tag names for the given subscription. The name being deleted must not be in use as a tag name for any resource. All predefined values for the given name must have already been deleted.", + "parameters": [ + { + "name": "tagName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the tag." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Predefined tag name successfully deleted." + }, + "204": { + "description": "Predefined tag name did not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/tagNames": { + "get": { + "tags": [ + "Tags" + ], + "operationId": "Tags_List", + "summary": "Gets a summary of tag usage under the subscription.", + "description": "This operation performs a union of predefined tags, resource tags, resource group tags and subscription tags, and returns a summary of usage for each tag name and value under the given subscription. In case of a large number of tags, this operation may return a previously cached result.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of tag names and values.", + "schema": { + "$ref": "#/definitions/TagsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{scope}/providers/Microsoft.Resources/tags/default": { + "put": { + "tags": [ + "Tags" + ], + "operationId": "Tags_CreateOrUpdateAtScope", + "summary": "Creates or updates the entire set of tags on a resource or subscription.", + "description": "This operation allows adding or replacing the entire set of tags on the specified resource or subscription. The specified entity can have a maximum of 50 tags.", + "parameters": [ + { + "$ref": "#/parameters/ScopeParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/TagsResource" + } + } + ], + "responses": { + "200": { + "description": "Tags updated successfully. Returns tags from the specified object.", + "schema": { + "$ref": "#/definitions/TagsResource" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Update tags on a resource": { + "$ref": "./examples/PutTagsResource.json" + }, + "Update tags on a subscription": { + "$ref": "./examples/PutTagsSubscription.json" + } + } + }, + "patch": { + "tags": [ + "Tags" + ], + "operationId": "Tags_UpdateAtScope", + "summary": "Selectively updates the set of tags on a resource or subscription.", + "description": "This operation allows replacing, merging or selectively deleting tags on the specified resource or subscription. The specified entity can have a maximum of 50 tags at the end of the operation. The 'replace' option replaces the entire set of existing tags with a new set. The 'merge' option allows adding tags with new names and updating the values of tags with existing names. The 'delete' option allows selectively deleting tags based on given names or name/value pairs.", + "parameters": [ + { + "$ref": "#/parameters/ScopeParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/TagsPatchResource" + } + } + ], + "responses": { + "200": { + "description": "Tags updated successfully. Returns tags from the specified object.", + "schema": { + "$ref": "#/definitions/TagsResource" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "get": { + "tags": [ + "Tags" + ], + "operationId": "Tags_GetAtScope", + "summary": "Gets the entire set of tags on a resource or subscription.", + "parameters": [ + { + "$ref": "#/parameters/ScopeParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Returns tags from the specified object.", + "schema": { + "$ref": "#/definitions/TagsResource" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get tags on a resource": { + "$ref": "./examples/GetTagsResource.json" + }, + "Get tags on a subscription": { + "$ref": "./examples/GetTagsSubscription.json" + } + } + }, + "delete": { + "tags": [ + "Tags" + ], + "operationId": "Tags_DeleteAtScope", + "summary": "Deletes the entire set of tags on a resource or subscription.", + "parameters": [ + { + "$ref": "#/parameters/ScopeParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Tags successfully deleted." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + } + }, + "definitions": { + "GenericResourceFilter": { + "properties": { + "resourceType": { + "type": "string", + "description": "The resource type." + }, + "tagname": { + "type": "string", + "description": "The tag name." + }, + "tagvalue": { + "type": "string", + "description": "The tag value." + } + }, + "description": "Resource filter." + }, + "ResourceGroupFilter": { + "properties": { + "tagName": { + "type": "string", + "description": "The tag name." + }, + "tagValue": { + "type": "string", + "description": "The tag value." + } + }, + "description": "Resource group filter." + }, + "CloudError": { + "x-ms-external": true, + "properties": { + "error": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + } + }, + "description": "An error response for a resource management request." + }, + "ApiProfile": { + "properties": { + "profileVersion": { + "type": "string", + "readOnly": true, + "description": "The profile version." + }, + "apiVersion": { + "type": "string", + "readOnly": true, + "description": "The API version." + } + } + }, + "AliasPathMetadata": { + "properties": { + "type": { + "type": "string", + "readOnly": true, + "enum": [ + "NotSpecified", + "Any", + "String", + "Object", + "Array", + "Integer", + "Number", + "Boolean" + ], + "x-ms-enum": { + "name": "AliasPathTokenType", + "modelAsString": true, + "values": [ + { + "value": "NotSpecified", + "description": "The token type is not specified." + }, + { + "value": "Any", + "description": "The token type can be anything." + }, + { + "value": "String", + "description": "The token type is string." + }, + { + "value": "Object", + "description": "The token type is object." + }, + { + "value": "Array", + "description": "The token type is array." + }, + { + "value": "Integer", + "description": "The token type is integer." + }, + { + "value": "Number", + "description": "The token type is number." + }, + { + "value": "Boolean", + "description": "The token type is boolean." + } + ] + }, + "description": "The type of the token that the alias path is referring to." + }, + "attributes": { + "type": "string", + "readOnly": true, + "enum": [ + "None", + "Modifiable" + ], + "x-ms-enum": { + "name": "AliasPathAttributes", + "modelAsString": true, + "values": [ + { + "value": "None", + "description": "The token that the alias path is referring to has no attributes." + }, + { + "value": "Modifiable", + "description": "The token that the alias path is referring to is modifiable by policies with 'modify' effect." + } + ] + }, + "description": "The attributes of the token that the alias path is referring to." + } + } + }, + "AliasPath": { + "properties": { + "path": { + "type": "string", + "description": "The path of an alias." + }, + "apiVersions": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The API versions." + }, + "pattern": { + "$ref": "#/definitions/AliasPattern", + "description": "The pattern for an alias path." + }, + "metadata": { + "readOnly": true, + "$ref": "#/definitions/AliasPathMetadata", + "description": "The metadata of the alias path. If missing, fall back to the default metadata of the alias." + } + }, + "description": "The type of the paths for alias." + }, + "AliasPattern": { + "properties": { + "phrase": { + "type": "string", + "description": "The alias pattern phrase." + }, + "variable": { + "type": "string", + "description": "The alias pattern variable." + }, + "type": { + "type": "string", + "enum": [ + "NotSpecified", + "Extract" + ], + "x-ms-enum": { + "name": "AliasPatternType", + "modelAsString": false, + "values": [ + { + "value": "NotSpecified", + "description": "NotSpecified is not allowed." + }, + { + "value": "Extract", + "description": "Extract is the only allowed value." + } + ] + }, + "description": "The type of alias pattern" + } + }, + "description": "The type of the pattern for an alias path." + }, + "Alias": { + "properties": { + "name": { + "type": "string", + "description": "The alias name." + }, + "paths": { + "type": "array", + "items": { + "$ref": "#/definitions/AliasPath" + }, + "description": "The paths for an alias." + }, + "type": { + "type": "string", + "description": "The type of the alias.", + "enum": [ + "NotSpecified", + "PlainText", + "Mask" + ], + "x-ms-enum": { + "name": "AliasType", + "modelAsString": false, + "values": [ + { + "value": "NotSpecified", + "description": "Alias type is unknown (same as not providing alias type)." + }, + { + "value": "PlainText", + "description": "Alias value is not secret." + }, + { + "value": "Mask", + "description": "Alias value is secret." + } + ] + } + }, + "defaultPath": { + "type": "string", + "description": "The default path for an alias." + }, + "defaultPattern": { + "$ref": "#/definitions/AliasPattern", + "description": "The default pattern for an alias." + }, + "defaultMetadata": { + "readOnly": true, + "$ref": "#/definitions/AliasPathMetadata", + "description": "The default alias path metadata. Applies to the default path and to any alias path that doesn't have metadata" + } + }, + "description": "The alias type. " + }, + "ProviderExtendedLocation": { + "properties": { + "location": { + "type": "string", + "description": "The azure location." + }, + "type": { + "type": "string", + "description": "The extended location type." + }, + "extendedLocations": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The extended locations for the azure location." + } + }, + "description": "The provider extended location. " + }, + "ProviderResourceType": { + "properties": { + "resourceType": { + "type": "string", + "description": "The resource type." + }, + "locations": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The collection of locations where this resource type can be created." + }, + "locationMappings": { + "type": "array", + "items": { + "$ref": "#/definitions/ProviderExtendedLocation" + }, + "description": "The location mappings that are supported by this resource type." + }, + "aliases": { + "type": "array", + "items": { + "$ref": "#/definitions/Alias" + }, + "description": "The aliases that are supported by this resource type." + }, + "apiVersions": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The API version." + }, + "defaultApiVersion": { + "type": "string", + "readOnly": true, + "description": "The default API version." + }, + "zoneMappings": { + "type": "array", + "items": { + "$ref": "#/definitions/ZoneMapping" + } + }, + "apiProfiles": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ApiProfile" + }, + "description": "The API profiles for the resource provider." + }, + "capabilities": { + "type": "string", + "description": "The additional capabilities offered by this resource type." + }, + "properties": { + "type": "object", + "additionalProperties": { + "type": "string", + "description": "The additional properties. " + }, + "description": "The properties." + } + }, + "description": "Resource type managed by the resource provider." + }, + "Provider": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The provider ID." + }, + "namespace": { + "type": "string", + "description": "The namespace of the resource provider." + }, + "registrationState": { + "readOnly": true, + "type": "string", + "description": "The registration state of the resource provider." + }, + "registrationPolicy": { + "readOnly": true, + "type": "string", + "description": "The registration policy of the resource provider." + }, + "resourceTypes": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/ProviderResourceType" + }, + "description": "The collection of provider resource types." + } + }, + "description": "Resource provider information." + }, + "ProviderListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Provider" + }, + "description": "An array of resource providers." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to use for getting the next set of results." + } + }, + "description": "List of resource providers." + }, + "ProviderResourceTypeListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ProviderResourceType" + }, + "description": "An array of resource types." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to use for getting the next set of results." + } + }, + "description": "List of resource types of a resource provider." + }, + "GenericResource": { + "properties": { + "plan": { + "$ref": "#/definitions/Plan", + "description": "The plan of the resource." + }, + "properties": { + "type": "object", + "description": "The resource properties." + }, + "kind": { + "type": "string", + "description": "The kind of the resource.", + "pattern": "^[-\\w\\._,\\(\\)]+$" + }, + "managedBy": { + "type": "string", + "description": "ID of the resource that manages this resource." + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The SKU of the resource." + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "The identity of the resource." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "description": "Resource information." + }, + "ExtendedLocation": { + "properties": { + "type": { + "type": "string", + "enum": [ + "EdgeZone" + ], + "x-ms-enum": { + "name": "ExtendedLocationType", + "modelAsString": true + }, + "description": "The extended location type." + }, + "name": { + "type": "string", + "description": "The extended location name." + } + }, + "description": "Resource extended location." + }, + "GenericResourceExpanded": { + "properties": { + "createdTime": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "The created time of the resource. This is only present if requested via the $expand query parameter." + }, + "changedTime": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "The changed time of the resource. This is only present if requested via the $expand query parameter." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the resource. This is only present if requested via the $expand query parameter." + } + }, + "allOf": [ + { + "$ref": "#/definitions/GenericResource" + } + ], + "description": "Resource information." + }, + "Plan": { + "properties": { + "name": { + "type": "string", + "description": "The plan ID." + }, + "publisher": { + "type": "string", + "description": "The publisher ID." + }, + "product": { + "type": "string", + "description": "The offer ID." + }, + "promotionCode": { + "type": "string", + "description": "The promotion code." + }, + "version": { + "type": "string", + "description": "The plan's version." + } + }, + "description": "Plan for the resource." + }, + "Sku": { + "properties": { + "name": { + "type": "string", + "description": "The SKU name." + }, + "tier": { + "type": "string", + "description": "The SKU tier." + }, + "size": { + "type": "string", + "description": "The SKU size." + }, + "family": { + "type": "string", + "description": "The SKU family." + }, + "model": { + "type": "string", + "description": "The SKU model." + }, + "capacity": { + "type": "integer", + "format": "int32", + "description": "The SKU capacity." + } + }, + "description": "SKU for the resource." + }, + "Identity": { + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal ID of resource identity." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant ID of resource." + }, + "type": { + "type": "string", + "description": "The identity type.", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ], + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false + } + }, + "userAssignedIdentities": { + "type": "object", + "additionalProperties": { + "type": "object", + "x-ms-client-name": "IdentityUserAssignedIdentitiesValue", + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal id of user assigned identity." + }, + "clientId": { + "readOnly": true, + "type": "string", + "description": "The client id of user assigned identity." + } + } + }, + "description": "The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + }, + "description": "Identity for the resource." + }, + "ResourceListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/GenericResourceExpanded" + }, + "description": "An array of resources." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to use for getting the next set of results." + } + }, + "description": "List of resource groups." + }, + "ResourceGroup": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The ID of the resource group." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "The name of the resource group." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "The type of the resource group." + }, + "properties": { + "$ref": "#/definitions/ResourceGroupProperties", + "description": "The resource group properties." + }, + "location": { + "type": "string", + "description": "The location of the resource group. It cannot be changed after the resource group has been created. It must be one of the supported Azure locations." + }, + "managedBy": { + "type": "string", + "description": "The ID of the resource that manages this resource group." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string", + "description": "The additional properties. " + }, + "description": "The tags attached to the resource group." + } + }, + "required": [ + "location" + ], + "x-ms-azure-resource": true, + "description": "Resource group information." + }, + "ResourceGroupPatchable": { + "properties": { + "name": { + "type": "string", + "description": "The name of the resource group." + }, + "properties": { + "$ref": "#/definitions/ResourceGroupProperties", + "description": "The resource group properties." + }, + "managedBy": { + "type": "string", + "description": "The ID of the resource that manages this resource group." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string", + "description": "The additional properties. " + }, + "description": "The tags attached to the resource group." + } + }, + "description": "Resource group information." + }, + "ResourceGroupProperties": { + "properties": { + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state. " + } + }, + "description": "The resource group properties." + }, + "ResourceGroupListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceGroup" + }, + "description": "An array of resource groups." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to use for getting the next set of results." + } + }, + "description": "List of resource groups." + }, + "ResourcesMoveInfo": { + "properties": { + "resources": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The IDs of the resources." + }, + "targetResourceGroup": { + "type": "string", + "description": "The target resource group." + } + }, + "description": "Parameters of move resources." + }, + "ExportTemplateRequest": { + "properties": { + "resources": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The IDs of the resources to filter the export by. To export all resources, supply an array with single entry '*'." + }, + "options": { + "type": "string", + "description": "The export template options. A CSV-formatted list containing zero or more of the following: 'IncludeParameterDefaultValue', 'IncludeComments', 'SkipResourceNameParameterization', 'SkipAllParameterization'" + } + }, + "description": "Export resource group template request parameters." + }, + "TagCount": { + "properties": { + "type": { + "type": "string", + "description": "Type of count." + }, + "value": { + "type": "integer", + "description": "Value of count." + } + }, + "description": "Tag count." + }, + "TagValue": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The tag value ID." + }, + "tagValue": { + "type": "string", + "description": "The tag value." + }, + "count": { + "$ref": "#/definitions/TagCount", + "description": "The tag value count." + } + }, + "x-ms-azure-resource": true, + "description": "Tag information." + }, + "TagDetails": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The tag name ID." + }, + "tagName": { + "type": "string", + "description": "The tag name." + }, + "count": { + "$ref": "#/definitions/TagCount", + "description": "The total number of resources that use the resource tag. When a tag is initially created and has no associated resources, the value is 0." + }, + "values": { + "type": "array", + "items": { + "$ref": "#/definitions/TagValue" + }, + "description": "The list of tag values." + } + }, + "x-ms-azure-resource": true, + "description": "Tag details." + }, + "TagsListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/TagDetails" + }, + "description": "An array of tags." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to use for getting the next set of results." + } + }, + "description": "List of subscription tags." + }, + "ResourceProviderOperationDisplayProperties": { + "properties": { + "publisher": { + "type": "string", + "description": "Operation description." + }, + "provider": { + "type": "string", + "description": "Operation provider." + }, + "resource": { + "type": "string", + "description": "Operation resource." + }, + "operation": { + "type": "string", + "description": "Resource provider operation." + }, + "description": { + "type": "string", + "description": "Operation description." + } + }, + "description": "Resource provider operation's display properties." + }, + "Resource": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Resource ID" + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name" + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type" + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "Resource extended location." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "x-ms-azure-resource": true, + "description": "Specified resource." + }, + "SubResource": { + "properties": { + "id": { + "type": "string", + "description": "Resource ID" + } + }, + "x-ms-azure-resource": true, + "description": "Sub-resource." + }, + "ResourceGroupExportResult": { + "properties": { + "template": { + "type": "object", + "description": "The template content." + }, + "error": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse", + "description": "The template export error." + } + }, + "description": "Resource group export result." + }, + "Operation": { + "description": "Microsoft.Resources operation", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}", + "type": "string" + }, + "display": { + "description": "The object that represents the operation.", + "properties": { + "provider": { + "description": "Service provider: Microsoft.Resources", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed: Profile, endpoint, etc.", + "type": "string" + }, + "operation": { + "description": "Operation type: Read, write, delete, etc.", + "type": "string" + }, + "description": { + "description": "Description of the operation.", + "type": "string" + } + } + } + } + }, + "OperationListResult": { + "description": "Result of the request to list Microsoft.Resources operations. It contains a list of operations and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "description": "List of Microsoft.Resources operations." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of operation list results if there are any." + } + } + }, + "Tags": { + "description": "A dictionary of name and value pairs.", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string", + "description": "The tag value." + } + } + } + }, + "TagsPatchResource": { + "type": "object", + "description": "Wrapper resource for tags patch API request only.", + "properties": { + "operation": { + "type": "string", + "description": "The operation type for the patch API.", + "enum": [ + "Replace", + "Merge", + "Delete" + ], + "x-ms-enum": { + "name": "tagsPatchOperation", + "modelAsString": true, + "values": [ + { + "value": "Replace", + "description": "The 'replace' option replaces the entire set of existing tags with a new set." + }, + { + "value": "Merge", + "description": "The 'merge' option allows adding tags with new names and updating the values of tags with existing names." + }, + { + "value": "Delete", + "description": "The 'delete' option allows selectively deleting tags based on given names or name/value pairs." + } + ] + } + }, + "properties": { + "$ref": "#/definitions/Tags", + "description": "The set of tags." + } + } + }, + "TagsResource": { + "type": "object", + "description": "Wrapper resource for tags API requests and responses.", + "required": [ + "properties" + ], + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The ID of the tags wrapper resource." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "The name of the tags wrapper resource." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "The type of the tags wrapper resource." + }, + "properties": { + "$ref": "#/definitions/Tags", + "description": "The set of tags." + } + }, + "x-ms-azure-resource": true + }, + "ZoneMapping": { + "type": "object", + "properties": { + "location": { + "type": "string", + "description": "The location of the zone mapping." + }, + "zones": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "parameters": { + "ScopeParameter": { + "name": "scope", + "in": "path", + "required": true, + "type": "string", + "description": "The resource scope.", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true + }, + "GroupIdParameter": { + "name": "groupId", + "in": "path", + "required": true, + "type": "string", + "description": "The management group ID.", + "x-ms-parameter-location": "method", + "minLength": 1, + "maxLength": 90 + }, + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the target subscription." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for this operation." + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/subscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/subscriptions.json new file mode 100644 index 000000000000..3e83a8bd8f27 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/subscriptions.json @@ -0,0 +1,847 @@ +{ + "swagger": "2.0", + "info": { + "title": "SubscriptionClient", + "version": "2021-01-01", + "description": "All resource groups and resources exist within subscriptions. These operation enable you get information about your subscriptions and tenants. A tenant is a dedicated instance of Azure Active Directory (Azure AD) for your organization." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/locations": { + "get": { + "tags": [ + "Subscriptions" + ], + "operationId": "Subscriptions_ListLocations", + "summary": "Gets all available geo-locations.", + "description": "This operation provides all the locations that are available for resource providers; however, each resource provider may support a subset of this list.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "includeExtendedLocations", + "in": "query", + "required": false, + "type": "boolean", + "description": "Whether to include extended locations.", + "x-ms-parameter-location": "method" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of locations.", + "schema": { + "$ref": "#/definitions/LocationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "GetLocationsWithASubscriptionId": { + "$ref": "./examples/GetLocations.json" + }, + "GetLocationsWithExtendedLocations": { + "$ref": "./examples/GetLocationsWithExtendedLocations.json" + } + } + } + }, + "/subscriptions/{subscriptionId}": { + "get": { + "tags": [ + "Subscriptions" + ], + "operationId": "Subscriptions_Get", + "description": "Gets details about a specified subscription.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the subscription.", + "schema": { + "$ref": "#/definitions/Subscription" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "GetASingleSubscription": { + "$ref": "./examples/GetSubscription.json" + } + } + } + }, + "/subscriptions": { + "get": { + "tags": [ + "Subscriptions" + ], + "operationId": "Subscriptions_List", + "description": "Gets all subscriptions for a tenant.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of subscriptions.", + "schema": { + "$ref": "#/definitions/SubscriptionListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "GetAllSubscriptions": { + "$ref": "./examples/GetSubscriptions.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/tenants": { + "get": { + "tags": [ + "Tenants" + ], + "operationId": "Tenants_List", + "description": "Gets the tenants for your account.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of tenants.", + "schema": { + "$ref": "#/definitions/TenantListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "GetAllTenants": { + "$ref": "./examples/GetTenants.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/checkZonePeers/": { + "post": { + "tags": [ + "Subscriptions" + ], + "operationId": "Subscriptions_CheckZonePeers", + "description": "Compares a subscriptions logical zone mapping", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckZonePeersRequest" + }, + "description": "Parameters for checking zone peers." + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the logical availability zone mapping between subscriptions", + "schema": { + "$ref": "#/definitions/CheckZonePeersResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetLogicalZoneMapping": { + "$ref": "./examples/PostCheckZonePeers.json" + } + } + } + }, + "/providers/Microsoft.Resources/checkResourceName": { + "post": { + "tags": [ + "Tenants" + ], + "operationId": "checkResourceName", + "description": "A resource name is valid if it is not a reserved word, does not contains a reserved word and does not start with a reserved word", + "summary": "Checks resource name validity", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/CheckResourceNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns status as allowed or not.", + "schema": { + "$ref": "#/definitions/CheckResourceNameResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "CheckValidityForAResourceName": { + "$ref": "./examples/CheckResourceName.json" + } + } + } + } + }, + "definitions": { + "PairedRegion": { + "description": "Information regarding paired region.", + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the paired region." + }, + "id": { + "readOnly": true, + "type": "string", + "description": "The fully qualified ID of the location. For example, /subscriptions/00000000-0000-0000-0000-000000000000/locations/westus." + }, + "subscriptionId": { + "readOnly": true, + "type": "string", + "description": "The subscription ID." + } + } + }, + "LocationMetadata": { + "description": "Location metadata information", + "properties": { + "regionType": { + "readOnly": true, + "type": "string", + "description": "The type of the region.", + "enum": [ + "Physical", + "Logical" + ], + "x-ms-enum": { + "name": "RegionType", + "modelAsString": true + } + }, + "regionCategory": { + "readOnly": true, + "type": "string", + "description": "The category of the region.", + "enum": [ + "Recommended", + "Extended", + "Other" + ], + "x-ms-enum": { + "name": "RegionCategory", + "modelAsString": true + } + }, + "geographyGroup": { + "readOnly": true, + "type": "string", + "description": "The geography group of the location." + }, + "longitude": { + "readOnly": true, + "type": "string", + "description": "The longitude of the location." + }, + "latitude": { + "readOnly": true, + "type": "string", + "description": "The latitude of the location." + }, + "physicalLocation": { + "readOnly": true, + "type": "string", + "description": "The physical location of the Azure location." + }, + "pairedRegion": { + "type": "array", + "description": "The regions paired to this region.", + "items": { + "$ref": "#/definitions/PairedRegion" + } + }, + "homeLocation": { + "readOnly": true, + "type": "string", + "description": "The home location of an edge zone." + } + } + }, + "Location": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The fully qualified ID of the location. For example, /subscriptions/00000000-0000-0000-0000-000000000000/locations/westus." + }, + "subscriptionId": { + "readOnly": true, + "type": "string", + "description": "The subscription ID." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "The location name." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "The location type.", + "enum": [ + "Region", + "EdgeZone" + ], + "x-ms-enum": { + "name": "LocationType", + "modelAsString": false + } + }, + "displayName": { + "readOnly": true, + "type": "string", + "description": "The display name of the location." + }, + "regionalDisplayName": { + "readOnly": true, + "type": "string", + "description": "The display name of the location and its region." + }, + "metadata": { + "description": "Metadata of the location, such as lat/long, paired region, and others.", + "$ref": "#/definitions/LocationMetadata" + } + }, + "description": "Location information." + }, + "LocationListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Location" + }, + "description": "An array of locations." + } + }, + "description": "Location list operation response." + }, + "Subscription": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The fully qualified ID for the subscription. For example, /subscriptions/00000000-0000-0000-0000-000000000000." + }, + "subscriptionId": { + "readOnly": true, + "type": "string", + "description": "The subscription ID." + }, + "displayName": { + "readOnly": true, + "type": "string", + "description": "The subscription display name." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The subscription tenant ID." + }, + "state": { + "readOnly": true, + "type": "string", + "description": "The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted.", + "enum": [ + "Enabled", + "Warned", + "PastDue", + "Disabled", + "Deleted" + ], + "x-ms-enum": { + "name": "SubscriptionState", + "modelAsString": false + } + }, + "subscriptionPolicies": { + "$ref": "#/definitions/SubscriptionPolicies", + "description": "The subscription policies." + }, + "authorizationSource": { + "type": "string", + "description": "The authorization source of the request. Valid values are one or more combinations of Legacy, RoleBased, Bypassed, Direct and Management. For example, 'Legacy, RoleBased'." + }, + "managedByTenants": { + "type": "array", + "items": { + "$ref": "#/definitions/ManagedByTenant" + }, + "x-ms-identifiers": [ + "tenantId" + ], + "description": "An array containing the tenants managing the subscription." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string", + "description": "The additional properties. " + }, + "description": "The tags attached to the subscription." + } + }, + "description": "Subscription information." + }, + "SubscriptionPolicies": { + "properties": { + "locationPlacementId": { + "readOnly": true, + "type": "string", + "description": "The subscription location placement ID. The ID indicates which regions are visible for a subscription. For example, a subscription with a location placement Id of Public_2014-09-01 has access to Azure public regions." + }, + "quotaId": { + "readOnly": true, + "type": "string", + "description": "The subscription quota ID." + }, + "spendingLimit": { + "readOnly": true, + "type": "string", + "description": "The subscription spending limit.", + "enum": [ + "On", + "Off", + "CurrentPeriodOff" + ], + "x-ms-enum": { + "name": "spendingLimit", + "modelAsString": false + } + } + }, + "description": "Subscription policies." + }, + "ManagedByTenant": { + "properties": { + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant ID of the managing tenant. This is a GUID." + } + }, + "description": "Information about a tenant managing the subscription." + }, + "SubscriptionListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Subscription" + }, + "description": "An array of subscriptions." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "required": [ + "nextLink" + ], + "description": "Subscription list operation response." + }, + "TenantIdDescription": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The fully qualified ID of the tenant. For example, /tenants/00000000-0000-0000-0000-000000000000." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant ID. For example, 00000000-0000-0000-0000-000000000000." + }, + "tenantCategory": { + "readOnly": true, + "type": "string", + "description": "Category of the tenant.", + "enum": [ + "Home", + "ProjectedBy", + "ManagedBy" + ], + "x-ms-enum": { + "name": "TenantCategory", + "modelAsString": false + } + }, + "country": { + "readOnly": true, + "type": "string", + "description": "Country/region name of the address for the tenant." + }, + "countryCode": { + "readOnly": true, + "type": "string", + "description": "Country/region abbreviation for the tenant." + }, + "displayName": { + "readOnly": true, + "type": "string", + "description": "The display name of the tenant." + }, + "domains": { + "readOnly": true, + "type": "array", + "items": { + "type": "string", + "description": "The domain name for a tenant." + }, + "description": "The list of domains for the tenant." + }, + "defaultDomain": { + "readOnly": true, + "type": "string", + "description": "The default domain for the tenant." + }, + "tenantType": { + "readOnly": true, + "type": "string", + "description": "The tenant type. Only available for 'Home' tenant category." + }, + "tenantBrandingLogoUrl": { + "readOnly": true, + "type": "string", + "description": "The tenant's branding logo URL. Only available for 'Home' tenant category." + } + }, + "description": "Tenant Id information." + }, + "TenantListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/TenantIdDescription" + }, + "description": "An array of tenants." + }, + "nextLink": { + "type": "string", + "description": "The URL to use for getting the next set of results." + } + }, + "required": [ + "nextLink" + ], + "description": "Tenant Ids information." + }, + "ResourceName": { + "description": "Name and Type of the Resource", + "required": [ + "name", + "type" + ], + "properties": { + "name": { + "description": "Name of the resource", + "type": "string" + }, + "type": { + "type": "string", + "description": "The type of the resource" + } + } + }, + "CheckResourceNameResult": { + "properties": { + "name": { + "description": "Name of Resource", + "type": "string" + }, + "type": { + "description": "Type of Resource", + "type": "string" + }, + "status": { + "description": "Is the resource name Allowed or Reserved", + "type": "string", + "enum": [ + "Allowed", + "Reserved" + ], + "x-ms-enum": { + "name": "ResourceNameStatus", + "modelAsString": true + } + } + }, + "description": "Resource Name valid if not a reserved word, does not contain a reserved word and does not start with a reserved word" + }, + "CloudError": { + "x-ms-external": true, + "properties": { + "error": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + } + }, + "description": "An error response for a resource management request." + }, + "Operation": { + "description": "Microsoft.Resources operation", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}", + "type": "string" + }, + "display": { + "description": "The object that represents the operation.", + "properties": { + "provider": { + "description": "Service provider: Microsoft.Resources", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed: Profile, endpoint, etc.", + "type": "string" + }, + "operation": { + "description": "Operation type: Read, write, delete, etc.", + "type": "string" + }, + "description": { + "description": "Description of the operation.", + "type": "string" + } + } + } + } + }, + "OperationListResult": { + "description": "Result of the request to list Microsoft.Resources operations. It contains a list of operations and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "x-ms-identifiers": [ + "name" + ], + "description": "List of Microsoft.Resources operations." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of operation list results if there are any." + } + } + }, + "CheckZonePeersRequest": { + "type": "object", + "properties": { + "location": { + "type": "string", + "description": "The Microsoft location." + }, + "subscriptionIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The peer Microsoft Azure subscription ID." + } + }, + "description": "Check zone peers request parameters." + }, + "CheckZonePeersResult": { + "type": "object", + "description": "Result of the Check zone peers operation.", + "properties": { + "subscriptionId": { + "readOnly": true, + "type": "string", + "description": "The subscription ID." + }, + "location": { + "type": "string", + "description": "the location of the subscription." + }, + "availabilityZonePeers": { + "type": "array", + "items": { + "$ref": "#/definitions/AvailabilityZonePeers" + }, + "x-ms-identifiers": [ + "availabilityZone" + ], + "description": "The Availability Zones shared by the subscriptions." + } + } + }, + "AvailabilityZonePeers": { + "type": "object", + "properties": { + "availabilityZone": { + "readOnly": true, + "type": "string", + "description": "The availabilityZone." + }, + "peers": { + "type": "array", + "items": { + "$ref": "#/definitions/Peers" + }, + "x-ms-identifiers": [ + "availabilityZone", + "subscriptionId" + ], + "description": "Details of shared availability zone." + } + }, + "description": "List of availability zones shared by the subscriptions." + }, + "Peers": { + "type": "object", + "properties": { + "subscriptionId": { + "readOnly": true, + "type": "string", + "description": "The subscription ID." + }, + "availabilityZone": { + "readOnly": true, + "type": "string", + "description": "The availabilityZone." + } + }, + "description": "Information about shared availability zone." + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of the target subscription.", + "x-ms-parameter-location": "method" + }, + "CheckResourceNameParameter": { + "description": "Resource object with values for resource name and resource type", + "in": "body", + "name": "Resource Name Definition", + "schema": { + "$ref": "#/definitions/ResourceName" + }, + "x-ms-parameter-location": "method" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the operation.", + "x-ms-parameter-location": "client" + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-12-01/examples/CheckResourceName.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2022-12-01/examples/CheckResourceName.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2022-12-01/examples/CheckResourceName.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2022-12-01/examples/CheckResourceName.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-12-01/examples/GetLocations.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2022-12-01/examples/GetLocations.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2022-12-01/examples/GetLocations.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2022-12-01/examples/GetLocations.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-12-01/examples/GetLocationsWithExtendedLocations.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2022-12-01/examples/GetLocationsWithExtendedLocations.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2022-12-01/examples/GetLocationsWithExtendedLocations.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2022-12-01/examples/GetLocationsWithExtendedLocations.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-12-01/examples/GetSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2022-12-01/examples/GetSubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2022-12-01/examples/GetSubscription.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2022-12-01/examples/GetSubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-12-01/examples/GetSubscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2022-12-01/examples/GetSubscriptions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2022-12-01/examples/GetSubscriptions.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2022-12-01/examples/GetSubscriptions.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-12-01/examples/GetTenants.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2022-12-01/examples/GetTenants.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2022-12-01/examples/GetTenants.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2022-12-01/examples/GetTenants.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-12-01/examples/PostCheckZonePeers.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2022-12-01/examples/PostCheckZonePeers.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2022-12-01/examples/PostCheckZonePeers.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2022-12-01/examples/PostCheckZonePeers.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-12-01/subscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2022-12-01/subscriptions.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2022-12-01/subscriptions.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2022-12-01/subscriptions.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/templateSpecs/suppressions.yaml b/specification/resources/resource-manager/Microsoft.Resources/templateSpecs/suppressions.yaml new file mode 100644 index 000000000000..d4fc5e40c9d0 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/templateSpecs/suppressions.yaml @@ -0,0 +1,7 @@ +- tool: TypeSpecRequirement + paths: + - templateSpecs/preview/2019-06-01-preview/templateSpecs.json + - templateSpecs/preview/2021-03-01-preview/templateSpecs.json + - templateSpecs/stable/2021-05-01/templateSpecs.json + - templateSpecs/stable/2022-02-01/templateSpecs.json + reason: Brownfield service not ready to migrate \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/createOrUpdateAppliance.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2016-09-01-preview/examples/createOrUpdateAppliance.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/createOrUpdateAppliance.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2016-09-01-preview/examples/createOrUpdateAppliance.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/createOrUpdateApplianceDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2016-09-01-preview/examples/createOrUpdateApplianceDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/createOrUpdateApplianceDefinition.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2016-09-01-preview/examples/createOrUpdateApplianceDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/getAppliance.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2016-09-01-preview/examples/getAppliance.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/getAppliance.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2016-09-01-preview/examples/getAppliance.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/getApplianceDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2016-09-01-preview/examples/getApplianceDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/getApplianceDefinition.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2016-09-01-preview/examples/getApplianceDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/listApplianceDefinitionsByResourceGroup.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2016-09-01-preview/examples/listApplianceDefinitionsByResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/listApplianceDefinitionsByResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2016-09-01-preview/examples/listApplianceDefinitionsByResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/listAppliancesByResourceGroup.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2016-09-01-preview/examples/listAppliancesByResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/examples/listAppliancesByResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2016-09-01-preview/examples/listAppliancesByResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/managedapplications.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2016-09-01-preview/managedapplications.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/preview/2016-09-01-preview/managedapplications.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2016-09-01-preview/managedapplications.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/preview/2020-08-21-preview/examples/createOrUpdateApplication.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/createOrUpdateApplication.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/preview/2020-08-21-preview/examples/createOrUpdateApplication.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/createOrUpdateApplication.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/preview/2020-08-21-preview/examples/createOrUpdateApplicationDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/createOrUpdateApplicationDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/preview/2020-08-21-preview/examples/createOrUpdateApplicationDefinition.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/createOrUpdateApplicationDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/preview/2020-08-21-preview/examples/deleteApplicationDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/deleteApplicationDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/preview/2020-08-21-preview/examples/deleteApplicationDefinition.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/deleteApplicationDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/preview/2020-08-21-preview/examples/getApplication.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/getApplication.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/preview/2020-08-21-preview/examples/getApplication.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/getApplication.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/preview/2020-08-21-preview/examples/getApplicationDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/getApplicationDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/preview/2020-08-21-preview/examples/getApplicationDefinition.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/getApplicationDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/preview/2020-08-21-preview/examples/listApplicationDefinitionsByResourceGroup.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/listApplicationDefinitionsByResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/preview/2020-08-21-preview/examples/listApplicationDefinitionsByResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/listApplicationDefinitionsByResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/preview/2020-08-21-preview/examples/listApplicationsByResourceGroup.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/listApplicationsByResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/preview/2020-08-21-preview/examples/listApplicationsByResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/listApplicationsByResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/preview/2020-08-21-preview/examples/listSolutionsOperations.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/listSolutionsOperations.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/preview/2020-08-21-preview/examples/listSolutionsOperations.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/listSolutionsOperations.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/preview/2020-08-21-preview/examples/updateApplication.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/updateApplication.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/preview/2020-08-21-preview/examples/updateApplication.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/updateApplication.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/preview/2020-08-21-preview/managedapplications.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/managedapplications.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/preview/2020-08-21-preview/managedapplications.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/managedapplications.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.go.md b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.go.md new file mode 100644 index 000000000000..8140080df525 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.go.md @@ -0,0 +1,21 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +### Fix up regular expressions to support Unicode. + +``` yaml +directive: + from: swagger-document # do it globally + where: $.paths..parameters[?(@.name == "resourceGroupName" || @.name == "sourceResourceGroupName")].pattern + set: ^[-\p{L}\._\(\)\w]+$ + reason: Necessary to match Unicode characters in the Go regexp engine. +``` + +``` yaml $(go) && $(track2) && $(package-managedapplications) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armmanagedapplications +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.md b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.md new file mode 100644 index 000000000000..e56c820e6d33 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.md @@ -0,0 +1,133 @@ +# Managed Applications + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Resource. + +--- + +## Getting Started + +To build the SDK for Resource, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: + +> `autorest` + +To see additional help and options, run: + +> `autorest --help` + +--- + +## Configuration + +### Basic Information + +These are the global settings for the Resource API. + +``` yaml +title: ManagedApplicationsClient +description: Managed Applications Client +openapi-type: arm +tag: package-preview-2020-08 +``` + +### Tag: package-preview-2020-08 + +These settings apply only when `--tag=package-preview-2020-08` is specified on the command line. + +``` yaml $(tag) == 'package-preview-2020-08' +input-file: + - Microsoft.Solutions/preview/2020-08-21-preview/managedapplications.json +``` + +### Tag: package-managedapplications-2019-07 + +These settings apply only when `--tag=package-managedapplications-2019-07` is specified on the command line. + +``` yaml $(tag) == 'package-managedapplications-2019-07' +input-file: +- Microsoft.Solutions/stable/2019-07-01/managedapplications.json +``` + +### Tag: package-managedapplications-2018-06 + +These settings apply only when `--tag=package-managedapplications-2018-06` is specified on the command line. + +``` yaml $(tag) == 'package-managedapplications-2018-06' +input-file: +- Microsoft.Solutions/stable/2018-06-01/managedapplications.json +``` + +### Tag: package-managedapplications-2017-09 + +These settings apply only when `--tag=package-managedapplications-2017-09` is specified on the command line. + +``` yaml $(tag) == 'package-managedapplications-2017-09' +input-file: +- Microsoft.Solutions/stable/2017-09-01/managedapplications.json +``` + +### Tag: package-managedapplications-2016-09 + +These settings apply only when `--tag=package-managedapplications-2016-09` is specified on the command line. + +``` yaml $(tag) == 'package-managedapplications-2016-09' +input-file: +- Microsoft.Solutions/preview/2016-09-01-preview/managedapplications.json +``` + + +## Suppression + +``` yaml +directive: + - suppress: BodyTopLevelProperties + from: managedapplications.json + where: $.definitions.Appliance.properties + reason: managedBy is a top level property + - suppress: BodyTopLevelProperties + from: managedapplications.json + where: $.definitions.ApplianceDefinition.properties + reason: managedBy is a top level property + - suppress: BodyTopLevelProperties + from: managedapplications.json + where: $.definitions.AppliancePatchable.properties + reason: managedBy is a top level property + - suppress: BodyTopLevelProperties + from: managedapplications.json + where: $.definitions.GenericResource.properties + reason: managedBy is a top level property +``` + +--- + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +``` yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-net + - repo: azure-sdk-for-python + - repo: azure-sdk-for-java + - repo: azure-sdk-for-go + - repo: azure-sdk-for-node + - repo: azure-sdk-for-js + - repo: azure-resource-manager-schemas + - repo: azure-powershell +``` + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## Go + +See configuration in [readme.go.md](./readme.go.md) + +## Java + +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.nodejs.md b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.nodejs.md new file mode 100644 index 000000000000..ea4572fae198 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.nodejs.md @@ -0,0 +1,17 @@ +## Node.js + +These settings apply only when `--nodejs` is specified on the command line. +Please also specify `--node-sdks-folder=`. + +```yaml $(nodejs) +nodejs: + azure-arm: true + batch: true + package-name: azure-arm-resource + generate-license-txt: true + generate-package-json: false + generate-readme-md: false + output-folder: $(node-sdks-folder)/lib/services/resourceManagement +batch: + - package-managedapplications: true +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.python.md b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.python.md new file mode 100644 index 000000000000..51a71d3763af --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.python.md @@ -0,0 +1,34 @@ +## Python + +These settings apply only when `--python` is specified on the command line. + +``` yaml $(python) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +package-name: azure-mgmt-resource +package-version: 1.0.0b1 +no-namespace-folders: true +reformat-next-link: false +combine-operation-files: true +clear-output-folder: true +modelerfour: + lenient-model-deduplication: true +``` + +### Python batch + +```yaml $(python) +batch: + - tag: package-managedapplications-2019-07 +``` + +### Tag: package-managedapplications-2019-07 and python + +These settings apply only when `--tag=package-managedapplications-2019-07 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-managedapplications-2019-07' +title: ApplicationClient +namespace: azure.mgmt.resource.managedapplications +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/managedapplications +``` diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.ruby.md b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.ruby.md new file mode 100644 index 000000000000..7d172c6edb0b --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.ruby.md @@ -0,0 +1,52 @@ +### Ruby multi-api for managedapplications + +``` yaml $(multiapi) && $(managedapplications) +package-name: azure_mgmt_managed_applications +package-version: "0.16.0" +azure-arm: true +batch: + - tag: package-managedapplications-2019-07 + - tag: package-managedapplications-2018-06 + - tag: package-managedapplications-2017-09 + - tag: package-managedapplications-2016-09 +``` + +### Tag: package-managedapplications-2019-07 and ruby + +These settings apply only when `--tag=package-managedapplications-2019-07 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-managedapplications-2019-07' && $(ruby) +namespace: "Azure::ManagedApplications::Mgmt::V2019_07_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib +``` + +### Tag: package-managedapplications-2018-06 and ruby + +These settings apply only when `--tag=package-managedapplications-2018-06 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-managedapplications-2018-06' && $(ruby) +namespace: "Azure::ManagedApplications::Mgmt::V2018_06_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib +``` + +### Tag: package-managedapplications-2017-09 and ruby + +These settings apply only when `--tag=package-managedapplications-2017-09 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-managedapplications-2017-09' && $(ruby) +namespace: "Azure::ManagedApplications::Mgmt::V2017_09_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib +``` + +### Tag: package-managedapplications-2016-09 and ruby + +These settings apply only when `--tag=package-managedapplications-2016-09 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-managedapplications-2016-09' && $(ruby) +namespace: "Azure::ManagedApplications::Mgmt::V2016_09_01_preview" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.terraform.md b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.terraform.md new file mode 100644 index 000000000000..7e5b6a62bf1e --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.terraform.md @@ -0,0 +1,32 @@ + +## Terraform + +These settings apply only when `--terraform` is specified on the command line. + + +``` yaml $(terraform) +batch: + - package-managedapplications: true +``` + +```yaml $(terraform) && $(package-managedapplications) +terraform: + cli-name: managedApplications + package-name: managedapplications +output-folder: $(terraform-output-folder)/managedapplications +clear-output-folder: true + +overrides: + - where: + resource: "Applications" + property: "/parameters" + set: + - GoVariableName: "appParameters" + - Gen: "newgen" +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.typescript.md b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.typescript.md new file mode 100644 index 000000000000..71f3de89a30d --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.typescript.md @@ -0,0 +1,19 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +```yaml $(typescript) && !$(profile-content) +typescript: + azure-arm: true + batch: true + generate-metadata: true +batch: + - package-managedapplications: true +``` + +```yaml $(typescript) && $(package-managedapplications) && !$(profile-content) +typescript: + package-name: "@azure/arm-managedapplications" + output-folder: "$(typescript-sdks-folder)/sdk/managedapplications/arm-managedapplications" +``` diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/createOrUpdateApplication.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2017-09-01/examples/createOrUpdateApplication.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/createOrUpdateApplication.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2017-09-01/examples/createOrUpdateApplication.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/createOrUpdateApplicationDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2017-09-01/examples/createOrUpdateApplicationDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/createOrUpdateApplicationDefinition.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2017-09-01/examples/createOrUpdateApplicationDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/getApplication.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2017-09-01/examples/getApplication.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/getApplication.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2017-09-01/examples/getApplication.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/getApplicationDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2017-09-01/examples/getApplicationDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/getApplicationDefinition.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2017-09-01/examples/getApplicationDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/listApplicationDefinitionsByResourceGroup.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2017-09-01/examples/listApplicationDefinitionsByResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/listApplicationDefinitionsByResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2017-09-01/examples/listApplicationDefinitionsByResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/listApplicationsByResourceGroup.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2017-09-01/examples/listApplicationsByResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/examples/listApplicationsByResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2017-09-01/examples/listApplicationsByResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/managedapplications.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2017-09-01/managedapplications.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2017-09-01/managedapplications.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2017-09-01/managedapplications.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/createOrUpdateApplication.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/createOrUpdateApplication.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/createOrUpdateApplication.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/createOrUpdateApplication.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/createOrUpdateApplicationById.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/createOrUpdateApplicationById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/createOrUpdateApplicationById.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/createOrUpdateApplicationById.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/createOrUpdateApplicationDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/createOrUpdateApplicationDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/createOrUpdateApplicationDefinition.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/createOrUpdateApplicationDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/deleteApplication.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/deleteApplication.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/deleteApplication.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/deleteApplication.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/deleteApplicationById.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/deleteApplicationById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/deleteApplicationById.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/deleteApplicationById.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/deleteApplicationDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/deleteApplicationDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/deleteApplicationDefinition.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/deleteApplicationDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/getApplication.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/getApplication.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/getApplication.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/getApplication.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/getApplicationById.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/getApplicationById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/getApplicationById.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/getApplicationById.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/getApplicationDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/getApplicationDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/getApplicationDefinition.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/getApplicationDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/listApplicationDefinitionsByResourceGroup.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/listApplicationDefinitionsByResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/listApplicationDefinitionsByResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/listApplicationDefinitionsByResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/listApplicationsByResourceGroup.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/listApplicationsByResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/listApplicationsByResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/listApplicationsByResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/listApplicationsBySubscription.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/listApplicationsBySubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/listApplicationsBySubscription.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/listApplicationsBySubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/listSolutionsOperations.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/listSolutionsOperations.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/listSolutionsOperations.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/listSolutionsOperations.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/updateApplication.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/updateApplication.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/updateApplication.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/updateApplication.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/updateApplicationById.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/updateApplicationById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/examples/updateApplicationById.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/updateApplicationById.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/managedapplications.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/managedapplications.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2018-06-01/managedapplications.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/managedapplications.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/examples/createOrUpdateApplication.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/createOrUpdateApplication.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/examples/createOrUpdateApplication.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/createOrUpdateApplication.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/examples/createOrUpdateApplicationDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/createOrUpdateApplicationDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/examples/createOrUpdateApplicationDefinition.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/createOrUpdateApplicationDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/examples/deleteApplicationDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/deleteApplicationDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/examples/deleteApplicationDefinition.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/deleteApplicationDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/examples/getApplication.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/getApplication.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/examples/getApplication.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/getApplication.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/examples/getApplicationDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/getApplicationDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/examples/getApplicationDefinition.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/getApplicationDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/examples/listApplicationDefinitionsByResourceGroup.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/listApplicationDefinitionsByResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/examples/listApplicationDefinitionsByResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/listApplicationDefinitionsByResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/examples/listApplicationsByResourceGroup.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/listApplicationsByResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/examples/listApplicationsByResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/listApplicationsByResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/examples/listSolutionsOperations.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/listSolutionsOperations.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/examples/listSolutionsOperations.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/listSolutionsOperations.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/examples/updateApplication.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/updateApplication.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/examples/updateApplication.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/updateApplication.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/managedapplications.json b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/managedapplications.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/managedapplications.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/managedapplications.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/suppressions.yaml b/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/suppressions.yaml new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/specification/resources/resource-manager/readme.md b/specification/resources/resource-manager/readme.md index bae627943ae5..8a02a9b41b68 100644 --- a/specification/resources/resource-manager/readme.md +++ b/specification/resources/resource-manager/readme.md @@ -73,926 +73,6 @@ tag: package-changes-2022-05 tag: package-snapshots-2022-11 ``` -### Tag: package-policy-2025-03-stable - -These settings apply only when `--tag=package-policy-2025-03-stable` is specified on the command line. - -```yaml $(tag) == 'package-policy-2025-03-stable' -input-file: - - Microsoft.Authorization/stable/2025-03-01/policyAssignments.json - - Microsoft.Authorization/stable/2025-03-01/policyDefinitions.json - - Microsoft.Authorization/stable/2025-03-01/policyDefinitionVersions.json - - Microsoft.Authorization/stable/2025-03-01/policySetDefinitions.json - - Microsoft.Authorization/stable/2025-03-01/policySetDefinitionVersions.json - - Microsoft.Authorization/stable/2025-03-01/policyTokens.json - -# Needed when there is more than one input file -override-info: - title: PolicyClient -``` - -### Tag: package-policy-2025-01 - -These settings apply only when `--tag=package-policy-2025-01` is specified on the command line. - -```yaml $(tag) == 'package-policy-2025-01' -input-file: -- Microsoft.Authorization/stable/2025-01-01/policyDefinitions.json -- Microsoft.Authorization/stable/2025-01-01/policyDefinitionVersions.json -- Microsoft.Authorization/stable/2025-01-01/policySetDefinitions.json -- Microsoft.Authorization/stable/2025-01-01/policySetDefinitionVersions.json -- Microsoft.Authorization/stable/2025-01-01/policyAssignments.json - -# Needed when there is more than one input file -override-info: - title: PolicyClient -``` - -### Tag: package-policy-2024-12-preview - -These settings apply only when `--tag=package-policy-2024-12-preview` is specified on the command line. - -```yaml $(tag) == 'package-policy-2024-12-preview' -input-file: -- Microsoft.Authorization/preview/2024-12-01-preview/policyExemptions.json -- Microsoft.Authorization/preview/2024-12-01-preview/policyVariables.json -- Microsoft.Authorization/preview/2024-12-01-preview/policyVariableValues.json - -# Needed when there is more than one input file -override-info: - title: PolicyClient -``` - -### Tag: package-policy-2024-05 - -These settings apply only when `--tag=package-policy-2024-05` is specified on the command line. - -```yaml $(tag) == 'package-policy-2024-05' -input-file: -- Microsoft.Authorization/stable/2024-05-01/policyDefinitions.json -- Microsoft.Authorization/stable/2024-05-01/policyDefinitionVersions.json -- Microsoft.Authorization/stable/2024-05-01/policySetDefinitions.json -- Microsoft.Authorization/stable/2024-05-01/policySetDefinitionVersions.json -- Microsoft.Authorization/stable/2024-05-01/policyAssignments.json - -# Needed when there is more than one input file -override-info: - title: PolicyClient -``` - -### Tag: package-policy-2024-04 - -These settings apply only when `--tag=package-policy-2024-04` is specified on the command line. - -```yaml $(tag) == 'package-policy-2024-04' -input-file: - - Microsoft.Authorization/stable/2024-04-01/policyAssignments.json -``` - - -### Tag: package-policy-2023-04 - -These settings apply only when `--tag=package-policy-2023-04` is specified on the command line. - -``` yaml $(tag) == 'package-policy-2023-04' -input-file: -- Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json -- Microsoft.Authorization/stable/2023-04-01/policyDefinitions.json -- Microsoft.Authorization/stable/2023-04-01/policyDefinitionVersions.json -- Microsoft.Authorization/stable/2023-04-01/policySetDefinitions.json -- Microsoft.Authorization/stable/2023-04-01/policySetDefinitionVersions.json -- Microsoft.Authorization/stable/2023-04-01/policyAssignments.json -- Microsoft.Authorization/preview/2022-07-01-preview/policyExemptions.json -- Microsoft.Authorization/preview/2022-08-01-preview/policyVariables.json -- Microsoft.Authorization/preview/2022-08-01-preview/policyVariableValues.json - -# Needed when there is more than one input file -override-info: - title: PolicyClient -``` - -### Tag: package-policy-2023-04-only - -These settings apply only when `--tag=package-policy-2023-04-only` is specified on the command line. - -``` yaml $(tag) == 'package-policy-2023-04-only' -input-file: - - Microsoft.Authorization/stable/2023-04-01/policyDefinitions.json - - Microsoft.Authorization/stable/2023-04-01/policyDefinitionVersions.json - - Microsoft.Authorization/stable/2023-04-01/policySetDefinitions.json - - Microsoft.Authorization/stable/2023-04-01/policySetDefinitionVersions.json - - Microsoft.Authorization/stable/2023-04-01/policyAssignments.json - -# Needed when there is more than one input file -override-info: - title: PolicyClient -``` - - -### Tag: package-resources-2023-07 - -These settings apply only when `--tag=package-resources-2023-07` is specified on the command line. - -``` yaml $(tag) == 'package-resources-2023-07' -input-file: - - Microsoft.Resources/stable/2023-07-01/resources.json -``` - -### Tag: package-resources-2024-03 - -These settings apply only when `--tag=package-resources-2024-03` is specified on the command line. - -``` yaml $(tag) == 'package-resources-2024-03' -input-file: - - Microsoft.Resources/stable/2024-03-01/resources.json -``` - -### Tag: package-resources-2024-07 - -These settings apply only when `--tag=package-resources-2024-07` is specified on the command line. - -``` yaml $(tag) == 'package-resources-2024-07' -input-file: - - Microsoft.Resources/stable/2024-07-01/resources.json -``` - -### Tag: package-resources-2024-11 - -These settings apply only when `--tag=package-resources-2024-11` is specified on the command line. - -``` yaml $(tag) == 'package-resources-2024-11' -input-file: - - Microsoft.Resources/stable/2024-11-01/resources.json -``` - -### Tag: package-resources-2025-03 - -These settings apply only when `--tag=package-resources-2025-03` is specified on the command line. - -``` yaml $(tag) == 'package-resources-2025-03' -input-file: - - Microsoft.Resources/stable/2025-03-01/resources.json -``` - -### Tag: package-resources-2025-04 - -These settings apply only when `--tag=package-resources-2025-04` is specified on the command line. - -``` yaml $(tag) == 'package-resources-2025-04' -input-file: - - Microsoft.Resources/stable/2025-04-01/resources.json -``` - -### Tag: package-2022-12 - -These settings apply only when `--tag=package-2022-12` is specified on the command line. - -``` yaml $(tag) == 'package-2022-12' -input-file: - - Microsoft.Resources/stable/2022-12-01/subscriptions.json -``` - -### Tag: package-policy-2022-08-preview-only - -These settings apply only when `--tag=package-policy-2022-08-preview-only` is specified on the command line. - -``` yaml $(tag) == 'package-policy-2022-08-preview-only' -input-file: -- Microsoft.Authorization/preview/2022-08-01-preview/policyVariables.json -- Microsoft.Authorization/preview/2022-08-01-preview/policyVariableValues.json - -# Needed when there is more than one input file -override-info: - title: PolicyClient -``` - -### Tag: package-policy-2022-07-preview-only - -These settings apply only when `--tag=package-policy-2022-07-preview-only` is specified on the command line. - -``` yaml $(tag) == 'package-policy-2022-07-preview-only' -input-file: -- Microsoft.Authorization/preview/2022-07-01-preview/policyExemptions.json - -# Needed when there is more than one input file -override-info: - title: PolicyClient -``` - -### Tag: package-policy-2022-06-only - -These settings apply only when `--tag=package-policy-2022-06-only` is specified on the command line. - -``` yaml $(tag) == 'package-policy-2022-06-only' -input-file: -- Microsoft.Authorization/stable/2022-06-01/policyAssignments.json - -# Needed when there is more than one input file -override-info: - title: PolicyClient -``` - -### Tag: package-policy-2022-06 - -These settings apply only when `--tag=package-policy-2022-06` is specified on the command line. - -``` yaml $(tag) == 'package-policy-2022-06' -input-file: -- Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json -- Microsoft.Authorization/stable/2021-06-01/policyDefinitions.json -- Microsoft.Authorization/stable/2021-06-01/policySetDefinitions.json -- Microsoft.Authorization/stable/2022-06-01/policyAssignments.json -- Microsoft.Authorization/preview/2022-07-01-preview/policyExemptions.json -- Microsoft.Authorization/preview/2022-08-01-preview/policyVariables.json -- Microsoft.Authorization/preview/2022-08-01-preview/policyVariableValues.json - -# Needed when there is more than one input file -override-info: - title: PolicyClient -``` - -### Tag: package-changes-2023-03-01-preview - -These settings apply only when `--tag=package-changes-2023-03-01-preview` is specified on the command line. - -``` yaml $(tag) == 'package-changes-2023-03-01-preview' -input-file: -- Microsoft.Resources/preview/2023-03-01-preview/changes.json -``` - -### Tag: package-changes-2023-07-01-preview - -These settings apply only when `--tag=package-changes-2023-07-01-preview` is specified on the command line. - -``` yaml $(tag) == 'package-changes-2023-07-01-preview' -input-file: -- Microsoft.Resources/preview/2023-07-01-preview/changes.json -``` - -### Tag: package-changes-2024-06-01-preview - -These settings apply only when `--tag=package-changes-2024-06-01-preview` is specified on the command line. - -``` yaml $(tag) == 'package-changes-2024-06-01-preview' -input-file: -- Microsoft.Resources/preview/2024-06-01-preview/changes.json -``` - -### Tag: package-snapshots-2022-11 - -These settings apply only when `--tag=package-snapshots-2022-11` is specified on the command line. - -``` yaml $(tag) == 'package-snapshots-2022-11' -input-file: -- Microsoft.Resources/preview/2022-11-01-preview/snapshots.json -``` - -### Tag: package-databoundaries-2024-08 - -These settings apply only when `--tag=package-databoundaries-2024-08` is specified on the command line. - -``` yaml $(tag) == 'package-databoundaries-2024-08' -input-file: - - Microsoft.Resources/stable/2024-08-01/dataBoundaries.json -``` - -### Tag: package-changes-2022-05 - -These settings apply only when `--tag=package-changes-2022-05` is specified on the command line. - -``` yaml $(tag) == 'package-changes-2022-05' -input-file: -- Microsoft.Resources/stable/2022-05-01/changes.json -``` - -### Tag: package-changes-2022-03-01-preview - -These settings apply only when `--tag=package-changes-2022-03-01-preview` is specified on the command line. - -``` yaml $(tag) == 'package-changes-2022-03-01-preview' -input-file: -- Microsoft.Resources/preview/2022-03-01-preview/changes.json -``` - -### Tag: package-policy-2021-06 - -These settings apply only when `--tag=package-policy-2021-06` is specified on the command line. - -``` yaml $(tag) == 'package-policy-2021-06' -input-file: -- Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json -- Microsoft.Authorization/stable/2021-06-01/policyAssignments.json -- Microsoft.Authorization/stable/2021-06-01/policyDefinitions.json -- Microsoft.Authorization/stable/2021-06-01/policySetDefinitions.json -- Microsoft.Authorization/preview/2020-07-01-preview/policyExemptions.json -- Microsoft.Authorization/preview/2022-08-01-preview/policyVariables.json -- Microsoft.Authorization/preview/2022-08-01-preview/policyVariableValues.json - -# Needed when there is more than one input file -override-info: - title: PolicyClient -``` - -### Tag: package-policy-2021-06-only - -These settings apply only when `--tag=package-policy-2021-06-only` is specified on the command line. - -``` yaml $(tag) == 'package-policy-2021-06-only' -input-file: -- Microsoft.Authorization/stable/2021-06-01/policyAssignments.json -- Microsoft.Authorization/stable/2021-06-01/policyDefinitions.json -- Microsoft.Authorization/stable/2021-06-01/policySetDefinitions.json - -# Needed when there is more than one input file -override-info: - title: PolicyClient -``` - -### Tag: package-privatelinks-2020-05 - -These settings apply only when `--tag=package-privatelinks-2020-05` is specified on the command line. - -``` yaml $(tag) == 'package-privatelinks-2020-05' -input-file: -- Microsoft.Authorization/stable/2020-05-01/privateLinks.json -``` - -### Tag: package-locks-2020-05 - -These settings apply only when `--tag=package-locks-2020-05` is specified on the command line. - -``` yaml $(tag) == 'package-locks-2020-05' -input-file: -- Microsoft.Authorization/stable/2020-05-01/locks.json -``` - -### Tag: package-resources-2022-09 - -These settings apply only when `--tag=package-resources-2022-09` is specified on the command line. - -``` yaml $(tag) == 'package-resources-2022-09' -input-file: -- Microsoft.Resources/stable/2022-09-01/resources.json -``` - -### Tag: package-policy-2020-09 - -These settings apply only when `--tag=package-policy-2020-09` is specified on the command line. - -``` yaml $(tag) == 'package-policy-2020-09' -input-file: -- Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json -- Microsoft.Authorization/stable/2020-09-01/policyAssignments.json -- Microsoft.Authorization/stable/2020-09-01/policyDefinitions.json -- Microsoft.Authorization/stable/2020-09-01/policySetDefinitions.json -- Microsoft.Authorization/preview/2020-07-01-preview/policyExemptions.json - -# Needed when there is more than one input file -override-info: - title: PolicyClient -``` - -### Tag: package-policy-2020-09-only - -These settings apply only when `--tag=package-policy-2020-09-only` is specified on the command line. - -``` yaml $(tag) == 'package-policy-2020-09-only' -input-file: -- Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json -- Microsoft.Authorization/stable/2020-09-01/policyAssignments.json -- Microsoft.Authorization/stable/2020-09-01/policyDefinitions.json -- Microsoft.Authorization/stable/2020-09-01/policySetDefinitions.json - -# Needed when there is more than one input file -override-info: - title: PolicyClient -``` - -### Tag: package-locks-2017-04 - -These settings apply only when `--tag=package-locks-2017-04` is specified on the command line. - -``` yaml $(tag) == 'package-locks-2017-04' -input-file: -- Microsoft.Authorization/stable/2017-04-01/locks.json -``` - -### Tag: package-preview-2020-08 - -These settings apply only when `--tag=package-preview-2020-08` is specified on the command line. - -``` yaml $(tag) == 'package-preview-2020-08' -input-file: - - Microsoft.Solutions/preview/2020-08-21-preview/managedapplications.json -``` - -### Tag: package-subscriptions-2022-12 - -These settings apply only when `--tag=package-subscriptions-2022-12` is specified on the command line. - -``` yaml $(tag) == 'package-subscriptions-2022-12' -input-file: -- Microsoft.Resources/stable/2022-12-01/subscriptions.json -``` - -### Tag: package-subscriptions-2021-01 - -These settings apply only when `--tag=package-subscriptions-2021-01` is specified on the command line. - -``` yaml $(tag) == 'package-subscriptions-2021-01' -input-file: -- Microsoft.Resources/stable/2021-01-01/subscriptions.json -``` - - - -### Tag: package-features-2021-07 - -These settings apply only when `--tag=package-features-2021-07` is specified on the command line. - -``` yaml $(tag) == 'package-features-2021-07' -input-file: -- Microsoft.Features/stable/2021-07-01/features.json -- Microsoft.Features/stable/2021-07-01/SubscriptionFeatureRegistration.json - -# Needed when there is more than one input file -override-info: - title: FeatureClient -``` - -### Tag: package-features-2015-12 - -These settings apply only when `--tag=package-features-2015-12` is specified on the command line. - -``` yaml $(tag) == 'package-features-2015-12' -input-file: -- Microsoft.Features/stable/2015-12-01/features.json -``` - -### Tag: package-locks-2016-09 - -These settings apply only when `--tag=package-locks-2016-09` is specified on the command line. - -``` yaml $(tag) == 'package-locks-2016-09' -input-file: -- Microsoft.Authorization/stable/2016-09-01/locks.json -``` - -### Tag: package-locks-2015-01 - -These settings apply only when `--tag=package-locks-2015-01` is specified on the command line. - -``` yaml $(tag) == 'package-locks-2015-01' -input-file: -- Microsoft.Authorization/stable/2015-01-01/locks.json -``` - -### Tag: package-policy-2020-03 - -These settings apply only when `--tag=package-policy-2020-03` is specified on the command line. - -``` yaml $(tag) == 'package-policy-2020-03' -input-file: -- Microsoft.Authorization/stable/2020-03-01/policyAssignments.json -- Microsoft.Authorization/stable/2020-03-01/policyDefinitions.json -- Microsoft.Authorization/stable/2020-03-01/policySetDefinitions.json -- Microsoft.Authorization/preview/2020-07-01-preview/policyExemptions.json - -# Needed when there is more than one input file -override-info: - title: PolicyClient -``` - -### Tag: package-policy-2020-07-preview-only - -These settings apply only when `--tag=package-policy-2020-07-preview-only` is specified on the command line. - -``` yaml $(tag) == 'package-policy-2020-07-preview-only' -input-file: -- Microsoft.Authorization/preview/2020-07-01-preview/policyExemptions.json - -# Needed when there is more than one input file -override-info: - title: PolicyClient -``` - -### Tag: package-policy-2019-09 - -These settings apply only when `--tag=package-policy-2019-09` is specified on the command line. - -``` yaml $(tag) == 'package-policy-2019-09' -input-file: -- Microsoft.Authorization/stable/2019-09-01/policyAssignments.json -- Microsoft.Authorization/stable/2019-09-01/policyDefinitions.json -- Microsoft.Authorization/stable/2019-09-01/policySetDefinitions.json - -# Needed when there is more than one input file -override-info: - title: PolicyClient -``` - -### Tag: package-policy-2019-06 - -These settings apply only when `--tag=package-policy-2019-06` is specified on the command line. - -``` yaml $(tag) == 'package-policy-2019-06' -input-file: -- Microsoft.Authorization/stable/2019-06-01/policyAssignments.json -- Microsoft.Authorization/stable/2019-06-01/policyDefinitions.json -- Microsoft.Authorization/stable/2019-06-01/policySetDefinitions.json - -# Needed when there is more than one input file -override-info: - title: PolicyClient -``` - -### Tag: package-policy-2019-01 - -These settings apply only when `--tag=package-policy-2019-01` is specified on the command line. - -``` yaml $(tag) == 'package-policy-2019-01' -input-file: -- Microsoft.Authorization/stable/2019-01-01/policyAssignments.json -- Microsoft.Authorization/stable/2019-01-01/policyDefinitions.json -- Microsoft.Authorization/stable/2019-01-01/policySetDefinitions.json - -# Needed when there is more than one input file -override-info: - title: PolicyClient -``` - -### Tag: package-policy-2018-05 - -These settings apply only when `--tag=package-policy-2018-05` is specified on the command line. - -``` yaml $(tag) == 'package-policy-2018-05' -input-file: -- Microsoft.Authorization/stable/2018-05-01/policyAssignments.json -- Microsoft.Authorization/stable/2018-05-01/policyDefinitions.json -- Microsoft.Authorization/stable/2018-05-01/policySetDefinitions.json - -# Needed when there is more than one input file -override-info: - title: PolicyClient -``` - -### Tag: package-policy-2018-03 - -These settings apply only when `--tag=package-policy-2018-03` is specified on the command line. - -``` yaml $(tag) == 'package-policy-2018-03' -input-file: -- Microsoft.Authorization/stable/2018-03-01/policyAssignments.json -- Microsoft.Authorization/stable/2018-03-01/policyDefinitions.json -- Microsoft.Authorization/stable/2018-03-01/policySetDefinitions.json - -# Needed when there is more than one input file -override-info: - title: PolicyClient -``` - -### Tag: package-policy-2017-06 - -These settings apply only when `--tag=package-policy-2017-06` is specified on the command line. - -``` yaml $(tag) == 'package-policy-2017-06' -input-file: -- Microsoft.Authorization/preview/2017-06-01-preview/policyAssignments.json -- Microsoft.Authorization/preview/2017-06-01-preview/policySetDefinitions.json -- Microsoft.Authorization/stable/2016-12-01/policyDefinitions.json - -# Needed when there is more than one input file -override-info: - title: PolicyClient -``` - -### Tag: package-pure-policy-2017-06 - -These settings apply only when `--tag=package-pure-policy-2017-06` is specified on the command line. - -``` yaml $(tag) == 'package-pure-policy-2017-06' -input-file: -- Microsoft.Authorization/preview/2017-06-01-preview/policyAssignments.json -- Microsoft.Authorization/preview/2017-06-01-preview/policySetDefinitions.json - -# Needed when there is more than one input file -override-info: - title: PolicyClient -``` - -### Tag: package-policy-2017-06-preview-only - -These settings apply only when `--tag=package-policy-2017-06-preview-only` is specified on the command line. - -``` yaml $(tag) == 'package-policy-2017-06-preview-only' -input-file: -- Microsoft.Authorization/preview/2017-06-01-preview/policyAssignments.json -- Microsoft.Authorization/preview/2017-06-01-preview/policySetDefinitions.json - -# Needed when there is more than one input file -override-info: - title: PolicyClient -``` - - - - - - - -### Tag: package-policy-2016-12 - -These settings apply only when `--tag=package-policy-2016-12` is specified on the command line. - -``` yaml $(tag) == 'package-policy-2016-12' -input-file: -- Microsoft.Authorization/stable/2016-12-01/policyDefinitions.json -- Microsoft.Authorization/stable/2016-12-01/policyAssignments.json - -# Needed when there is more than one input file -override-info: - title: PolicyClient -``` - -### Tag: package-policy-2016-04 - -These settings apply only when `--tag=package-policy-2016-04` is specified on the command line. - -``` yaml $(tag) == 'package-policy-2016-04' -input-file: -- Microsoft.Authorization/stable/2016-04-01/policy.json -``` - -### Tag: package-policy-2015-10 - -These settings apply only when `--tag=package-policy-2015-10` is specified on the command line. - -``` yaml $(tag) == 'package-policy-2015-10' -input-file: -- Microsoft.Authorization/preview/2015-10-01-preview/policy.json -``` - -### Tag: package-resources-2021-04 - -These settings apply only when `--tag=package-resources-2021-04` is specified on the command line. - -``` yaml $(tag) == 'package-resources-2021-04' -input-file: -- Microsoft.Resources/stable/2021-04-01/resources.json -``` - -### Tag: package-resources-2021-01 - -These settings apply only when `--tag=package-resources-2021-01` is specified on the command line. - -``` yaml $(tag) == 'package-resources-2021-01' -input-file: -- Microsoft.Resources/stable/2021-01-01/resources.json -``` - -### Tag: package-resources-2020-10 - -These settings apply only when `--tag=package-resources-2020-10` is specified on the command line. - -``` yaml $(tag) == 'package-resources-2020-10' -input-file: - - Microsoft.Resources/stable/2020-10-01/resources.json -``` - -### Tag: package-resources-2020-08 - -These settings apply only when `--tag=package-resources-2020-08` is specified on the command line. - -``` yaml $(tag) == 'package-resources-2020-08' -input-file: - - Microsoft.Resources/stable/2020-08-01/resources.json -``` - -### Tag: package-resources-2020-06 - -These settings apply only when `--tag=package-resources-2020-06` is specified on the command line. - -``` yaml $(tag) == 'package-resources-2020-06' -input-file: -- Microsoft.Resources/stable/2020-06-01/resources.json -``` - -### Tag: package-resources-2019-10 - -These settings apply only when `--tag=package-resources-2019-10` is specified on the command line. - -``` yaml $(tag) == 'package-resources-2019-10' -input-file: -- Microsoft.Resources/stable/2019-10-01/resources.json -``` - -### Tag: package-resources-2019-08 - -These settings apply only when `--tag=package-resources-2019-08` is specified on the command line. - -``` yaml $(tag) == 'package-resources-2019-08' -input-file: -- Microsoft.Resources/stable/2019-08-01/resources.json -``` - -### Tag: package-resources-2019-07 - -These settings apply only when `--tag=package-resources-2019-07` is specified on the command line. - -``` yaml $(tag) == 'package-resources-2019-07' -input-file: -- Microsoft.Resources/stable/2019-07-01/resources.json -``` - -### Tag: package-resources-2019-0510 - -These settings apply only when `--tag=package-resources-2019-0510` is specified on the command line. - -``` yaml $(tag) == 'package-resources-2019-0510' -input-file: -- Microsoft.Resources/stable/2019-05-10/resources.json -``` - -### Tag: package-resources-2019-05 - -These settings apply only when `--tag=package-resources-2019-05` is specified on the command line. - -``` yaml $(tag) == 'package-resources-2019-05' -input-file: -- Microsoft.Resources/stable/2019-05-01/resources.json -``` - -### Tag: package-resources-2019-03 - -These settings apply only when `--tag=package-resources-2019-03` is specified on the command line. - -``` yaml $(tag) == 'package-resources-2019-03' -input-file: -- Microsoft.Resources/stable/2019-03-01/resources.json -``` - -### Tag: package-resources-2018-05 - -These settings apply only when `--tag=package-resources-2018-05` is specified on the command line. - -``` yaml $(tag) == 'package-resources-2018-05' -input-file: -- Microsoft.Resources/stable/2018-05-01/resources.json -``` - -### Tag: package-resources-2018-02 - -These settings apply only when `--tag=package-resources-2018-02` is specified on the command line. - -``` yaml $(tag) == 'package-resources-2018-02' -input-file: -- Microsoft.Resources/stable/2018-02-01/resources.json -``` - -### Tag: package-resources-2017-05 - -These settings apply only when `--tag=package-resources-2017-05` is specified on the command line. - -``` yaml $(tag) == 'package-resources-2017-05' -input-file: -- Microsoft.Resources/stable/2017-05-10/resources.json -``` - -### Tag: package-resources-2016-09 - -These settings apply only when `--tag=package-resources-2016-09` is specified on the command line. - -``` yaml $(tag) == 'package-resources-2016-09' -input-file: -- Microsoft.Resources/stable/2016-09-01/resources.json -``` - -### Tag: package-resources-2016-07 - -These settings apply only when `--tag=package-resources-2016-07` is specified on the command line. - -``` yaml $(tag) == 'package-resources-2016-07' -input-file: -- Microsoft.Resources/stable/2016-07-01/resources.json -``` - -### Tag: package-resources-2016-02 - -These settings apply only when `--tag=package-resources-2016-02` is specified on the command line. - -``` yaml $(tag) == 'package-resources-2016-02' -input-file: -- Microsoft.Resources/stable/2016-02-01/resources.json -``` - -### Tag: package-resources-2015-11 - -These settings apply only when `--tag=package-resources-2015-11` is specified on the command line. - -``` yaml $(tag) == 'package-resources-2015-11' -input-file: -- Microsoft.Resources/stable/2015-11-01/resources.json -``` - -### Tag: package-subscriptions-2020-01 - -These settings apply only when `--tag=package-subscriptions-2020-01` is specified on the command line. - -``` yaml $(tag) == 'package-subscriptions-2020-01' -input-file: - - Microsoft.Resources/stable/2020-01-01/subscriptions.json -``` - -### Tag: package-subscriptions-2019-11 - -These settings apply only when `--tag=package-subscriptions-2019-11` is specified on the command line. - -``` yaml $(tag) == 'package-subscriptions-2019-11' -input-file: -- Microsoft.Resources/stable/2019-11-01/subscriptions.json -``` - -### Tag: package-subscriptions-2019-06 - -These settings apply only when `--tag=package-subscriptions-2019-06` is specified on the command line. - -``` yaml $(tag) == 'package-subscriptions-2019-06' -input-file: -- Microsoft.Resources/stable/2019-06-01/subscriptions.json -``` - -### Tag: package-subscriptions-2018-06 - -These settings apply only when `--tag=package-subscriptions-2018-06` is specified on the command line. - -``` yaml $(tag) == 'package-subscriptions-2018-06' -input-file: -- Microsoft.Resources/stable/2018-06-01/subscriptions.json -``` - -### Tag: package-subscriptions-2016-06 - -These settings apply only when `--tag=package-subscriptions-2016-06` is specified on the command line. - -``` yaml $(tag) == 'package-subscriptions-2016-06' -input-file: -- Microsoft.Resources/stable/2016-06-01/subscriptions.json -``` - -### Tag: package-subscriptions-2015-11 - -These settings apply only when `--tag=package-subscriptions-2015-11` is specified on the command line. - -``` yaml $(tag) == 'package-subscriptions-2015-11' -input-file: -- Microsoft.Resources/stable/2015-11-01/subscriptions.json -``` - -### Tag: package-links-2016-09 - -These settings apply only when `--tag=package-links-2016-09` is specified on the command line. - -``` yaml $(tag) == 'package-links-2016-09' -input-file: -- Microsoft.Resources/stable/2016-09-01/links.json -``` - -### Tag: package-managedapplications-2019-07 - -These settings apply only when `--tag=package-managedapplications-2019-07` is specified on the command line. - -``` yaml $(tag) == 'package-managedapplications-2019-07' -input-file: -- Microsoft.Solutions/stable/2019-07-01/managedapplications.json -``` - -### Tag: package-managedapplications-2018-06 - -These settings apply only when `--tag=package-managedapplications-2018-06` is specified on the command line. - -``` yaml $(tag) == 'package-managedapplications-2018-06' -input-file: -- Microsoft.Solutions/stable/2018-06-01/managedapplications.json -``` - -### Tag: package-managedapplications-2017-09 - -These settings apply only when `--tag=package-managedapplications-2017-09` is specified on the command line. - -``` yaml $(tag) == 'package-managedapplications-2017-09' -input-file: -- Microsoft.Solutions/stable/2017-09-01/managedapplications.json -``` - -### Tag: package-managedapplications-2016-09 - -These settings apply only when `--tag=package-managedapplications-2016-09` is specified on the command line. - -``` yaml $(tag) == 'package-managedapplications-2016-09' -input-file: -- Microsoft.Solutions/preview/2016-09-01-preview/managedapplications.json -``` - ### Tag: profile-hybrid-2019-03-01 These settings apply only when `--tag=profile-hybrid-2019-03-01` is specified on the command line. @@ -1010,506 +90,6 @@ override-info: title: PolicyClient ``` -## Suppression - -``` yaml -directive: - - suppress: UniqueResourcePaths - from: policySetDefinitions.json - reason: policy set definition under an extension resource with Microsoft.Management - - suppress: UniqueResourcePaths - from: resources.json - where: $.paths - reason: route definitions under an extension resource with Microsoft.Management - - suppress: UniqueResourcePaths - from: policyDefinitions.json - reason: policy definition under an extension resource with Microsoft.Management - - suppress: UniqueResourcePaths - from: policyAssignments.json - reason: policy assignment under an extension resource with Microsoft.Management - - suppress: UniqueResourcePaths - from: policyExemptions.json - where: $.paths - reason: policy exemption under an extension resource with Microsoft.Management - - suppress: OperationsAPIImplementation - from: policyAssignments.json - reason: operation APIs for Microsoft.Authorization are to be defined in RBAC swagger - - suppress: OperationsAPIImplementation - from: privateLinks.json - where: $.paths - reason: operation APIs for Microsoft.Authorization are to be defined in RBAC swagger - - suppress: OperationsAPIImplementation - from: policyDefinitions.json - reason: operation APIs for Microsoft.Authorization are to be defined in RBAC swagger - - suppress: OperationsAPIImplementation - from: policyDefinitionVersions.json - reason: operation APIs for Microsoft.Authorization are to be defined in RBAC swagger - - suppress: OperationsAPIImplementation - from: policySetDefinitions.json - reason: operation APIs for Microsoft.Authorization are to be defined in RBAC swagger - - suppress: OperationsAPIImplementation - from: policySetDefinitionVersions.json - reason: operation APIs for Microsoft.Authorization are to be defined in RBAC swagger - - suppress: OperationsAPIImplementation - from: policyExemptions.json - reason: operation APIs for Microsoft.Authorization are to be defined in RBAC swagger - - suppress: OperationsAPIImplementation - from: policyVariables.json - reason: operation APIs for Microsoft.Authorization are to be defined in RBAC swagger - - suppress: OperationsAPIImplementation - from: policyVariableValues.json - reason: operation APIs for Microsoft.Authorization are to be defined in RBAC swagger - - suppress: BodyTopLevelProperties - from: policyAssignments.json - reason: Currently systemData is not allowed. Lint bug - collection GET result contains value and nextLink properties. - - suppress: BodyTopLevelProperties - from: policyDefinitions.json - reason: Currently systemData is not allowed. Lint bug - collection GET result contains value and nextLink properties. - - suppress: BodyTopLevelProperties - from: policyDefinitionVersions.json - reason: Currently systemData is not allowed. Lint bug - collection GET result contains value and nextLink properties. - - suppress: BodyTopLevelProperties - from: policySetDefinitions.json - reason: Currently systemData is not allowed. Lint bug - collection GET result contains value and nextLink properties. - - suppress: BodyTopLevelProperties - from: policySetDefinitionVersions.json - reason: Currently systemData is not allowed. Lint bug - collection GET result contains value and nextLink properties. - - suppress: BodyTopLevelProperties - from: policyExemptions.json - where: $.definitions.PolicyExemption.properties - reason: Currently systemData is not allowed - - suppress: BodyTopLevelProperties - from: resources.json - where: $.definitions.ResourceGroup.properties - reason: managedBy is a top level property - - suppress: BodyTopLevelProperties - from: resources.json - where: $.definitions.GenericResource.properties - reason: managedBy is a top level property - - suppress: BodyTopLevelProperties - from: resources.json - where: $.definitions.GenericResourceExpanded.properties - reason: 'createdTime,changedTime & provisioningState are top-level properties' - - suppress: BodyTopLevelProperties - from: resources.json - where: $.definitions.TagDetails.properties - reason: TagDetails is a top level property - - suppress: BodyTopLevelProperties - from: resources.json - where: $.definitions.TagValue.properties - reason: TagValue is a top level property - - suppress: RequiredPropertiesMissingInResourceModel - from: resources.json - where: $.definitions.TagValue - reason: TagValue will be deprecated soon - - suppress: RequiredPropertiesMissingInResourceModel - from: resources.json - where: $.definitions.TagDetails - reason: TagDetails will be deprecated soon - - suppress: XmsResourceInPutResponse - from: resources.json - where: '$.paths["/subscriptions/{subscriptionId}/tagNames/{tagName}"].put' - reason: TagDetails is not an Azure resource - - suppress: BodyTopLevelProperties - from: managedapplications.json - where: $.definitions.Appliance.properties - reason: managedBy is a top level property - - suppress: BodyTopLevelProperties - from: managedapplications.json - where: $.definitions.ApplianceDefinition.properties - reason: managedBy is a top level property - - suppress: BodyTopLevelProperties - from: managedapplications.json - where: $.definitions.AppliancePatchable.properties - reason: managedBy is a top level property - - suppress: BodyTopLevelProperties - from: managedapplications.json - where: $.definitions.GenericResource.properties - reason: managedBy is a top level property - - suppress: OperationsAPIImplementation - where: $.paths - from: dataPolicyManifests.json - reason: operation APIs for Microsoft.Authorization are to be defined in RBAC swagger - - suppress: EnumInsteadOfBoolean - where: $.definitions.DataManifestCustomResourceFunctionDefinition.properties.allowCustomProperties - from: dataPolicyManifests.json - reason: 'This property can only have two values. ' - - suppress: EnumInsteadOfBoolean - where: $.definitions.DataPolicyManifestProperties.properties.isBuiltInOnly - from: dataPolicyManifests.json - reason: 'This property can only have two values. ' - - suppress: PageableOperation - where: '$.paths["/providers/Microsoft.Authorization/dataPolicyManifests"].get' - from: dataPolicyManifests.json - reason: Pagination not supported. The size of the result list is pretty limited - - suppress: DescriptionAndTitleMissing - where: $.definitions.AliasPathMetadata - from: resources.json - reason: This was already checked in - not my code - - suppress: TopLevelResourcesListByResourceGroup - from: policyDefinitions.json - reason: Policy definitions are a proxy resource that is only usable on subscriptions or management groups - - suppress: TopLevelResourcesListByResourceGroup - from: policyVariables.json - reason: Policy variables are a proxy resource that is only usable on subscriptions or management groups - - suppress: TopLevelResourcesListByResourceGroup - from: policyVariableValues.json - reason: Policy variable values are a proxy resource that is only usable on subscriptions or management groups - - suppress: TopLevelResourcesListByResourceGroup - from: policySetDefinitions.json - reason: Policy set definitions are a proxy resource that is only usable on subscriptions or management groups - - suppress: RequiredReadOnlySystemData - from: privateLinks.json - reason: We do not yet support system data - - from: SubscriptionFeatureRegistration.json - suppress: R4009 - reason: Currently systemData is not allowed - - from: Subscriptions.json - suppress: OperationsAPIImplementation - reason: 'Duplicate Operations API causes generation issues' - - suppress: TopLevelResourcesListByResourceGroup - from: privateLinks.json - reason: The resource is managed in a management group level (instead of inside a resource group) - - suppress: TopLevelResourcesListBySubscription - from: changes.json - reason: We will be pushing customers to use Azure Resource Graph for those at scale scenarios. - - from: changes.json - suppress: OperationsAPIImplementation - where: $.paths - reason: 'Duplicate Operations API causes generation issues' - - from: snapshots.json - suppress: OperationsAPIImplementation - where: $.paths - reason: 'Duplicate Operations API causes generation issues' - - suppress: TopLevelResourcesListBySubscription - from: snapshots.json - reason: We will be pushing customers to use Azure Resource Graph for those at scale scenarios. - - suppress: RequiredReadOnlySystemData - from: changes.json - reason: System Metadata from a change resource perspective is irrelevant - - suppress: ResourceNameRestriction - from: changes.json - reason: change resources cannot be created or named by end users - - from: changes.json - suppress: OperationsAPIImplementation - reason: Duplicate Operations API causes generation issues - - from: resources.json - suppress: R4009 - where: - - '$.paths["/{scope}/providers/Microsoft.Resources/tags/default"].put' - - '$.paths["/{scope}/providers/Microsoft.Resources/tags/default"].patch' - - '$.paths["/{scope}/providers/Microsoft.Resources/tags/default"].get' - reason: The tags API does not support system data - - suppress: XMS_EXAMPLE_NOTFOUND_ERROR - where: $.paths - from: resources.json - reason: Pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: LRO_RESPONSE_HEADER - reason: Pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: OperationsApiResponseSchema - from: resources.json - reason: Pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: OperationsApiSchemaUsesCommonTypes - from: resources.json - reason: Pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: NoDuplicatePathsForScopeParameter - from: resources.json - reason: Pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: LroLocationHeader - from: resources.json - reason: Pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: LroErrorContent - from: resources.json - reason: Pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: NoErrorCodeResponses - from: resources.json - reason: Pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: PutRequestResponseSchemeArm - from: resources.json - reason: Pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: PutResponseSchemaDescription - from: resources.json - reason: Pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: PostOperationAsyncResponseValidation - from: resources.json - reason: Pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: MissingXmsErrorResponse - from: resources.json - reason: Pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: PathForPutOperation - from: resources.json - reason: Pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: PathResourceProviderMatchNamespace - from: resources.json - reason: Pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: ParametersOrder - from: resources.json - reason: Pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: SyncPostReturn - from: resources.json - reason: Pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: PathContainsResourceType - from: resources.json - reason: Pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: OperationIdNounVerb - from: resources.json - reason: Pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: PathForResourceAction - from: resources.json - reason: Pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: UnSupportedPatchProperties - from: resources.json - reason: Pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: LroPostReturn - from: resources.json - reason: Pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: ProvisioningStateSpecifiedForLROPut - from: resources.json - reason: Pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: ProvisioningStateSpecifiedForLROPatch - from: resources.json - reason: Pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: SubscriptionsAndResourceGroupCasing - from: resources.json - reason: Pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: ResourceNameRestriction - from: resources.json - reason: Pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: ConsistentPatchProperties - from: resources.json - reason: Pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: GetCollectionOnlyHasValueAndNextLink - from: resources.json - reason: Pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: MissingTypeObject - from: resources.json - reason: Pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: TrackedResourcePatchOperation - from: resources.json - reason: Pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: IntegerTypeMustHaveFormat - from: resources.json - reason: Pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: BodyTopLevelProperties - from: resources.json - reason: Pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: TopLevelResourcesListBySubscription - from: resources.json - reason: Pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: XmsParameterLocation - from: resources.json - reason: Pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: PathForTrackedResourceTypes - from: resources.json - reason: Not a tracked resource type. Cannot change anything due to design philosophy in ARM. - - suppress: PathForTrackedResourceTypes - from: policyAssignments.json - reason: Not a tracked resource type. The API has never been changed since inception. Would be a breaking change. - - suppress: PostResponseCodes - from: resources.json - reason: Breaking change in order to change the API response code. - - suppress: TenantLevelAPIsNotAllowed - from: resources.json - reason: Tenant level API's are allowed as an exception in ARM repo. It is a breaking change to modify it. - - suppress: TenantLevelAPIsNotAllowed - from: policyDefinitions.json - reason: Linter rule limitation. The API has always supported management group scope. - - suppress: TenantLevelAPIsNotAllowed - from: policyDefinitionVersions.json - reason: Linter rule limitation. The API has always supported management group scope. - - suppress: TenantLevelAPIsNotAllowed - from: policySetDefinitions.json - reason: Linter rule limitation. The API has always supported management group scope. - - suppress: TenantLevelAPIsNotAllowed - from: policySetDefinitionVersions.json - reason: Linter rule limitation. The API has always supported management group scope. - - suppress: TenantLevelAPIsNotAllowed - from: policyAssignments.json - reason: Linter rule limitation. The API has always supported management group scope. - - suppress: TenantLevelAPIsNotAllowed - from: policyExemptions.json - reason: Linter rule limitation. The API has always supported management group scope. - - suppress: TenantLevelAPIsNotAllowed - from: policyVariables.json - reason: Linter rule limitation. The API has always supported management group scope. - - suppress: TenantLevelAPIsNotAllowed - from: policyVariableValues.json - reason: Linter rule limitation. The API has always supported management group scope. - - suppress: XmsPageableForListCalls - from: resources.json - reason: Shared swagger with other teams. We cannot make changes to the API as we don't own it. - - suppress: EvenSegmentedPathForPutOperation - from: resources.json - reason: Linter rule limitation. The API has never been changed since inception. Would be a breaking change. - - suppress: EvenSegmentedPathForPutOperation - from: policyAssignments.json - reason: Linter rule limitation. The API has never been changed since inception. Would be a breaking change. - - suppress: DeleteResponseCodes - from: resources.json - reason: Breaking change in order to change the API response code. - - suppress: PutResponseCodes - from: resources.json - reason: Breaking change in order to change the API response code. - - suppress: PutResponseCodes - from: policyDefinitions.json - reason: Linter rule limitation. The API has never been changed since inception. Would be a breaking change. - - suppress: PutResponseCodes - from: policySetDefinitions.json - reason: Linter rule limitation. The API has never been changed since inception. Would be a breaking change. - - suppress: PutResponseCodes - from: policyAssignments.json - reason: Linter rule limitation. The API has never been changed since inception. Would be a breaking change. - - suppress: AvoidAdditionalProperties - from: resources.json - reason: Breaking change in order to change the property names for multiple API's. Will fix in the future. - - suppress: AvoidAdditionalProperties - from: changes.json - reason: "Change properties including the dictionary of individual property changes are dynamic types. where clause is not working on all parent fields using this property bag, hence we're suppressing the entire file for now." - - suppress: AvoidAdditionalProperties - from: policyDefinitions.json - reason: Linter rule limitation. The API has never been changed since inception. Would be a breaking change. - - suppress: AvoidAdditionalProperties - from: policyDefinitionVersions.json - reason: Linter rule limitation. The API has never been changed since inception. Would be a breaking change. - - suppress: AvoidAdditionalProperties - from: policySetDefinitions.json - reason: Linter rule limitation. The API has never been changed since inception. Would be a breaking change. - - suppress: AvoidAdditionalProperties - from: policySetDefinitionVersions.json - reason: Linter rule limitation. The API has never been changed since inception. Would be a breaking change. - - suppress: AvoidAdditionalProperties - from: policyAssignments.json - reason: Linter rule limitation. The API has never been changed since inception. Would be a breaking change. - - suppress: XmsExamplesRequired - from: resources.json - reason: Xms Examples required is a pre-existing lint error. Not related to this version release. Will fix in the future. - - suppress: RequiredReadOnlySystemData - from: resources.json - reason: Pre-existing lint error. Not related to this version release. Will fix in the future - - suppress: PathForPutOperation - from: policyDefinitions.json - reason: Policy definitions can be created at management group or subscriptions - - suppress: PathForPutOperation - from: policySetDefinitions.json - reason: Policy sets can be created at management group or subscriptions - - suppress: PathForPutOperation - from: policyAssignments.json - reason: Policy assignments can be created at management group or subscriptions - - suppress: PathForPutOperation - from: policyDefinitionVersions.json - reason: Policy definition versions can be created at management group or subscriptions - - suppress: PathForPutOperation - from: policySetDefinitionVersions.json - reason: Policy set versions can be created at management group or subscriptions - - suppress: DeleteResponseBodyEmpty - from: policyAssignments.json - reason: Policy assignment body is returned on delete and this must match API - - suppress: RequestSchemaForTrackedResourcesMustHaveTags - from: policyAssignments.json - reason: Policy assignments are not tracked resources - - suppress: RepeatedPathInfo - from: policyAssignments.json - reason: Service requires the scope to be in the body - - suppress: PutResponseSchemaDescription - from: policyAssignments.json - reason: Service only returns 201 on all successful PUTs - - suppress: PutResponseSchemaDescription - from: policyDefinitions.json - reason: Service only returns 201 on all successful PUTs - - suppress: PutResponseSchemaDescription - from: policySetDefinitions.json - reason: Service only returns 201 on all successful PUTs - - suppress: UnSupportedPatchProperties - from: policyAssignments.json - reason: The location property represents the user-assigned identity location and is changeable for policy assignments - - suppress: PathContainsResourceType - from: policyAssignments.json - reason: The policy assignment id does contain the resource type - - suppress: ResourceNameRestriction - from: policyDefinitionVersions.json - reason: Using common types for management group name - - suppress: ResourceNameRestriction - from: policySetDefinitionVersions.json - reason: Using common types for management group name - - suppress: ResourceNameRestriction - from: policyExemptions.json - reason: Using common types for management group name - - suppress: ResourceNameRestriction - from: policyVariables.json - reason: Using common types for management group name - - suppress: ResourceNameRestriction - from: policyVariableValues.json - reason: Using common types for management group name - - suppress: TenantLevelAPIsNotAllowed - from: dataBoundaries.json - reason: "Have approval from the PAS team." - - suppress: GetCollectionResponseSchema - from: dataBoundaries.json - reason: "Do not have any list calls." - - suppress: ParametersInPointGet - from: policyAssignments.json - reason: "This is for specific properties that require extra processing to produce so only want to return on demand." - - suppress: ParametersInPointGet - from: policySetDefinitions.json - reason: "This is for specific properties that require extra processing to produce so only want to return on demand." - - suppress: ParametersInPointGet - from: policySetDefinitionVersions.json - reason: "This is for specific properties that require extra processing to produce so only want to return on demand." - - suppress: TrackedExtensionResourcesAreNotAllowed - from: policyAssignments.json - reason: "Policy assignments can have a manged identity associated with them. This requires a location." - - suppress: TrackedExtensionResourcesAreNotAllowed - from: resources.json - reason: "The deployments resource type is ProxyOnly." - - suppress: RequiredPropertiesMissingInResourceModel - from: resources.json - where: $.definitions.Provider - reason: "Historically some properties have not been returned for this model and reviewer said OK to suppress." - - suppress: RequiredPropertiesMissingInResourceModel - from: resources.json - where: $.definitions.ProviderListResult - reason: "Historically some properties have not been returned for this model and reviewer said OK to suppress." - - suppress: RequiredPropertiesMissingInResourceModel - from: resources.json - where: $.definitions.ProviderResourceTypeListResult - reason: "Historically some properties have not been returned for this model and reviewer said OK to suppress." - - suppress: RequiredPropertiesMissingInResourceModel - from: resources.json - where: $.definitions.TagsListResult - reason: "Historically some properties have not been returned for this model and reviewer said OK to suppress." - - suppress: RequiredPropertiesMissingInResourceModel - from: resources.json - where: $.definitions.DeploymentOperation - reason: "Historically some properties have not been returned for this model and reviewer said OK to suppress." - - suppress: RequiredPropertiesMissingInResourceModel - from: resources.json - where: $.definitions.DeploymentOperationsListResult - reason: "Historically some properties have not been returned for this model and reviewer said OK to suppress." - - suppress: RequiredPropertiesMissingInResourceModel - from: resources.json - where: $.definitions.OperationListResult - reason: "Historically some properties have not been returned for this model and reviewer said OK to suppress." - - suppress: RequiredPropertiesMissingInResourceModel - from: resources.json - where: $.definitions.ProviderPermissionListResult - reason: "Historically some properties have not been returned for this model and reviewer said OK to suppress." - - suppress: OperationsAPIImplementation - from: Microsoft.Resources/stable/2016-02-01/resources.json - reason: Pre-existing lint error. - - suppress: OperationsAPIImplementation - from: Microsoft.Resources/stable/2016-07-01/resources.json - reason: Pre-existing lint error. - - suppress: OperationsAPIImplementation - from: Microsoft.Resources/stable/2016-09-01/resources.json - reason: Pre-existing lint error. - - suppress: OperationsAPIImplementation - from: Microsoft.Resources/stable/2017-05-10/resources.json - reason: Pre-existing lint error. - - suppress: OperationsAPIImplementation - from: Microsoft.Resources/stable/2018-02-01/resources.json - reason: Pre-existing lint error. -``` - --- # Code Generation @@ -1542,20 +122,3 @@ See configuration in [readme.go.md](./readme.go.md) ## Java See configuration in [readme.java.md](./readme.java.md) - -# Validation - -Since this RP has no unique default package, iterate over all of them for validation: - -``` yaml $(validation) -batch: - - package-features: true - - package-locks: true - - package-policy: true - - package-resources: true - - package-subscriptions: true - - package-links: true - - package-managedapplications: true - - package-changes: true - - package-snapshots: true -``` \ No newline at end of file diff --git a/specification/suppressions.yaml b/specification/suppressions.yaml index c421db704265..7edf4f4ffe16 100644 --- a/specification/suppressions.yaml +++ b/specification/suppressions.yaml @@ -1017,7 +1017,7 @@ sub-rules: - options.@azure-tools/typespec-java.namespace paths: - - resources/Bicep.Management/tspconfig.yaml + - resources/resource-manager/Microsoft.Resources/bicep/tspconfig.yaml - tool: TypeSpecValidation reason: Suppress until spec can be updated From e311fd720d4e56708a13e63df0874e6d2288aaea Mon Sep 17 00:00:00 2001 From: zedy Date: Wed, 12 Nov 2025 18:42:09 +0800 Subject: [PATCH 02/14] refactor the folder structure --- .../Microsoft.Authorization/locks/readme.md | 4 +- .../privatelinks/readme.md | 4 +- .../Microsoft.Features/features/readme.md | 21 +++++--- .../features/readme.nodejs.md | 2 +- .../features/readme.ruby.md | 2 +- .../features/readme.terraform.md | 2 +- .../features/readme.typescript.md | 2 +- .../features/suppressions.yaml | 6 +++ .../managedapplications.json | 2 +- .../managedappliations/readme.go.md | 2 +- .../managedappliations/readme.md | 15 +++--- .../2019-07-01/managedapplications.json | 50 +++++++++---------- .../managedappliations/suppressions.yaml | 15 ++++++ 13 files changed, 78 insertions(+), 49 deletions(-) diff --git a/specification/resources/resource-manager/Microsoft.Authorization/locks/readme.md b/specification/resources/resource-manager/Microsoft.Authorization/locks/readme.md index d7af05d968ae..4e01a60681c7 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/locks/readme.md +++ b/specification/resources/resource-manager/Microsoft.Authorization/locks/readme.md @@ -23,8 +23,8 @@ To see additional help and options, run: These are the global settings for the Resource API. ``` yaml -title: LocksClient -description: Locks Client +title: ManagementLockClient +description: ManagementLock Client openapi-type: arm tag: package-locks-2020-05 ``` diff --git a/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.md b/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.md index 8ee865214919..d3f8c438d154 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.md +++ b/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.md @@ -23,8 +23,8 @@ To see additional help and options, run: These are the global settings for the Resource API. ``` yaml -title: PrivateLinksClient -description: PrivateLinks Client +title: ResourcePrivateLinkClient +description: ResourcePrivateLink Client openapi-type: arm tag: package-privatelinks-2020-05 ``` diff --git a/specification/resources/resource-manager/Microsoft.Features/features/readme.md b/specification/resources/resource-manager/Microsoft.Features/features/readme.md index 24f222e54f40..bae276cb8f72 100644 --- a/specification/resources/resource-manager/Microsoft.Features/features/readme.md +++ b/specification/resources/resource-manager/Microsoft.Features/features/readme.md @@ -25,10 +25,10 @@ To see additional help and options, run: These are the global settings for the Resource API. ``` yaml -title: FeaturesClient -description: Features Client +title: FeatureClient +description: Feature Client openapi-type: arm -tag: package-2022-12 +tag: package-features-2021-07 ``` ### Tag: package-features-2021-07 @@ -37,8 +37,8 @@ These settings apply only when `--tag=package-features-2021-07` is specified on ``` yaml $(tag) == 'package-features-2021-07' input-file: -- Microsoft.Features/stable/2021-07-01/features.json -- Microsoft.Features/stable/2021-07-01/SubscriptionFeatureRegistration.json +- stable/2021-07-01/features.json +- stable/2021-07-01/SubscriptionFeatureRegistration.json # Needed when there is more than one input file override-info: @@ -51,7 +51,16 @@ These settings apply only when `--tag=package-features-2015-12` is specified on ``` yaml $(tag) == 'package-features-2015-12' input-file: -- Microsoft.Features/stable/2015-12-01/features.json +- stable/2015-12-01/features.json +``` + +## Suppression + +``` yaml +directive: + - from: SubscriptionFeatureRegistration.json + suppress: R4009 + reason: Currently systemData is not allowed ``` --- diff --git a/specification/resources/resource-manager/Microsoft.Features/features/readme.nodejs.md b/specification/resources/resource-manager/Microsoft.Features/features/readme.nodejs.md index ee70d9e19bec..f97137c2f07e 100644 --- a/specification/resources/resource-manager/Microsoft.Features/features/readme.nodejs.md +++ b/specification/resources/resource-manager/Microsoft.Features/features/readme.nodejs.md @@ -19,4 +19,4 @@ batch: ```yaml $(nodejs) && $(package-features) nodejs: source-code-folder-path: lib/feature -``` \ No newline at end of file +``` diff --git a/specification/resources/resource-manager/Microsoft.Features/features/readme.ruby.md b/specification/resources/resource-manager/Microsoft.Features/features/readme.ruby.md index 084b81f72b20..f471b09deafe 100644 --- a/specification/resources/resource-manager/Microsoft.Features/features/readme.ruby.md +++ b/specification/resources/resource-manager/Microsoft.Features/features/readme.ruby.md @@ -27,4 +27,4 @@ Please also specify `--ruby-sdks-folder= Date: Thu, 13 Nov 2025 14:58:58 +0800 Subject: [PATCH 03/14] refactor the folder structure --- .../preview/2022-03-01-preview/changes.json | 6 +- .../preview/2023-03-01-preview/changes.json | 6 +- .../preview/2023-07-01-preview/changes.json | 6 +- .../preview/2024-06-01-preview/changes.json | 18 +- .../Microsoft.Resources/changes/readme.go.md | 66 - .../changes/readme.java.md | 60 - .../Microsoft.Resources/changes/readme.md | 12 +- .../changes/readme.nodejs.md | 59 - .../changes/readme.python.md | 110 - .../changes/readme.ruby.md | 304 -- .../changes/readme.terraform.md | 50 - .../changes/readme.typescript.md | 140 - .../changes/stable/2022-05-01/changes.json | 6 +- .../changes/suppressions.yaml | 15 + .../databoundaries/readme.go.md | 66 - .../databoundaries/readme.java.md | 60 - .../databoundaries/readme.md | 8 +- .../databoundaries/readme.nodejs.md | 59 - .../databoundaries/readme.python.md | 108 - .../databoundaries/readme.ruby.md | 304 -- .../databoundaries/readme.terraform.md | 50 - .../databoundaries/readme.typescript.md | 139 - .../stable/2024-08-01/dataBoundaries.json | 22 +- .../suppressions.yaml | 3 +- .../deploymentStacks/sdk-suppressions.yaml | 103 +- .../deploymentStacks/suppressions.yaml | 5 - .../Microsoft.Resources/links/readme.go.md | 66 - .../Microsoft.Resources/links/readme.java.md | 60 - .../Microsoft.Resources/links/readme.md | 6 +- .../links/readme.nodejs.md | 37 - .../links/readme.python.md | 110 - .../Microsoft.Resources/links/readme.ruby.md | 285 -- .../links/readme.terraform.md | 50 - .../links/readme.typescript.md | 140 - .../links/suppressions.yaml | 3 + .../Microsoft.Resources/resources/readme.md | 64 +- .../resources/sdk-suppressions.yaml | 90 - .../examples/CheckResourceName.json | 20 - .../examples/PostCheckZonePeers.json | 49 - .../stable/2019-07-01/resources.json | 4 +- .../stable/2019-08-01/resources.json | 10 +- .../stable/2019-10-01/resources.json | 10 +- .../stable/2020-06-01/resources.json | 10 +- .../stable/2020-08-01/resources.json | 10 +- .../stable/2020-10-01/resources.json | 10 +- .../examples/CheckResourceName.json | 20 - .../2021-01-01/examples/GetLocations.json | 54 - .../GetLocationsWithExtendedLocations.json | 83 - .../2021-01-01/examples/GetSubscription.json | 32 - .../2021-01-01/examples/GetSubscriptions.json | 61 - .../2021-01-01/examples/GetTenants.json | 53 - .../examples/PostCheckZonePeers.json | 49 - .../stable/2021-01-01/resources.json | 10 +- .../stable/2021-01-01/subscriptions.json | 847 ----- .../stable/2021-04-01/resources.json | 10 +- .../stable/2022-09-01/resources.json | 10 +- .../stable/2023-07-01/resources.json | 10 +- .../stable/2024-03-01/resources.json | 10 +- .../stable/2024-07-01/resources.json | 10 +- .../resources/suppressions.yaml | 75 + .../preview/2022-11-01-preview/snapshots.json | 18 +- .../snapshots/readme.go.md | 87 - .../snapshots/readme.java.md | 60 - .../Microsoft.Resources/snapshots/readme.md | 4 +- .../snapshots/readme.nodejs.md | 59 - .../snapshots/readme.python.md | 144 - .../snapshots/readme.ruby.md | 304 -- .../snapshots/readme.terraform.md | 50 - .../snapshots/readme.typescript.md | 159 - .../snapshots/suppressions.yaml | 3 + .../subscriptions/readme.go.md | 64 - .../subscriptions/readme.java.md | 60 - .../subscriptions/readme.md | 24 +- .../subscriptions/readme.nodejs.md | 37 - .../subscriptions/readme.python.md | 110 - .../subscriptions/readme.ruby.md | 252 -- .../subscriptions/readme.terraform.md | 50 - .../subscriptions/readme.typescript.md | 120 - .../stable/2015-11-01/subscriptions.json | 2 +- .../stable/2016-06-01/subscriptions.json | 2 +- .../stable/2018-06-01/subscriptions.json | 2 +- .../stable/2019-06-01/subscriptions.json | 2 +- .../stable/2019-11-01/subscriptions.json | 2 +- .../stable/2020-01-01/subscriptions.json | 2 +- .../examples/CreateResourceGroup.json | 32 - .../examples/ExportResourceGroup.json | 68 - .../ExportResourceGroupWithFiltering.json | 46 - .../ForceDeleteVMsAndVMSSInResourceGroup.json | 16 - .../ForceDeleteVMsInResourceGroup.json | 16 - .../examples/GetNamedProviderAtTenant.json | 253 -- .../2021-01-01/examples/GetProvider.json | 51 - .../examples/GetProviderResourceTypes.json | 47 - .../2021-01-01/examples/GetProviders.json | 175 - .../2021-01-01/examples/GetTagsResource.json | 18 - .../examples/GetTagsSubscription.json | 18 - .../2021-01-01/examples/PutTagsResource.json | 26 - .../examples/PutTagsSubscription.json | 26 - .../stable/2021-01-01/resources.json | 3084 ----------------- .../stable/2021-01-01/subscriptions.json | 4 +- .../stable/2022-12-01/subscriptions.json | 20 +- .../subscriptions/suppressions.yaml | 24 + .../resources/resource-manager/readme.md | 79 +- 102 files changed, 298 insertions(+), 9475 deletions(-) delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/changes/readme.java.md delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/changes/readme.nodejs.md delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/changes/readme.ruby.md delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/changes/readme.terraform.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/changes/suppressions.yaml delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.java.md delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.nodejs.md delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.ruby.md delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.terraform.md rename specification/resources/resource-manager/Microsoft.Resources/{bicep => databoundaries}/suppressions.yaml (57%) delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/suppressions.yaml delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/links/readme.java.md delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/links/readme.terraform.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/links/suppressions.yaml delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/resources/stable/2015-11-01/examples/CheckResourceName.json delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/resources/stable/2015-11-01/examples/PostCheckZonePeers.json delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/CheckResourceName.json delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetLocations.json delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetLocationsWithExtendedLocations.json delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetSubscription.json delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetSubscriptions.json delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetTenants.json delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/PostCheckZonePeers.json delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/subscriptions.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/resources/suppressions.yaml delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.go.md delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.java.md delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.nodejs.md delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.python.md delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.ruby.md delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.terraform.md delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.typescript.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/snapshots/suppressions.yaml delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.java.md delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.terraform.md delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/CreateResourceGroup.json delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/ExportResourceGroup.json delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/ExportResourceGroupWithFiltering.json delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/ForceDeleteVMsInResourceGroup.json delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetNamedProviderAtTenant.json delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetProvider.json delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetProviderResourceTypes.json delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetProviders.json delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetTagsResource.json delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetTagsSubscription.json delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/PutTagsResource.json delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/PutTagsSubscription.json delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/resources.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/subscriptions/suppressions.yaml diff --git a/specification/resources/resource-manager/Microsoft.Resources/changes/preview/2022-03-01-preview/changes.json b/specification/resources/resource-manager/Microsoft.Resources/changes/preview/2022-03-01-preview/changes.json index 20678de24c22..168c349bcdeb 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/changes/preview/2022-03-01-preview/changes.json +++ b/specification/resources/resource-manager/Microsoft.Resources/changes/preview/2022-03-01-preview/changes.json @@ -82,7 +82,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -136,7 +136,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -166,7 +166,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" } ], "properties": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/changes/preview/2023-03-01-preview/changes.json b/specification/resources/resource-manager/Microsoft.Resources/changes/preview/2023-03-01-preview/changes.json index f7e2c4ea3fa7..c91ca9f077da 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/changes/preview/2023-03-01-preview/changes.json +++ b/specification/resources/resource-manager/Microsoft.Resources/changes/preview/2023-03-01-preview/changes.json @@ -82,7 +82,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -136,7 +136,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -166,7 +166,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" } ], "properties": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/changes/preview/2023-07-01-preview/changes.json b/specification/resources/resource-manager/Microsoft.Resources/changes/preview/2023-07-01-preview/changes.json index 7c83d3a7f265..26dcd3a41043 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/changes/preview/2023-07-01-preview/changes.json +++ b/specification/resources/resource-manager/Microsoft.Resources/changes/preview/2023-07-01-preview/changes.json @@ -82,7 +82,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -136,7 +136,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -166,7 +166,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" } ], "properties": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/changes/preview/2024-06-01-preview/changes.json b/specification/resources/resource-manager/Microsoft.Resources/changes/preview/2024-06-01-preview/changes.json index 8dbba209106e..be012724c6fb 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/changes/preview/2024-06-01-preview/changes.json +++ b/specification/resources/resource-manager/Microsoft.Resources/changes/preview/2024-06-01-preview/changes.json @@ -48,10 +48,10 @@ "description": "Obtains a list of change resources from the past 14 days for the target resource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/ResourceProviderNamespaceParameter" @@ -63,7 +63,7 @@ "$ref": "#/parameters/ResourceNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/$top" @@ -82,7 +82,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -105,10 +105,10 @@ "description": "Obtains the specified change resource for the target resource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/ResourceProviderNamespaceParameter" @@ -120,7 +120,7 @@ "$ref": "#/parameters/ResourceNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/ChangeResourceIdParameter" @@ -136,7 +136,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } } @@ -166,7 +166,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" } ], "properties": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/changes/readme.go.md b/specification/resources/resource-manager/Microsoft.Resources/changes/readme.go.md index e439424a6139..5cb72f3555bb 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/changes/readme.go.md +++ b/specification/resources/resource-manager/Microsoft.Resources/changes/readme.go.md @@ -12,64 +12,6 @@ directive: reason: Necessary to match Unicode characters in the Go regexp engine. ``` -``` yaml $(go) && $(track2) && $(package-resources) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armresources -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - -``` yaml $(go) && $(track2) && $(package-features) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armfeatures -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - -``` yaml $(go) && $(track2) && $(package-links) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armlinks -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - -``` yaml $(go) && $(track2) && $(package-locks) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armlocks -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - -``` yaml $(go) && $(track2) && $(package-managedapplications) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armmanagedapplications -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - -``` yaml $(go) && $(track2) && $(package-policy) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armpolicy -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - -``` yaml $(go) && $(track2) && $(package-subscriptions) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armsubscriptions -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -modelerfour: - lenient-model-deduplication: true -``` - ``` yaml $(go) && $(track2) && $(package-changes) license-header: MICROSOFT_MIT_NO_VERSION module-name: sdk/resourcemanager/resources/armchanges @@ -77,11 +19,3 @@ module: github.com/Azure/azure-sdk-for-go/$(module-name) output-folder: $(go-sdk-folder)/$(module-name) azure-arm: true ``` - -``` yaml $(go) && $(track2) && $(package-databoundaries) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/databoundaries/armdataboundaries -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/changes/readme.java.md b/specification/resources/resource-manager/Microsoft.Resources/changes/readme.java.md deleted file mode 100644 index 6dedca1a0423..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/changes/readme.java.md +++ /dev/null @@ -1,60 +0,0 @@ -## Java - -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(java) -enable-sync-stack: false - -directive: - - rename-operation: - from: Tags_DeleteValue - to: TagOperations_DeleteValue - - rename-operation: - from: Tags_CreateOrUpdateValue - to: TagOperations_CreateOrUpdateValue - - rename-operation: - from: Tags_CreateOrUpdate - to: TagOperations_CreateOrUpdate - - rename-operation: - from: Tags_Delete - to: TagOperations_Delete - - rename-operation: - from: Tags_DeleteValue - to: TagOperations_DeleteValue - - rename-operation: - from: Tags_List - to: TagOperations_List - - rename-operation: - from: Tags_CreateOrUpdateAtScope - to: TagOperations_CreateOrUpdateAtScope - - rename-operation: - from: Tags_UpdateAtScope - to: TagOperations_UpdateAtScope - - rename-operation: - from: Tags_GetAtScope - to: TagOperations_GetAtScope - - rename-operation: - from: Tags_DeleteAtScope - to: TagOperations_DeleteAtScope -``` - -``` yaml $(tag) == 'package-policy-2022-06-java' -input-file: -- Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json -- Microsoft.Authorization/stable/2021-06-01/policyDefinitions.json -- Microsoft.Authorization/stable/2021-06-01/policySetDefinitions.json -- Microsoft.Authorization/stable/2022-06-01/policyAssignments.json -- Microsoft.Authorization/preview/2022-07-01-preview/policyExemptions.json -``` - -``` yaml $(tag) == 'package-policy-2023-04-java' -input-file: -- Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json -- Microsoft.Authorization/stable/2023-04-01/policyDefinitions.json -- Microsoft.Authorization/stable/2023-04-01/policyDefinitionVersions.json -- Microsoft.Authorization/stable/2023-04-01/policySetDefinitions.json -- Microsoft.Authorization/stable/2023-04-01/policySetDefinitionVersions.json -- Microsoft.Authorization/stable/2023-04-01/policyAssignments.json -- Microsoft.Authorization/preview/2022-07-01-preview/policyExemptions.json -``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/changes/readme.md b/specification/resources/resource-manager/Microsoft.Resources/changes/readme.md index 02a1874b2cef..45185b868b92 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/changes/readme.md +++ b/specification/resources/resource-manager/Microsoft.Resources/changes/readme.md @@ -26,7 +26,7 @@ These are the global settings for the Resource API. title: ChangesClient description: Changes Client openapi-type: arm -tag: package-resources-2025-04 +tag: package-changes-2024-06-01-preview ``` ### Tag: package-changes-2023-03-01-preview @@ -35,7 +35,7 @@ These settings apply only when `--tag=package-changes-2023-03-01-preview` is spe ``` yaml $(tag) == 'package-changes-2023-03-01-preview' input-file: -- Microsoft.Resources/preview/2023-03-01-preview/changes.json +- preview/2023-03-01-preview/changes.json ``` ### Tag: package-changes-2023-07-01-preview @@ -44,7 +44,7 @@ These settings apply only when `--tag=package-changes-2023-07-01-preview` is spe ``` yaml $(tag) == 'package-changes-2023-07-01-preview' input-file: -- Microsoft.Resources/preview/2023-07-01-preview/changes.json +- preview/2023-07-01-preview/changes.json ``` ### Tag: package-changes-2024-06-01-preview @@ -53,7 +53,7 @@ These settings apply only when `--tag=package-changes-2024-06-01-preview` is spe ``` yaml $(tag) == 'package-changes-2024-06-01-preview' input-file: -- Microsoft.Resources/preview/2024-06-01-preview/changes.json +- preview/2024-06-01-preview/changes.json ``` ### Tag: package-changes-2022-05 @@ -62,7 +62,7 @@ These settings apply only when `--tag=package-changes-2022-05` is specified on t ``` yaml $(tag) == 'package-changes-2022-05' input-file: -- Microsoft.Resources/stable/2022-05-01/changes.json +- stable/2022-05-01/changes.json ``` ### Tag: package-changes-2022-03-01-preview @@ -71,7 +71,7 @@ These settings apply only when `--tag=package-changes-2022-03-01-preview` is spe ``` yaml $(tag) == 'package-changes-2022-03-01-preview' input-file: -- Microsoft.Resources/preview/2022-03-01-preview/changes.json +- preview/2022-03-01-preview/changes.json ``` ## Suppression diff --git a/specification/resources/resource-manager/Microsoft.Resources/changes/readme.nodejs.md b/specification/resources/resource-manager/Microsoft.Resources/changes/readme.nodejs.md deleted file mode 100644 index 1787b7880294..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/changes/readme.nodejs.md +++ /dev/null @@ -1,59 +0,0 @@ -## Node.js - -These settings apply only when `--nodejs` is specified on the command line. -Please also specify `--node-sdks-folder=`. - -```yaml $(nodejs) -nodejs: - azure-arm: true - batch: true - package-name: azure-arm-resource - generate-license-txt: true - generate-package-json: false - generate-readme-md: false - output-folder: $(node-sdks-folder)/lib/services/resourceManagement -batch: - - package-features: true - - package-locks: true - - package-policy: true - - package-resources: true - - package-subscriptions: true - - package-links: true - - package-managedapplications: true -``` - -```yaml $(nodejs) && $(package-features) -nodejs: - source-code-folder-path: lib/feature -``` - -```yaml $(nodejs) && $(package-locks) -nodejs: - source-code-folder-path: lib/lock -``` - -```yaml $(nodejs) && $(package-policy) -nodejs: - source-code-folder-path: lib/policy -``` - -```yaml $(nodejs) && $(package-resources) -nodejs: - source-code-folder-path: lib/resource -``` - -```yaml $(nodejs) && $(package-subscriptions) -nodejs: - source-code-folder-path: lib/subscription -``` - -```yaml $(nodejs) && $(package-links) -nodejs: - source-code-folder-path: lib/link -``` - -```yaml $(nodejs) && $(package-management) -nodejs: - source-code-folder-path: lib/management - override-client-name: ManagementGroupsClient -``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/changes/readme.python.md b/specification/resources/resource-manager/Microsoft.Resources/changes/readme.python.md index 9ecd5cfb7b4b..d56d11ae72ec 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/changes/readme.python.md +++ b/specification/resources/resource-manager/Microsoft.Resources/changes/readme.python.md @@ -19,104 +19,7 @@ modelerfour: ```yaml $(python) batch: - - tag: package-privatelinks-2020-05 - - tag: package-features-2021-07 - - tag: package-links-2016-09 - - tag: package-locks-2016-09 - - tag: package-managedapplications-2019-07 - - tag: package-policy-2023-04 - - tag: package-resources-2025-04 - - tag: package-subscriptions-2022-12 - tag: package-changes-2022-05 - - tag: package-databoundaries-2024-08 -``` - -### Tag: package-privatelinks-2020-05 and python - -These settings apply only when `--tag=package-privatelinks-2020-05 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-privatelinks-2020-05' -title: ResourcePrivateLinkClient -namespace: azure.mgmt.resource.privatelinks -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/privatelinks -``` - -### Tag: package-features-2021-07 and python - -These settings apply only when `--tag=package-features-2021-07 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-features-2021-07' -title: FeatureClient -namespace: azure.mgmt.resource.features -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/features -``` - -### Tag: package-links-2016-09 and python - -These settings apply only when `--tag=package-links-2016-09 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-links-2016-09' -title: ManagementLinkClient -namespace: azure.mgmt.resource.links -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/links -``` - -### Tag: package-locks-2016-09 and python - -These settings apply only when `--tag=package-locks-2016-09 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-locks-2016-09' -title: ManagementLockClient -namespace: azure.mgmt.resource.locks -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/locks -``` - -### Tag: package-managedapplications-2019-07 and python - -These settings apply only when `--tag=package-managedapplications-2019-07 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-managedapplications-2019-07' -title: ApplicationClient -namespace: azure.mgmt.resource.managedapplications -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/managedapplications -``` - -### Tag: package-policy-2023-04 and python - -These settings apply only when `--tag=package-policy-2023-04 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-policy-2023-04' -title: PolicyClient -namespace: azure.mgmt.resource.policy -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/policy -``` - -### Tag: package-resources-2025-04 and python - -These settings apply only when `--tag=package-resources-2025-04 --python` is specified on the command line. Please also -specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-resources-2025-04' -title: ResourceManagementClient -namespace: azure.mgmt.resource.resources -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/resources -``` - -### Tag: package-subscriptions-2022-12 and python - -These settings apply only when `--tag=package-subscriptions-2022-12 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-subscriptions-2022-12' -title: SubscriptionClient -namespace: azure.mgmt.resource.subscriptions -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/subscriptions ``` ### Tag: package-changes-2022-05 and python @@ -129,16 +32,3 @@ title: ChangesClient namespace: azure.mgmt.resource.changes output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/changes ``` - -### Tag: package-databoundaries-2024-08 and python - -These settings apply only when `--tag=package-databoundaries-2024-08 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-databoundaries-2024-08' -title: DataBoundaryMgmtClient -namespace: azure.mgmt.resource.databoundaries -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/databoundaries -directive: - - remove-operation: "Operations_List" -``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/changes/readme.ruby.md b/specification/resources/resource-manager/Microsoft.Resources/changes/readme.ruby.md deleted file mode 100644 index 70c149ebcbba..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/changes/readme.ruby.md +++ /dev/null @@ -1,304 +0,0 @@ -### Ruby multi-api for managedapplications - -``` yaml $(multiapi) && $(managedapplications) -package-name: azure_mgmt_managed_applications -package-version: "0.16.0" -azure-arm: true -batch: - - tag: package-managedapplications-2019-07 - - tag: package-managedapplications-2018-06 - - tag: package-managedapplications-2017-09 - - tag: package-managedapplications-2016-09 -``` - -### Tag: package-managedapplications-2019-07 and ruby - -These settings apply only when `--tag=package-managedapplications-2019-07 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-managedapplications-2019-07' && $(ruby) -namespace: "Azure::ManagedApplications::Mgmt::V2019_07_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib -``` - -### Tag: package-managedapplications-2018-06 and ruby - -These settings apply only when `--tag=package-managedapplications-2018-06 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-managedapplications-2018-06' && $(ruby) -namespace: "Azure::ManagedApplications::Mgmt::V2018_06_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib -``` - -### Tag: package-managedapplications-2017-09 and ruby - -These settings apply only when `--tag=package-managedapplications-2017-09 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-managedapplications-2017-09' && $(ruby) -namespace: "Azure::ManagedApplications::Mgmt::V2017_09_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib -``` - -### Tag: package-managedapplications-2016-09 and ruby - -These settings apply only when `--tag=package-managedapplications-2016-09 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-managedapplications-2016-09' && $(ruby) -namespace: "Azure::ManagedApplications::Mgmt::V2016_09_01_preview" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib -``` - -### Ruby multi-api for subscriptions - -``` yaml $(multiapi) && $(subscriptions) -package-name: azure_mgmt_subscriptions -package-version: "0.16.0" -azure-arm: true -batch: - - tag: package-subscriptions-2019-06 - - tag: package-subscriptions-2018-06 - - tag: package-subscriptions-2016-06 - - tag: package-subscriptions-2015-11 -``` - -### Tag: package-subscriptions-2019-06 and ruby - -These settings apply only when `--tag=package-subscriptions-2019-06 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-subscriptions-2019-06' && $(ruby) -namespace: "Azure::Subscriptions::Mgmt::V2019_06_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_subscriptions/lib -``` - -### Tag: package-subscriptions-2018-06 and ruby - -These settings apply only when `--tag=package-subscriptions-2018-06 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-subscriptions-2018-06' && $(ruby) -namespace: "Azure::Subscriptions::Mgmt::V2018_06_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_subscriptions/lib -``` - -### Tag: package-subscriptions-2016-06 and ruby - -These settings apply only when `--tag=package-subscriptions-2016-06 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-subscriptions-2016-06' && $(ruby) -namespace: "Azure::Subscriptions::Mgmt::V2016_06_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_subscriptions/lib -``` - -### Tag: package-subscriptions-2015-11 and ruby - -These settings apply only when `--tag=package-subscriptions-2015-11 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-subscriptions-2015-11' && $(ruby) -namespace: "Azure::Subscriptions::Mgmt::V2015_11_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_subscriptions/lib -``` - -### Ruby multi-api for features - -``` yaml $(multiapi) && $(features) -package-name: azure_mgmt_features -package-version: "0.16.0" -azure-arm: true -batch: - - tag: package-features-2021-07 - - tag: package-features-2015-12 -``` - -### Tag: package-features-2021-07 and ruby - -These settings apply only when `--tag=package-features-2021-07 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-features-2021-07' && $(ruby) -namespace: "Azure::Features::Mgmt::V2021_07_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_features/lib -``` - -### Tag: package-features-2015-12 and ruby - -These settings apply only when `--tag=package-features-2015-12 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-features-2015-12' && $(ruby) -namespace: "Azure::Features::Mgmt::V2015_12_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_features/lib -``` - -### Ruby multi-api for locks - -``` yaml $(multiapi) && $(locks) -package-name: azure_mgmt_locks -package-version: "0.16.0" -azure-arm: true -batch: - - tag: package-locks-2016-09 - - tag: package-locks-2015-01 -``` - -### Tag: package-locks-2016-09 and ruby - -These settings apply only when `--tag=package-locks-2016-09 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-locks-2016-09' && $(ruby) -namespace: "Azure::Locks::Mgmt::V2016_09_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_locks/lib -``` - -### Tag: package-locks-2015-01 and ruby - -These settings apply only when `--tag=package-locks-2015-01 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-locks-2015-01' && $(ruby) -namespace: "Azure::Locks::Mgmt::V2015_01_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_locks/lib -``` - -### Ruby multi-api for links - -``` yaml $(multiapi) && $(links) -package-name: azure_mgmt_links -package-version: "0.16.0" -azure-arm: true -batch: - - tag: package-links-2016-09 -``` - -### Tag: package-links-2016-09 and ruby - -These settings apply only when `--tag=package-links-2016-09 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-links-2016-09' && $(ruby) -namespace: "Azure::Links::Mgmt::V2016_09_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_links/lib -``` - -### Ruby multi-api for policy - -``` yaml $(multiapi) && $(policy) -package-name: azure_mgmt_policy -package-version: "0.16.0" -azure-arm: true -batch: - - tag: package-pure-policy-2017-06 - - tag: package-policy-2016-12 - - tag: package-policy-2016-04 - - tag: package-policy-2015-10 -``` - -### Tag: package-pure-policy-2017-06 and ruby - -These settings apply only when `--tag=package-pure-policy-2017-06 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-pure-policy-2017-06' && $(ruby) -namespace: "Azure::Policy::Mgmt::V2017_06_01_preview" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib -``` - -### Tag: package-policy-2016-12 and ruby - -These settings apply only when `--tag=package-policy-2016-12 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-policy-2016-12' && $(ruby) -namespace: "Azure::Policy::Mgmt::V2016_12_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib -``` - -### Tag: package-policy-2016-04 and ruby - -These settings apply only when `--tag=package-policy-2016-04 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-policy-2016-04' && $(ruby) -namespace: "Azure::Policy::Mgmt::V2016_04_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib -``` - -### Tag: package-policy-2015-10 and ruby - -These settings apply only when `--tag=package-policy-2015-10 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-policy-2015-10' && $(ruby) -namespace: "Azure::Policy::Mgmt::V2015_10_01_preview" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib -``` - -### Ruby multi-api for resources - -``` yaml $(multiapi) && $(resources) -package-name: azure_mgmt_resources -package-version: "0.16.0" -azure-arm: true -batch: - - tag: package-resources-2019-03 - - tag: package-resources-2017-05 - - tag: package-resources-2016-09 - - tag: package-resources-2016-07 - - tag: package-resources-2016-02 -``` - -### Tag: package-resources-2019-03 and ruby - -These settings apply only when `--tag=package-resources-2019-03 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-resources-2019-03' && $(ruby) -namespace: "Azure::Resources::Mgmt::V2019_03_10" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib -``` - -### Tag: package-resources-2017-05 and ruby - -These settings apply only when `--tag=package-resources-2017-05 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-resources-2017-05' && $(ruby) -namespace: "Azure::Resources::Mgmt::V2017_05_10" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib -``` - -### Tag: package-resources-2016-09 and ruby - -These settings apply only when `--tag=package-resources-2016-09 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-resources-2016-09' && $(ruby) -namespace: "Azure::Resources::Mgmt::V2016_09_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib -``` - -### Tag: package-resources-2016-07 and ruby - -These settings apply only when `--tag=package-resources-2016-07 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-resources-2016-07' && $(ruby) -namespace: "Azure::Resources::Mgmt::V2016_07_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib -``` - -### Tag: package-resources-2016-02 and ruby - -These settings apply only when `--tag=package-resources-2016-02 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-resources-2016-02' && $(ruby) -namespace: "Azure::Resources::Mgmt::V2016_02_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib -``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/changes/readme.terraform.md b/specification/resources/resource-manager/Microsoft.Resources/changes/readme.terraform.md deleted file mode 100644 index e6576921e7b6..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/changes/readme.terraform.md +++ /dev/null @@ -1,50 +0,0 @@ - -## Terraform - -These settings apply only when `--terraform` is specified on the command line. - - -``` yaml $(terraform) -batch: - - package-features: true - - package-policy: true - - package-managedapplications: true -``` - -```yaml $(terraform) && $(package-policy) -terraform: - cli-name: policy - package-name: policy -output-folder: $(terraform-output-folder)/policy -clear-output-folder: true -``` - -```yaml $(terraform) && $(package-features) -terraform: - cli-name: features - package-name: features -output-folder: $(terraform-output-folder)/features -clear-output-folder: true -``` - -```yaml $(terraform) && $(package-managedapplications) -terraform: - cli-name: managedApplications - package-name: managedapplications -output-folder: $(terraform-output-folder)/managedapplications -clear-output-folder: true - -overrides: - - where: - resource: "Applications" - property: "/parameters" - set: - - GoVariableName: "appParameters" - - Gen: "newgen" -``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/changes/readme.typescript.md b/specification/resources/resource-manager/Microsoft.Resources/changes/readme.typescript.md index 646080c41e8e..8dfd74807806 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/changes/readme.typescript.md +++ b/specification/resources/resource-manager/Microsoft.Resources/changes/readme.typescript.md @@ -9,67 +9,7 @@ typescript: batch: true generate-metadata: true batch: - - package-resources: true - - package-features: true - - package-locks: true - - package-policy: true - - package-links: true - - package-managedapplications: true - - package-subscriptions: true - package-changes: true - - package-databoundaries: true -``` - -```yaml $(typescript) && $(package-databoundaries) && !$(profile-content) -title: DataboundariesManegementClient -typescript: - package-name: "@azure/arm-databoundaries" - output-folder: "$(typescript-sdks-folder)/sdk/databoundaries/arm-databoundaries" -``` - -```yaml $(typescript) && $(package-features) && !$(profile-content) -typescript: - package-name: "@azure/arm-features" - output-folder: "$(typescript-sdks-folder)/sdk/features/arm-features" -``` - -```yaml $(typescript) && $(package-locks) && !$(profile-content) -typescript: - package-name: "@azure/arm-locks" - output-folder: "$(typescript-sdks-folder)/sdk/locks/arm-locks" -``` - -```yaml $(typescript) && $(package-policy) && !$(profile-content) -typescript: - package-name: "@azure/arm-policy" - output-folder: "$(typescript-sdks-folder)/sdk/policy/arm-policy" - -modelerfour: - treat-type-object-as-anything: true -``` - -```yaml $(typescript) && $(package-resources) && !$(profile-content) -typescript: - package-name: "@azure/arm-resources" - output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-resources" -``` - -```yaml $(typescript) && $(package-links) && !$(profile-content) -typescript: - package-name: "@azure/arm-links" - output-folder: "$(typescript-sdks-folder)/sdk/links/arm-links" -``` - -```yaml $(typescript) && $(package-managedapplications) && !$(profile-content) -typescript: - package-name: "@azure/arm-managedapplications" - output-folder: "$(typescript-sdks-folder)/sdk/managedapplications/arm-managedapplications" -``` - -```yaml $(typescript) && $(package-subscriptions) && !$(profile-content) -typescript: - package-name: "@azure/arm-resources-subscriptions" - output-folder: "$(typescript-sdks-folder)/sdk/resources-subscriptions/arm-resources-subscriptions" ``` ```yaml $(typescript) && $(package-changes) && !$(profile-content) @@ -77,83 +17,3 @@ typescript: package-name: "@azure/arm-changes" output-folder: "$(typescript-sdks-folder)/sdk/changes/arm-changes" ``` - -```yaml $(tag)=='package-resources-2018-05' && $(profile-content)=='profile-hybrid-2019-03-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-resources-profile-2019-03-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-resources-profile-2019-03-01-hybrid" - batch: - - tag: package-resources-2018-05 -``` - -```yaml $(tag)=='package-policy-2016-12' && $(profile-content)=='profile-hybrid-2019-03-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-policy-profile-2019-03-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/policy/arm-policy-profile-2019-03-01-hybrid" - batch: - - tag: package-policy-2016-12 -``` - -```yaml $(tag)=='package-locks-2016-09' && $(profile-content)=='profile-hybrid-2019-03-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-locks-profile-2019-03-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/locks/arm-locks-profile-2019-03-01-hybrid" - batch: - - tag: package-locks-2016-09 -``` - -```yaml $(tag)=='package-subscriptions-2016-06' && $(profile-content)=='profile-hybrid-2019-03-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-subscriptions-profile-2019-03-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/subscription/arm-subscriptions-profile-2019-03-01-hybrid" - batch: - - tag: package-subscriptions-2016-06 -``` - -```yaml $(tag)=='package-resources-2019-10' && $(profile-content)=='profile-hybrid-2020-09-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-resources-profile-2020-09-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-resources-profile-2020-09-01-hybrid" - batch: - - tag: package-resources-2019-10 -``` - -```yaml $(tag)=='package-policy-2016-12' && $(profile-content)=='profile-hybrid-2020-09-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-policy-profile-2020-09-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/policy/arm-policy-profile-2020-09-01-hybrid" - batch: - - tag: package-policy-2016-12 -``` - -```yaml $(tag)=='package-locks-2016-09' && $(profile-content)=='profile-hybrid-2020-09-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-locks-profile-2020-09-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/locks/arm-locks-profile-2020-09-01-hybrid" - batch: - - tag: package-locks-2016-09 -``` - -```yaml $(tag)=='package-subscriptions-2016-06' && $(profile-content)=='profile-hybrid-2020-09-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-subscriptions-profile-2020-09-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid" - batch: - - tag: package-subscriptions-2016-06 -``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/changes/stable/2022-05-01/changes.json b/specification/resources/resource-manager/Microsoft.Resources/changes/stable/2022-05-01/changes.json index 82bc5c61bba7..73b1e3a2974d 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/changes/stable/2022-05-01/changes.json +++ b/specification/resources/resource-manager/Microsoft.Resources/changes/stable/2022-05-01/changes.json @@ -82,7 +82,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -136,7 +136,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -166,7 +166,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" } ], "properties": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/changes/suppressions.yaml b/specification/resources/resource-manager/Microsoft.Resources/changes/suppressions.yaml new file mode 100644 index 000000000000..077c3bc53555 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/changes/suppressions.yaml @@ -0,0 +1,15 @@ +- tool: TypeSpecRequirement + path: ./preview/2022-03-01-preview/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./preview/2023-03-01-preview/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./preview/2023-07-01-preview/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./preview/2024-06-01-preview/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2022-05-01/*.json + reason: Brownfield service not ready to migrate \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.go.md b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.go.md index e439424a6139..6136e05e3694 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.go.md +++ b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.go.md @@ -12,72 +12,6 @@ directive: reason: Necessary to match Unicode characters in the Go regexp engine. ``` -``` yaml $(go) && $(track2) && $(package-resources) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armresources -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - -``` yaml $(go) && $(track2) && $(package-features) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armfeatures -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - -``` yaml $(go) && $(track2) && $(package-links) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armlinks -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - -``` yaml $(go) && $(track2) && $(package-locks) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armlocks -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - -``` yaml $(go) && $(track2) && $(package-managedapplications) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armmanagedapplications -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - -``` yaml $(go) && $(track2) && $(package-policy) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armpolicy -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - -``` yaml $(go) && $(track2) && $(package-subscriptions) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armsubscriptions -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -modelerfour: - lenient-model-deduplication: true -``` - -``` yaml $(go) && $(track2) && $(package-changes) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armchanges -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - ``` yaml $(go) && $(track2) && $(package-databoundaries) license-header: MICROSOFT_MIT_NO_VERSION module-name: sdk/resourcemanager/databoundaries/armdataboundaries diff --git a/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.java.md b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.java.md deleted file mode 100644 index 6dedca1a0423..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.java.md +++ /dev/null @@ -1,60 +0,0 @@ -## Java - -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(java) -enable-sync-stack: false - -directive: - - rename-operation: - from: Tags_DeleteValue - to: TagOperations_DeleteValue - - rename-operation: - from: Tags_CreateOrUpdateValue - to: TagOperations_CreateOrUpdateValue - - rename-operation: - from: Tags_CreateOrUpdate - to: TagOperations_CreateOrUpdate - - rename-operation: - from: Tags_Delete - to: TagOperations_Delete - - rename-operation: - from: Tags_DeleteValue - to: TagOperations_DeleteValue - - rename-operation: - from: Tags_List - to: TagOperations_List - - rename-operation: - from: Tags_CreateOrUpdateAtScope - to: TagOperations_CreateOrUpdateAtScope - - rename-operation: - from: Tags_UpdateAtScope - to: TagOperations_UpdateAtScope - - rename-operation: - from: Tags_GetAtScope - to: TagOperations_GetAtScope - - rename-operation: - from: Tags_DeleteAtScope - to: TagOperations_DeleteAtScope -``` - -``` yaml $(tag) == 'package-policy-2022-06-java' -input-file: -- Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json -- Microsoft.Authorization/stable/2021-06-01/policyDefinitions.json -- Microsoft.Authorization/stable/2021-06-01/policySetDefinitions.json -- Microsoft.Authorization/stable/2022-06-01/policyAssignments.json -- Microsoft.Authorization/preview/2022-07-01-preview/policyExemptions.json -``` - -``` yaml $(tag) == 'package-policy-2023-04-java' -input-file: -- Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json -- Microsoft.Authorization/stable/2023-04-01/policyDefinitions.json -- Microsoft.Authorization/stable/2023-04-01/policyDefinitionVersions.json -- Microsoft.Authorization/stable/2023-04-01/policySetDefinitions.json -- Microsoft.Authorization/stable/2023-04-01/policySetDefinitionVersions.json -- Microsoft.Authorization/stable/2023-04-01/policyAssignments.json -- Microsoft.Authorization/preview/2022-07-01-preview/policyExemptions.json -``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.md b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.md index ccbd70ab51b4..6812e488adfd 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.md +++ b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.md @@ -23,10 +23,10 @@ To see additional help and options, run: These are the global settings for the Resource API. ``` yaml -title: DataBoundariesClient -description: DataBoundaries Client +title: DataBoundaryMgmtClient +description: DataBoundaryMgmt Client openapi-type: arm -tag: package-resources-2025-04 +tag: package-databoundaries-2024-08 ``` ### Tag: package-databoundaries-2024-08 @@ -35,7 +35,7 @@ These settings apply only when `--tag=package-databoundaries-2024-08` is specifi ``` yaml $(tag) == 'package-databoundaries-2024-08' input-file: - - Microsoft.Resources/stable/2024-08-01/dataBoundaries.json + - stable/2024-08-01/dataBoundaries.json ``` ## Suppression diff --git a/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.nodejs.md b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.nodejs.md deleted file mode 100644 index 1787b7880294..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.nodejs.md +++ /dev/null @@ -1,59 +0,0 @@ -## Node.js - -These settings apply only when `--nodejs` is specified on the command line. -Please also specify `--node-sdks-folder=`. - -```yaml $(nodejs) -nodejs: - azure-arm: true - batch: true - package-name: azure-arm-resource - generate-license-txt: true - generate-package-json: false - generate-readme-md: false - output-folder: $(node-sdks-folder)/lib/services/resourceManagement -batch: - - package-features: true - - package-locks: true - - package-policy: true - - package-resources: true - - package-subscriptions: true - - package-links: true - - package-managedapplications: true -``` - -```yaml $(nodejs) && $(package-features) -nodejs: - source-code-folder-path: lib/feature -``` - -```yaml $(nodejs) && $(package-locks) -nodejs: - source-code-folder-path: lib/lock -``` - -```yaml $(nodejs) && $(package-policy) -nodejs: - source-code-folder-path: lib/policy -``` - -```yaml $(nodejs) && $(package-resources) -nodejs: - source-code-folder-path: lib/resource -``` - -```yaml $(nodejs) && $(package-subscriptions) -nodejs: - source-code-folder-path: lib/subscription -``` - -```yaml $(nodejs) && $(package-links) -nodejs: - source-code-folder-path: lib/link -``` - -```yaml $(nodejs) && $(package-management) -nodejs: - source-code-folder-path: lib/management - override-client-name: ManagementGroupsClient -``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.python.md b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.python.md index 9ecd5cfb7b4b..da96e4a42017 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.python.md +++ b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.python.md @@ -19,117 +19,9 @@ modelerfour: ```yaml $(python) batch: - - tag: package-privatelinks-2020-05 - - tag: package-features-2021-07 - - tag: package-links-2016-09 - - tag: package-locks-2016-09 - - tag: package-managedapplications-2019-07 - - tag: package-policy-2023-04 - - tag: package-resources-2025-04 - - tag: package-subscriptions-2022-12 - - tag: package-changes-2022-05 - tag: package-databoundaries-2024-08 ``` -### Tag: package-privatelinks-2020-05 and python - -These settings apply only when `--tag=package-privatelinks-2020-05 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-privatelinks-2020-05' -title: ResourcePrivateLinkClient -namespace: azure.mgmt.resource.privatelinks -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/privatelinks -``` - -### Tag: package-features-2021-07 and python - -These settings apply only when `--tag=package-features-2021-07 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-features-2021-07' -title: FeatureClient -namespace: azure.mgmt.resource.features -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/features -``` - -### Tag: package-links-2016-09 and python - -These settings apply only when `--tag=package-links-2016-09 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-links-2016-09' -title: ManagementLinkClient -namespace: azure.mgmt.resource.links -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/links -``` - -### Tag: package-locks-2016-09 and python - -These settings apply only when `--tag=package-locks-2016-09 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-locks-2016-09' -title: ManagementLockClient -namespace: azure.mgmt.resource.locks -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/locks -``` - -### Tag: package-managedapplications-2019-07 and python - -These settings apply only when `--tag=package-managedapplications-2019-07 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-managedapplications-2019-07' -title: ApplicationClient -namespace: azure.mgmt.resource.managedapplications -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/managedapplications -``` - -### Tag: package-policy-2023-04 and python - -These settings apply only when `--tag=package-policy-2023-04 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-policy-2023-04' -title: PolicyClient -namespace: azure.mgmt.resource.policy -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/policy -``` - -### Tag: package-resources-2025-04 and python - -These settings apply only when `--tag=package-resources-2025-04 --python` is specified on the command line. Please also -specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-resources-2025-04' -title: ResourceManagementClient -namespace: azure.mgmt.resource.resources -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/resources -``` - -### Tag: package-subscriptions-2022-12 and python - -These settings apply only when `--tag=package-subscriptions-2022-12 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-subscriptions-2022-12' -title: SubscriptionClient -namespace: azure.mgmt.resource.subscriptions -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/subscriptions -``` - -### Tag: package-changes-2022-05 and python - -These settings apply only when `--tag=package-changes-2022-05 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-changes-2022-05' -title: ChangesClient -namespace: azure.mgmt.resource.changes -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/changes -``` - ### Tag: package-databoundaries-2024-08 and python These settings apply only when `--tag=package-databoundaries-2024-08 --python` is specified on the command line. diff --git a/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.ruby.md b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.ruby.md deleted file mode 100644 index 70c149ebcbba..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.ruby.md +++ /dev/null @@ -1,304 +0,0 @@ -### Ruby multi-api for managedapplications - -``` yaml $(multiapi) && $(managedapplications) -package-name: azure_mgmt_managed_applications -package-version: "0.16.0" -azure-arm: true -batch: - - tag: package-managedapplications-2019-07 - - tag: package-managedapplications-2018-06 - - tag: package-managedapplications-2017-09 - - tag: package-managedapplications-2016-09 -``` - -### Tag: package-managedapplications-2019-07 and ruby - -These settings apply only when `--tag=package-managedapplications-2019-07 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-managedapplications-2019-07' && $(ruby) -namespace: "Azure::ManagedApplications::Mgmt::V2019_07_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib -``` - -### Tag: package-managedapplications-2018-06 and ruby - -These settings apply only when `--tag=package-managedapplications-2018-06 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-managedapplications-2018-06' && $(ruby) -namespace: "Azure::ManagedApplications::Mgmt::V2018_06_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib -``` - -### Tag: package-managedapplications-2017-09 and ruby - -These settings apply only when `--tag=package-managedapplications-2017-09 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-managedapplications-2017-09' && $(ruby) -namespace: "Azure::ManagedApplications::Mgmt::V2017_09_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib -``` - -### Tag: package-managedapplications-2016-09 and ruby - -These settings apply only when `--tag=package-managedapplications-2016-09 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-managedapplications-2016-09' && $(ruby) -namespace: "Azure::ManagedApplications::Mgmt::V2016_09_01_preview" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib -``` - -### Ruby multi-api for subscriptions - -``` yaml $(multiapi) && $(subscriptions) -package-name: azure_mgmt_subscriptions -package-version: "0.16.0" -azure-arm: true -batch: - - tag: package-subscriptions-2019-06 - - tag: package-subscriptions-2018-06 - - tag: package-subscriptions-2016-06 - - tag: package-subscriptions-2015-11 -``` - -### Tag: package-subscriptions-2019-06 and ruby - -These settings apply only when `--tag=package-subscriptions-2019-06 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-subscriptions-2019-06' && $(ruby) -namespace: "Azure::Subscriptions::Mgmt::V2019_06_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_subscriptions/lib -``` - -### Tag: package-subscriptions-2018-06 and ruby - -These settings apply only when `--tag=package-subscriptions-2018-06 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-subscriptions-2018-06' && $(ruby) -namespace: "Azure::Subscriptions::Mgmt::V2018_06_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_subscriptions/lib -``` - -### Tag: package-subscriptions-2016-06 and ruby - -These settings apply only when `--tag=package-subscriptions-2016-06 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-subscriptions-2016-06' && $(ruby) -namespace: "Azure::Subscriptions::Mgmt::V2016_06_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_subscriptions/lib -``` - -### Tag: package-subscriptions-2015-11 and ruby - -These settings apply only when `--tag=package-subscriptions-2015-11 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-subscriptions-2015-11' && $(ruby) -namespace: "Azure::Subscriptions::Mgmt::V2015_11_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_subscriptions/lib -``` - -### Ruby multi-api for features - -``` yaml $(multiapi) && $(features) -package-name: azure_mgmt_features -package-version: "0.16.0" -azure-arm: true -batch: - - tag: package-features-2021-07 - - tag: package-features-2015-12 -``` - -### Tag: package-features-2021-07 and ruby - -These settings apply only when `--tag=package-features-2021-07 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-features-2021-07' && $(ruby) -namespace: "Azure::Features::Mgmt::V2021_07_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_features/lib -``` - -### Tag: package-features-2015-12 and ruby - -These settings apply only when `--tag=package-features-2015-12 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-features-2015-12' && $(ruby) -namespace: "Azure::Features::Mgmt::V2015_12_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_features/lib -``` - -### Ruby multi-api for locks - -``` yaml $(multiapi) && $(locks) -package-name: azure_mgmt_locks -package-version: "0.16.0" -azure-arm: true -batch: - - tag: package-locks-2016-09 - - tag: package-locks-2015-01 -``` - -### Tag: package-locks-2016-09 and ruby - -These settings apply only when `--tag=package-locks-2016-09 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-locks-2016-09' && $(ruby) -namespace: "Azure::Locks::Mgmt::V2016_09_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_locks/lib -``` - -### Tag: package-locks-2015-01 and ruby - -These settings apply only when `--tag=package-locks-2015-01 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-locks-2015-01' && $(ruby) -namespace: "Azure::Locks::Mgmt::V2015_01_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_locks/lib -``` - -### Ruby multi-api for links - -``` yaml $(multiapi) && $(links) -package-name: azure_mgmt_links -package-version: "0.16.0" -azure-arm: true -batch: - - tag: package-links-2016-09 -``` - -### Tag: package-links-2016-09 and ruby - -These settings apply only when `--tag=package-links-2016-09 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-links-2016-09' && $(ruby) -namespace: "Azure::Links::Mgmt::V2016_09_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_links/lib -``` - -### Ruby multi-api for policy - -``` yaml $(multiapi) && $(policy) -package-name: azure_mgmt_policy -package-version: "0.16.0" -azure-arm: true -batch: - - tag: package-pure-policy-2017-06 - - tag: package-policy-2016-12 - - tag: package-policy-2016-04 - - tag: package-policy-2015-10 -``` - -### Tag: package-pure-policy-2017-06 and ruby - -These settings apply only when `--tag=package-pure-policy-2017-06 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-pure-policy-2017-06' && $(ruby) -namespace: "Azure::Policy::Mgmt::V2017_06_01_preview" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib -``` - -### Tag: package-policy-2016-12 and ruby - -These settings apply only when `--tag=package-policy-2016-12 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-policy-2016-12' && $(ruby) -namespace: "Azure::Policy::Mgmt::V2016_12_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib -``` - -### Tag: package-policy-2016-04 and ruby - -These settings apply only when `--tag=package-policy-2016-04 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-policy-2016-04' && $(ruby) -namespace: "Azure::Policy::Mgmt::V2016_04_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib -``` - -### Tag: package-policy-2015-10 and ruby - -These settings apply only when `--tag=package-policy-2015-10 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-policy-2015-10' && $(ruby) -namespace: "Azure::Policy::Mgmt::V2015_10_01_preview" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib -``` - -### Ruby multi-api for resources - -``` yaml $(multiapi) && $(resources) -package-name: azure_mgmt_resources -package-version: "0.16.0" -azure-arm: true -batch: - - tag: package-resources-2019-03 - - tag: package-resources-2017-05 - - tag: package-resources-2016-09 - - tag: package-resources-2016-07 - - tag: package-resources-2016-02 -``` - -### Tag: package-resources-2019-03 and ruby - -These settings apply only when `--tag=package-resources-2019-03 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-resources-2019-03' && $(ruby) -namespace: "Azure::Resources::Mgmt::V2019_03_10" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib -``` - -### Tag: package-resources-2017-05 and ruby - -These settings apply only when `--tag=package-resources-2017-05 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-resources-2017-05' && $(ruby) -namespace: "Azure::Resources::Mgmt::V2017_05_10" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib -``` - -### Tag: package-resources-2016-09 and ruby - -These settings apply only when `--tag=package-resources-2016-09 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-resources-2016-09' && $(ruby) -namespace: "Azure::Resources::Mgmt::V2016_09_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib -``` - -### Tag: package-resources-2016-07 and ruby - -These settings apply only when `--tag=package-resources-2016-07 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-resources-2016-07' && $(ruby) -namespace: "Azure::Resources::Mgmt::V2016_07_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib -``` - -### Tag: package-resources-2016-02 and ruby - -These settings apply only when `--tag=package-resources-2016-02 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-resources-2016-02' && $(ruby) -namespace: "Azure::Resources::Mgmt::V2016_02_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib -``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.terraform.md b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.terraform.md deleted file mode 100644 index e6576921e7b6..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.terraform.md +++ /dev/null @@ -1,50 +0,0 @@ - -## Terraform - -These settings apply only when `--terraform` is specified on the command line. - - -``` yaml $(terraform) -batch: - - package-features: true - - package-policy: true - - package-managedapplications: true -``` - -```yaml $(terraform) && $(package-policy) -terraform: - cli-name: policy - package-name: policy -output-folder: $(terraform-output-folder)/policy -clear-output-folder: true -``` - -```yaml $(terraform) && $(package-features) -terraform: - cli-name: features - package-name: features -output-folder: $(terraform-output-folder)/features -clear-output-folder: true -``` - -```yaml $(terraform) && $(package-managedapplications) -terraform: - cli-name: managedApplications - package-name: managedapplications -output-folder: $(terraform-output-folder)/managedapplications -clear-output-folder: true - -overrides: - - where: - resource: "Applications" - property: "/parameters" - set: - - GoVariableName: "appParameters" - - Gen: "newgen" -``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.typescript.md b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.typescript.md index 646080c41e8e..2fbd6b49a0a1 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.typescript.md +++ b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.typescript.md @@ -9,14 +9,6 @@ typescript: batch: true generate-metadata: true batch: - - package-resources: true - - package-features: true - - package-locks: true - - package-policy: true - - package-links: true - - package-managedapplications: true - - package-subscriptions: true - - package-changes: true - package-databoundaries: true ``` @@ -26,134 +18,3 @@ typescript: package-name: "@azure/arm-databoundaries" output-folder: "$(typescript-sdks-folder)/sdk/databoundaries/arm-databoundaries" ``` - -```yaml $(typescript) && $(package-features) && !$(profile-content) -typescript: - package-name: "@azure/arm-features" - output-folder: "$(typescript-sdks-folder)/sdk/features/arm-features" -``` - -```yaml $(typescript) && $(package-locks) && !$(profile-content) -typescript: - package-name: "@azure/arm-locks" - output-folder: "$(typescript-sdks-folder)/sdk/locks/arm-locks" -``` - -```yaml $(typescript) && $(package-policy) && !$(profile-content) -typescript: - package-name: "@azure/arm-policy" - output-folder: "$(typescript-sdks-folder)/sdk/policy/arm-policy" - -modelerfour: - treat-type-object-as-anything: true -``` - -```yaml $(typescript) && $(package-resources) && !$(profile-content) -typescript: - package-name: "@azure/arm-resources" - output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-resources" -``` - -```yaml $(typescript) && $(package-links) && !$(profile-content) -typescript: - package-name: "@azure/arm-links" - output-folder: "$(typescript-sdks-folder)/sdk/links/arm-links" -``` - -```yaml $(typescript) && $(package-managedapplications) && !$(profile-content) -typescript: - package-name: "@azure/arm-managedapplications" - output-folder: "$(typescript-sdks-folder)/sdk/managedapplications/arm-managedapplications" -``` - -```yaml $(typescript) && $(package-subscriptions) && !$(profile-content) -typescript: - package-name: "@azure/arm-resources-subscriptions" - output-folder: "$(typescript-sdks-folder)/sdk/resources-subscriptions/arm-resources-subscriptions" -``` - -```yaml $(typescript) && $(package-changes) && !$(profile-content) -typescript: - package-name: "@azure/arm-changes" - output-folder: "$(typescript-sdks-folder)/sdk/changes/arm-changes" -``` - -```yaml $(tag)=='package-resources-2018-05' && $(profile-content)=='profile-hybrid-2019-03-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-resources-profile-2019-03-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-resources-profile-2019-03-01-hybrid" - batch: - - tag: package-resources-2018-05 -``` - -```yaml $(tag)=='package-policy-2016-12' && $(profile-content)=='profile-hybrid-2019-03-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-policy-profile-2019-03-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/policy/arm-policy-profile-2019-03-01-hybrid" - batch: - - tag: package-policy-2016-12 -``` - -```yaml $(tag)=='package-locks-2016-09' && $(profile-content)=='profile-hybrid-2019-03-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-locks-profile-2019-03-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/locks/arm-locks-profile-2019-03-01-hybrid" - batch: - - tag: package-locks-2016-09 -``` - -```yaml $(tag)=='package-subscriptions-2016-06' && $(profile-content)=='profile-hybrid-2019-03-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-subscriptions-profile-2019-03-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/subscription/arm-subscriptions-profile-2019-03-01-hybrid" - batch: - - tag: package-subscriptions-2016-06 -``` - -```yaml $(tag)=='package-resources-2019-10' && $(profile-content)=='profile-hybrid-2020-09-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-resources-profile-2020-09-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-resources-profile-2020-09-01-hybrid" - batch: - - tag: package-resources-2019-10 -``` - -```yaml $(tag)=='package-policy-2016-12' && $(profile-content)=='profile-hybrid-2020-09-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-policy-profile-2020-09-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/policy/arm-policy-profile-2020-09-01-hybrid" - batch: - - tag: package-policy-2016-12 -``` - -```yaml $(tag)=='package-locks-2016-09' && $(profile-content)=='profile-hybrid-2020-09-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-locks-profile-2020-09-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/locks/arm-locks-profile-2020-09-01-hybrid" - batch: - - tag: package-locks-2016-09 -``` - -```yaml $(tag)=='package-subscriptions-2016-06' && $(profile-content)=='profile-hybrid-2020-09-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-subscriptions-profile-2020-09-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid" - batch: - - tag: package-subscriptions-2016-06 -``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/databoundaries/stable/2024-08-01/dataBoundaries.json b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/stable/2024-08-01/dataBoundaries.json index d5a5c94d5a54..5d87b68c6659 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/databoundaries/stable/2024-08-01/dataBoundaries.json +++ b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/stable/2024-08-01/dataBoundaries.json @@ -43,20 +43,20 @@ "description": "Lists all of the available Microsoft.Resources REST API operations.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "OK. The request has succeeded.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -79,7 +79,7 @@ "description": "Opt-in tenant to data boundary.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "name": "dataBoundaryDefinition", @@ -126,7 +126,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } } @@ -139,7 +139,7 @@ "description": "Get data boundary of tenant.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "name": "default", @@ -171,7 +171,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } } @@ -186,10 +186,10 @@ "description": "Get data boundary at specified scope", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ScopeParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ScopeParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "name": "default", @@ -221,7 +221,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } } @@ -234,7 +234,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ], "properties": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/bicep/suppressions.yaml b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/suppressions.yaml similarity index 57% rename from specification/resources/resource-manager/Microsoft.Resources/bicep/suppressions.yaml rename to specification/resources/resource-manager/Microsoft.Resources/databoundaries/suppressions.yaml index c7bf35f91a5f..f41953a475c0 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/bicep/suppressions.yaml +++ b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/suppressions.yaml @@ -1,4 +1,3 @@ - tool: TypeSpecRequirement - paths: - - bicep/stable/2023-11-01/bicepClient.json + path: ./stable/2024-08-01/*.json reason: Brownfield service not ready to migrate \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/sdk-suppressions.yaml b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/sdk-suppressions.yaml index 148ac5b05a8d..d8fa844f29ea 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/sdk-suppressions.yaml +++ b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/sdk-suppressions.yaml @@ -1,18 +1,5 @@ suppressions: azure-sdk-for-go: - - package: sdk/resourcemanager/resources/armresources - breaking-changes: - - Operation `*TagsClient.CreateOrUpdateAtScope` has been changed to LRO, use `*TagsClient.BeginCreateOrUpdateAtScope` instead. - - Operation `*TagsClient.DeleteAtScope` has been changed to LRO, use `*TagsClient.BeginDeleteAtScope` instead. - - Operation `*TagsClient.UpdateAtScope` has been changed to LRO, use `*TagsClient.BeginUpdateAtScope` instead. - - Type of `DeploymentProperties.Parameters` has been changed from `any` to `map[string]*DeploymentParameter` - - Type of `DeploymentWhatIfProperties.Parameters` has been changed from `any` to `map[string]*DeploymentParameter` - - Field `DeploymentValidateResult` of struct `DeploymentsClientValidateAtManagementGroupScopeResponse` has been removed - - Field `DeploymentValidateResult` of struct `DeploymentsClientValidateAtScopeResponse` has been removed - - Field `DeploymentValidateResult` of struct `DeploymentsClientValidateAtSubscriptionScopeResponse` has been removed - - Field `DeploymentValidateResult` of struct `DeploymentsClientValidateAtTenantScopeResponse` has been removed - - Field `DeploymentValidateResult` of struct `DeploymentsClientValidateResponse` has been removed - - Struct `DeploymentValidateResult` has been removed - package: sdk/resourcemanager/resources/armdeploymentstacks breaking-changes: - Struct `DeploymentStackPropertiesActionOnUnmanage` has been removed @@ -22,92 +9,4 @@ suppressions: - Type of `DeploymentStackProperties.Parameters` has been changed from `any` to `map[string]*DeploymentParameter` - Type of `ResourceReferenceExtended.Error` has been changed from `*ErrorResponse` to `*ErrorDetail` - "`DeploymentStackProvisioningStateLocking` from enum `DeploymentStackProvisioningState` has been removed" - - "`ResourceStatusModeNone` from enum `ResourceStatusMode` has been removed" - - package: sdk/resourcemanager/resources/armpolicy - breaking-changes: - - Enum `AliasPathAttributes` has been removed - - Enum `AliasPathTokenType` has been removed - - Enum `AliasPatternType` has been removed - - Enum `AliasType` has been removed - - Enum `AssignmentScopeValidation` has been removed - - Enum `ExemptionCategory` has been removed - - Function `*ClientFactory.NewDataPolicyManifestsClient` has been removed - - Function `*ClientFactory.NewExemptionsClient` has been removed - - Function `*ClientFactory.NewVariableValuesClient` has been removed - - Function `*ClientFactory.NewVariablesClient` has been removed - - Function `NewDataPolicyManifestsClient` has been removed - - Function `*DataPolicyManifestsClient.GetByPolicyMode` has been removed - - Function `*DataPolicyManifestsClient.NewListPager` has been removed - - Function `NewExemptionsClient` has been removed - - Function `*ExemptionsClient.CreateOrUpdate` has been removed - - Function `*ExemptionsClient.Delete` has been removed - - Function `*ExemptionsClient.Get` has been removed - - Function `*ExemptionsClient.NewListForManagementGroupPager` has been removed - - Function `*ExemptionsClient.NewListForResourceGroupPager` has been removed - - Function `*ExemptionsClient.NewListForResourcePager` has been removed - - Function `*ExemptionsClient.NewListPager` has been removed - - Function `*ExemptionsClient.Update` has been removed - - Function `NewVariableValuesClient` has been removed - - Function `*VariableValuesClient.CreateOrUpdate` has been removed - - Function `*VariableValuesClient.CreateOrUpdateAtManagementGroup` has been removed - - Function `*VariableValuesClient.Delete` has been removed - - Function `*VariableValuesClient.DeleteAtManagementGroup` has been removed - - Function `*VariableValuesClient.Get` has been removed - - Function `*VariableValuesClient.GetAtManagementGroup` has been removed - - Function `*VariableValuesClient.NewListForManagementGroupPager` has been removed - - Function `*VariableValuesClient.NewListPager` has been removed - - Function `NewVariablesClient` has been removed - - Function `*VariablesClient.CreateOrUpdate` has been removed - - Function `*VariablesClient.CreateOrUpdateAtManagementGroup` has been removed - - Function `*VariablesClient.Delete` has been removed - - Function `*VariablesClient.DeleteAtManagementGroup` has been removed - - Function `*VariablesClient.Get` has been removed - - Function `*VariablesClient.GetAtManagementGroup` has been removed - - Function `*VariablesClient.NewListForManagementGroupPager` has been removed - - Function `*VariablesClient.NewListPager` has been removed - - Struct `Alias` has been removed - - Struct `AliasPath` has been removed - - Struct `AliasPathMetadata` has been removed - - Struct `AliasPattern` has been removed - - Struct `DataEffect` has been removed - - Struct `DataManifestCustomResourceFunctionDefinition` has been removed - - Struct `DataManifestResourceFunctionsDefinition` has been removed - - Struct `DataPolicyManifest` has been removed - - Struct `DataPolicyManifestListResult` has been removed - - Struct `DataPolicyManifestProperties` has been removed - - Struct `Exemption` has been removed - - Struct `ExemptionListResult` has been removed - - Struct `ExemptionProperties` has been removed - - Struct `ExemptionUpdate` has been removed - - Struct `ExemptionUpdateProperties` has been removed - - Struct `ResourceTypeAliases` has been removed - - Struct `Variable` has been removed - - Struct `VariableColumn` has been removed - - Struct `VariableListResult` has been removed - - Struct `VariableProperties` has been removed - - Struct `VariableValue` has been removed - - Struct `VariableValueColumnValue` has been removed - - Struct `VariableValueListResult` has been removed - - Struct `VariableValueProperties` has been removed - azure-sdk-for-js: - - package: "@azure/arm-resources" - breaking-changes: - - Class ResourceManagementClient has a new signature - - Removed operation TagsOperations.createOrUpdateAtScope - - Removed operation TagsOperations.deleteAtScope - - Removed operation TagsOperations.updateAtScope - - "Type of parameter parameters of interface DeploymentProperties is changed from Record to {\n [propertyName: string]: DeploymentParameter;\n }" - - package: "@azure/arm-policy" - breaking-changes: - - Class PolicyClient no longer has parameter dataPolicyManifests - - Class PolicyClient no longer has parameter policyExemptions - - Removed Enum KnownAliasPathAttributes - - Removed Enum KnownAliasPathTokenType - - Removed Enum KnownExemptionCategory - - Removed operation group DataPolicyManifests - - Removed operation group PolicyExemptions - - Interface ErrorResponse no longer has parameter additionalInfo - - Interface ErrorResponse no longer has parameter code - - Interface ErrorResponse no longer has parameter details - - Interface ErrorResponse no longer has parameter message - - Interface ErrorResponse no longer has parameter target \ No newline at end of file + - "`ResourceStatusModeNone` from enum `ResourceStatusMode` has been removed" \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/suppressions.yaml b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/suppressions.yaml deleted file mode 100644 index ecca20762cd4..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/suppressions.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- tool: TypeSpecRequirement - paths: - - deploymentStacks/preview/2022-08-01-preview/deploymentStacks.json - - deploymentStacks/stable/2024-03-01/deploymentStacks.json - reason: Brownfield service not ready to migrate \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/links/readme.go.md b/specification/resources/resource-manager/Microsoft.Resources/links/readme.go.md index e439424a6139..5f4519af4ef7 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/links/readme.go.md +++ b/specification/resources/resource-manager/Microsoft.Resources/links/readme.go.md @@ -12,22 +12,6 @@ directive: reason: Necessary to match Unicode characters in the Go regexp engine. ``` -``` yaml $(go) && $(track2) && $(package-resources) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armresources -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - -``` yaml $(go) && $(track2) && $(package-features) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armfeatures -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - ``` yaml $(go) && $(track2) && $(package-links) license-header: MICROSOFT_MIT_NO_VERSION module-name: sdk/resourcemanager/resources/armlinks @@ -35,53 +19,3 @@ module: github.com/Azure/azure-sdk-for-go/$(module-name) output-folder: $(go-sdk-folder)/$(module-name) azure-arm: true ``` - -``` yaml $(go) && $(track2) && $(package-locks) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armlocks -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - -``` yaml $(go) && $(track2) && $(package-managedapplications) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armmanagedapplications -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - -``` yaml $(go) && $(track2) && $(package-policy) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armpolicy -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - -``` yaml $(go) && $(track2) && $(package-subscriptions) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armsubscriptions -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -modelerfour: - lenient-model-deduplication: true -``` - -``` yaml $(go) && $(track2) && $(package-changes) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armchanges -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - -``` yaml $(go) && $(track2) && $(package-databoundaries) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/databoundaries/armdataboundaries -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/links/readme.java.md b/specification/resources/resource-manager/Microsoft.Resources/links/readme.java.md deleted file mode 100644 index 6dedca1a0423..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/links/readme.java.md +++ /dev/null @@ -1,60 +0,0 @@ -## Java - -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(java) -enable-sync-stack: false - -directive: - - rename-operation: - from: Tags_DeleteValue - to: TagOperations_DeleteValue - - rename-operation: - from: Tags_CreateOrUpdateValue - to: TagOperations_CreateOrUpdateValue - - rename-operation: - from: Tags_CreateOrUpdate - to: TagOperations_CreateOrUpdate - - rename-operation: - from: Tags_Delete - to: TagOperations_Delete - - rename-operation: - from: Tags_DeleteValue - to: TagOperations_DeleteValue - - rename-operation: - from: Tags_List - to: TagOperations_List - - rename-operation: - from: Tags_CreateOrUpdateAtScope - to: TagOperations_CreateOrUpdateAtScope - - rename-operation: - from: Tags_UpdateAtScope - to: TagOperations_UpdateAtScope - - rename-operation: - from: Tags_GetAtScope - to: TagOperations_GetAtScope - - rename-operation: - from: Tags_DeleteAtScope - to: TagOperations_DeleteAtScope -``` - -``` yaml $(tag) == 'package-policy-2022-06-java' -input-file: -- Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json -- Microsoft.Authorization/stable/2021-06-01/policyDefinitions.json -- Microsoft.Authorization/stable/2021-06-01/policySetDefinitions.json -- Microsoft.Authorization/stable/2022-06-01/policyAssignments.json -- Microsoft.Authorization/preview/2022-07-01-preview/policyExemptions.json -``` - -``` yaml $(tag) == 'package-policy-2023-04-java' -input-file: -- Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json -- Microsoft.Authorization/stable/2023-04-01/policyDefinitions.json -- Microsoft.Authorization/stable/2023-04-01/policyDefinitionVersions.json -- Microsoft.Authorization/stable/2023-04-01/policySetDefinitions.json -- Microsoft.Authorization/stable/2023-04-01/policySetDefinitionVersions.json -- Microsoft.Authorization/stable/2023-04-01/policyAssignments.json -- Microsoft.Authorization/preview/2022-07-01-preview/policyExemptions.json -``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/links/readme.md b/specification/resources/resource-manager/Microsoft.Resources/links/readme.md index 5be29a7991c8..2369daf4d71f 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/links/readme.md +++ b/specification/resources/resource-manager/Microsoft.Resources/links/readme.md @@ -23,8 +23,8 @@ To see additional help and options, run: These are the global settings for the Resource API. ``` yaml -title: LinksClient -description: Links Client +title: ManagementLinkClient +description: ManagementLink Client openapi-type: arm tag: package-resources-2025-04 ``` @@ -35,7 +35,7 @@ These settings apply only when `--tag=package-links-2016-09` is specified on the ``` yaml $(tag) == 'package-links-2016-09' input-file: -- Microsoft.Resources/stable/2016-09-01/links.json +- stable/2016-09-01/links.json ``` --- diff --git a/specification/resources/resource-manager/Microsoft.Resources/links/readme.nodejs.md b/specification/resources/resource-manager/Microsoft.Resources/links/readme.nodejs.md index 1787b7880294..f9eecb2fd240 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/links/readme.nodejs.md +++ b/specification/resources/resource-manager/Microsoft.Resources/links/readme.nodejs.md @@ -13,47 +13,10 @@ nodejs: generate-readme-md: false output-folder: $(node-sdks-folder)/lib/services/resourceManagement batch: - - package-features: true - - package-locks: true - - package-policy: true - - package-resources: true - - package-subscriptions: true - package-links: true - - package-managedapplications: true -``` - -```yaml $(nodejs) && $(package-features) -nodejs: - source-code-folder-path: lib/feature -``` - -```yaml $(nodejs) && $(package-locks) -nodejs: - source-code-folder-path: lib/lock -``` - -```yaml $(nodejs) && $(package-policy) -nodejs: - source-code-folder-path: lib/policy -``` - -```yaml $(nodejs) && $(package-resources) -nodejs: - source-code-folder-path: lib/resource -``` - -```yaml $(nodejs) && $(package-subscriptions) -nodejs: - source-code-folder-path: lib/subscription ``` ```yaml $(nodejs) && $(package-links) nodejs: source-code-folder-path: lib/link ``` - -```yaml $(nodejs) && $(package-management) -nodejs: - source-code-folder-path: lib/management - override-client-name: ManagementGroupsClient -``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/links/readme.python.md b/specification/resources/resource-manager/Microsoft.Resources/links/readme.python.md index 9ecd5cfb7b4b..ddef57a3cd05 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/links/readme.python.md +++ b/specification/resources/resource-manager/Microsoft.Resources/links/readme.python.md @@ -19,38 +19,7 @@ modelerfour: ```yaml $(python) batch: - - tag: package-privatelinks-2020-05 - - tag: package-features-2021-07 - tag: package-links-2016-09 - - tag: package-locks-2016-09 - - tag: package-managedapplications-2019-07 - - tag: package-policy-2023-04 - - tag: package-resources-2025-04 - - tag: package-subscriptions-2022-12 - - tag: package-changes-2022-05 - - tag: package-databoundaries-2024-08 -``` - -### Tag: package-privatelinks-2020-05 and python - -These settings apply only when `--tag=package-privatelinks-2020-05 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-privatelinks-2020-05' -title: ResourcePrivateLinkClient -namespace: azure.mgmt.resource.privatelinks -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/privatelinks -``` - -### Tag: package-features-2021-07 and python - -These settings apply only when `--tag=package-features-2021-07 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-features-2021-07' -title: FeatureClient -namespace: azure.mgmt.resource.features -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/features ``` ### Tag: package-links-2016-09 and python @@ -63,82 +32,3 @@ title: ManagementLinkClient namespace: azure.mgmt.resource.links output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/links ``` - -### Tag: package-locks-2016-09 and python - -These settings apply only when `--tag=package-locks-2016-09 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-locks-2016-09' -title: ManagementLockClient -namespace: azure.mgmt.resource.locks -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/locks -``` - -### Tag: package-managedapplications-2019-07 and python - -These settings apply only when `--tag=package-managedapplications-2019-07 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-managedapplications-2019-07' -title: ApplicationClient -namespace: azure.mgmt.resource.managedapplications -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/managedapplications -``` - -### Tag: package-policy-2023-04 and python - -These settings apply only when `--tag=package-policy-2023-04 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-policy-2023-04' -title: PolicyClient -namespace: azure.mgmt.resource.policy -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/policy -``` - -### Tag: package-resources-2025-04 and python - -These settings apply only when `--tag=package-resources-2025-04 --python` is specified on the command line. Please also -specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-resources-2025-04' -title: ResourceManagementClient -namespace: azure.mgmt.resource.resources -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/resources -``` - -### Tag: package-subscriptions-2022-12 and python - -These settings apply only when `--tag=package-subscriptions-2022-12 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-subscriptions-2022-12' -title: SubscriptionClient -namespace: azure.mgmt.resource.subscriptions -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/subscriptions -``` - -### Tag: package-changes-2022-05 and python - -These settings apply only when `--tag=package-changes-2022-05 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-changes-2022-05' -title: ChangesClient -namespace: azure.mgmt.resource.changes -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/changes -``` - -### Tag: package-databoundaries-2024-08 and python - -These settings apply only when `--tag=package-databoundaries-2024-08 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-databoundaries-2024-08' -title: DataBoundaryMgmtClient -namespace: azure.mgmt.resource.databoundaries -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/databoundaries -directive: - - remove-operation: "Operations_List" -``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/links/readme.ruby.md b/specification/resources/resource-manager/Microsoft.Resources/links/readme.ruby.md index 70c149ebcbba..e4fe6a735c7d 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/links/readme.ruby.md +++ b/specification/resources/resource-manager/Microsoft.Resources/links/readme.ruby.md @@ -1,171 +1,3 @@ -### Ruby multi-api for managedapplications - -``` yaml $(multiapi) && $(managedapplications) -package-name: azure_mgmt_managed_applications -package-version: "0.16.0" -azure-arm: true -batch: - - tag: package-managedapplications-2019-07 - - tag: package-managedapplications-2018-06 - - tag: package-managedapplications-2017-09 - - tag: package-managedapplications-2016-09 -``` - -### Tag: package-managedapplications-2019-07 and ruby - -These settings apply only when `--tag=package-managedapplications-2019-07 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-managedapplications-2019-07' && $(ruby) -namespace: "Azure::ManagedApplications::Mgmt::V2019_07_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib -``` - -### Tag: package-managedapplications-2018-06 and ruby - -These settings apply only when `--tag=package-managedapplications-2018-06 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-managedapplications-2018-06' && $(ruby) -namespace: "Azure::ManagedApplications::Mgmt::V2018_06_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib -``` - -### Tag: package-managedapplications-2017-09 and ruby - -These settings apply only when `--tag=package-managedapplications-2017-09 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-managedapplications-2017-09' && $(ruby) -namespace: "Azure::ManagedApplications::Mgmt::V2017_09_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib -``` - -### Tag: package-managedapplications-2016-09 and ruby - -These settings apply only when `--tag=package-managedapplications-2016-09 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-managedapplications-2016-09' && $(ruby) -namespace: "Azure::ManagedApplications::Mgmt::V2016_09_01_preview" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib -``` - -### Ruby multi-api for subscriptions - -``` yaml $(multiapi) && $(subscriptions) -package-name: azure_mgmt_subscriptions -package-version: "0.16.0" -azure-arm: true -batch: - - tag: package-subscriptions-2019-06 - - tag: package-subscriptions-2018-06 - - tag: package-subscriptions-2016-06 - - tag: package-subscriptions-2015-11 -``` - -### Tag: package-subscriptions-2019-06 and ruby - -These settings apply only when `--tag=package-subscriptions-2019-06 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-subscriptions-2019-06' && $(ruby) -namespace: "Azure::Subscriptions::Mgmt::V2019_06_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_subscriptions/lib -``` - -### Tag: package-subscriptions-2018-06 and ruby - -These settings apply only when `--tag=package-subscriptions-2018-06 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-subscriptions-2018-06' && $(ruby) -namespace: "Azure::Subscriptions::Mgmt::V2018_06_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_subscriptions/lib -``` - -### Tag: package-subscriptions-2016-06 and ruby - -These settings apply only when `--tag=package-subscriptions-2016-06 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-subscriptions-2016-06' && $(ruby) -namespace: "Azure::Subscriptions::Mgmt::V2016_06_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_subscriptions/lib -``` - -### Tag: package-subscriptions-2015-11 and ruby - -These settings apply only when `--tag=package-subscriptions-2015-11 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-subscriptions-2015-11' && $(ruby) -namespace: "Azure::Subscriptions::Mgmt::V2015_11_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_subscriptions/lib -``` - -### Ruby multi-api for features - -``` yaml $(multiapi) && $(features) -package-name: azure_mgmt_features -package-version: "0.16.0" -azure-arm: true -batch: - - tag: package-features-2021-07 - - tag: package-features-2015-12 -``` - -### Tag: package-features-2021-07 and ruby - -These settings apply only when `--tag=package-features-2021-07 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-features-2021-07' && $(ruby) -namespace: "Azure::Features::Mgmt::V2021_07_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_features/lib -``` - -### Tag: package-features-2015-12 and ruby - -These settings apply only when `--tag=package-features-2015-12 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-features-2015-12' && $(ruby) -namespace: "Azure::Features::Mgmt::V2015_12_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_features/lib -``` - -### Ruby multi-api for locks - -``` yaml $(multiapi) && $(locks) -package-name: azure_mgmt_locks -package-version: "0.16.0" -azure-arm: true -batch: - - tag: package-locks-2016-09 - - tag: package-locks-2015-01 -``` - -### Tag: package-locks-2016-09 and ruby - -These settings apply only when `--tag=package-locks-2016-09 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-locks-2016-09' && $(ruby) -namespace: "Azure::Locks::Mgmt::V2016_09_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_locks/lib -``` - -### Tag: package-locks-2015-01 and ruby - -These settings apply only when `--tag=package-locks-2015-01 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-locks-2015-01' && $(ruby) -namespace: "Azure::Locks::Mgmt::V2015_01_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_locks/lib -``` - ### Ruby multi-api for links ``` yaml $(multiapi) && $(links) @@ -185,120 +17,3 @@ Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-pure-policy-2017-06' && $(ruby) -namespace: "Azure::Policy::Mgmt::V2017_06_01_preview" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib -``` - -### Tag: package-policy-2016-12 and ruby - -These settings apply only when `--tag=package-policy-2016-12 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-policy-2016-12' && $(ruby) -namespace: "Azure::Policy::Mgmt::V2016_12_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib -``` - -### Tag: package-policy-2016-04 and ruby - -These settings apply only when `--tag=package-policy-2016-04 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-policy-2016-04' && $(ruby) -namespace: "Azure::Policy::Mgmt::V2016_04_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib -``` - -### Tag: package-policy-2015-10 and ruby - -These settings apply only when `--tag=package-policy-2015-10 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-policy-2015-10' && $(ruby) -namespace: "Azure::Policy::Mgmt::V2015_10_01_preview" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib -``` - -### Ruby multi-api for resources - -``` yaml $(multiapi) && $(resources) -package-name: azure_mgmt_resources -package-version: "0.16.0" -azure-arm: true -batch: - - tag: package-resources-2019-03 - - tag: package-resources-2017-05 - - tag: package-resources-2016-09 - - tag: package-resources-2016-07 - - tag: package-resources-2016-02 -``` - -### Tag: package-resources-2019-03 and ruby - -These settings apply only when `--tag=package-resources-2019-03 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-resources-2019-03' && $(ruby) -namespace: "Azure::Resources::Mgmt::V2019_03_10" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib -``` - -### Tag: package-resources-2017-05 and ruby - -These settings apply only when `--tag=package-resources-2017-05 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-resources-2017-05' && $(ruby) -namespace: "Azure::Resources::Mgmt::V2017_05_10" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib -``` - -### Tag: package-resources-2016-09 and ruby - -These settings apply only when `--tag=package-resources-2016-09 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-resources-2016-09' && $(ruby) -namespace: "Azure::Resources::Mgmt::V2016_09_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib -``` - -### Tag: package-resources-2016-07 and ruby - -These settings apply only when `--tag=package-resources-2016-07 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-resources-2016-07' && $(ruby) -namespace: "Azure::Resources::Mgmt::V2016_07_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib -``` - -### Tag: package-resources-2016-02 and ruby - -These settings apply only when `--tag=package-resources-2016-02 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-resources-2016-02' && $(ruby) -namespace: "Azure::Resources::Mgmt::V2016_02_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib -``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/links/readme.terraform.md b/specification/resources/resource-manager/Microsoft.Resources/links/readme.terraform.md deleted file mode 100644 index e6576921e7b6..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/links/readme.terraform.md +++ /dev/null @@ -1,50 +0,0 @@ - -## Terraform - -These settings apply only when `--terraform` is specified on the command line. - - -``` yaml $(terraform) -batch: - - package-features: true - - package-policy: true - - package-managedapplications: true -``` - -```yaml $(terraform) && $(package-policy) -terraform: - cli-name: policy - package-name: policy -output-folder: $(terraform-output-folder)/policy -clear-output-folder: true -``` - -```yaml $(terraform) && $(package-features) -terraform: - cli-name: features - package-name: features -output-folder: $(terraform-output-folder)/features -clear-output-folder: true -``` - -```yaml $(terraform) && $(package-managedapplications) -terraform: - cli-name: managedApplications - package-name: managedapplications -output-folder: $(terraform-output-folder)/managedapplications -clear-output-folder: true - -overrides: - - where: - resource: "Applications" - property: "/parameters" - set: - - GoVariableName: "appParameters" - - Gen: "newgen" -``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/links/readme.typescript.md b/specification/resources/resource-manager/Microsoft.Resources/links/readme.typescript.md index 646080c41e8e..7df0ec7a737c 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/links/readme.typescript.md +++ b/specification/resources/resource-manager/Microsoft.Resources/links/readme.typescript.md @@ -9,49 +9,7 @@ typescript: batch: true generate-metadata: true batch: - - package-resources: true - - package-features: true - - package-locks: true - - package-policy: true - package-links: true - - package-managedapplications: true - - package-subscriptions: true - - package-changes: true - - package-databoundaries: true -``` - -```yaml $(typescript) && $(package-databoundaries) && !$(profile-content) -title: DataboundariesManegementClient -typescript: - package-name: "@azure/arm-databoundaries" - output-folder: "$(typescript-sdks-folder)/sdk/databoundaries/arm-databoundaries" -``` - -```yaml $(typescript) && $(package-features) && !$(profile-content) -typescript: - package-name: "@azure/arm-features" - output-folder: "$(typescript-sdks-folder)/sdk/features/arm-features" -``` - -```yaml $(typescript) && $(package-locks) && !$(profile-content) -typescript: - package-name: "@azure/arm-locks" - output-folder: "$(typescript-sdks-folder)/sdk/locks/arm-locks" -``` - -```yaml $(typescript) && $(package-policy) && !$(profile-content) -typescript: - package-name: "@azure/arm-policy" - output-folder: "$(typescript-sdks-folder)/sdk/policy/arm-policy" - -modelerfour: - treat-type-object-as-anything: true -``` - -```yaml $(typescript) && $(package-resources) && !$(profile-content) -typescript: - package-name: "@azure/arm-resources" - output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-resources" ``` ```yaml $(typescript) && $(package-links) && !$(profile-content) @@ -59,101 +17,3 @@ typescript: package-name: "@azure/arm-links" output-folder: "$(typescript-sdks-folder)/sdk/links/arm-links" ``` - -```yaml $(typescript) && $(package-managedapplications) && !$(profile-content) -typescript: - package-name: "@azure/arm-managedapplications" - output-folder: "$(typescript-sdks-folder)/sdk/managedapplications/arm-managedapplications" -``` - -```yaml $(typescript) && $(package-subscriptions) && !$(profile-content) -typescript: - package-name: "@azure/arm-resources-subscriptions" - output-folder: "$(typescript-sdks-folder)/sdk/resources-subscriptions/arm-resources-subscriptions" -``` - -```yaml $(typescript) && $(package-changes) && !$(profile-content) -typescript: - package-name: "@azure/arm-changes" - output-folder: "$(typescript-sdks-folder)/sdk/changes/arm-changes" -``` - -```yaml $(tag)=='package-resources-2018-05' && $(profile-content)=='profile-hybrid-2019-03-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-resources-profile-2019-03-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-resources-profile-2019-03-01-hybrid" - batch: - - tag: package-resources-2018-05 -``` - -```yaml $(tag)=='package-policy-2016-12' && $(profile-content)=='profile-hybrid-2019-03-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-policy-profile-2019-03-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/policy/arm-policy-profile-2019-03-01-hybrid" - batch: - - tag: package-policy-2016-12 -``` - -```yaml $(tag)=='package-locks-2016-09' && $(profile-content)=='profile-hybrid-2019-03-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-locks-profile-2019-03-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/locks/arm-locks-profile-2019-03-01-hybrid" - batch: - - tag: package-locks-2016-09 -``` - -```yaml $(tag)=='package-subscriptions-2016-06' && $(profile-content)=='profile-hybrid-2019-03-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-subscriptions-profile-2019-03-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/subscription/arm-subscriptions-profile-2019-03-01-hybrid" - batch: - - tag: package-subscriptions-2016-06 -``` - -```yaml $(tag)=='package-resources-2019-10' && $(profile-content)=='profile-hybrid-2020-09-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-resources-profile-2020-09-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-resources-profile-2020-09-01-hybrid" - batch: - - tag: package-resources-2019-10 -``` - -```yaml $(tag)=='package-policy-2016-12' && $(profile-content)=='profile-hybrid-2020-09-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-policy-profile-2020-09-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/policy/arm-policy-profile-2020-09-01-hybrid" - batch: - - tag: package-policy-2016-12 -``` - -```yaml $(tag)=='package-locks-2016-09' && $(profile-content)=='profile-hybrid-2020-09-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-locks-profile-2020-09-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/locks/arm-locks-profile-2020-09-01-hybrid" - batch: - - tag: package-locks-2016-09 -``` - -```yaml $(tag)=='package-subscriptions-2016-06' && $(profile-content)=='profile-hybrid-2020-09-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-subscriptions-profile-2020-09-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid" - batch: - - tag: package-subscriptions-2016-06 -``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/links/suppressions.yaml b/specification/resources/resource-manager/Microsoft.Resources/links/suppressions.yaml new file mode 100644 index 000000000000..f4c65e8799a7 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/links/suppressions.yaml @@ -0,0 +1,3 @@ +- tool: TypeSpecRequirement + path: ./stable/2016-09-01/*.json + reason: Brownfield service not ready to migrate \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/readme.md b/specification/resources/resource-manager/Microsoft.Resources/resources/readme.md index b8146eca77a2..5c3904fa03cd 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/resources/readme.md +++ b/specification/resources/resource-manager/Microsoft.Resources/resources/readme.md @@ -23,8 +23,8 @@ To see additional help and options, run: These are the global settings for the Resource API. ``` yaml -title: ResourcesClient -description: Resources Client +title: ResourceManagementClient +description: ResourceManagement Client openapi-type: arm tag: package-resources-2025-04 ``` @@ -35,7 +35,7 @@ These settings apply only when `--tag=package-resources-2023-07` is specified on ``` yaml $(tag) == 'package-resources-2023-07' input-file: - - Microsoft.Resources/stable/2023-07-01/resources.json + - stable/2023-07-01/resources.json ``` ### Tag: package-resources-2024-03 @@ -44,7 +44,7 @@ These settings apply only when `--tag=package-resources-2024-03` is specified on ``` yaml $(tag) == 'package-resources-2024-03' input-file: - - Microsoft.Resources/stable/2024-03-01/resources.json + - stable/2024-03-01/resources.json ``` ### Tag: package-resources-2024-07 @@ -53,7 +53,7 @@ These settings apply only when `--tag=package-resources-2024-07` is specified on ``` yaml $(tag) == 'package-resources-2024-07' input-file: - - Microsoft.Resources/stable/2024-07-01/resources.json + - stable/2024-07-01/resources.json ``` ### Tag: package-resources-2024-11 @@ -62,7 +62,7 @@ These settings apply only when `--tag=package-resources-2024-11` is specified on ``` yaml $(tag) == 'package-resources-2024-11' input-file: - - Microsoft.Resources/stable/2024-11-01/resources.json + - stable/2024-11-01/resources.json ``` ### Tag: package-resources-2025-03 @@ -71,7 +71,7 @@ These settings apply only when `--tag=package-resources-2025-03` is specified on ``` yaml $(tag) == 'package-resources-2025-03' input-file: - - Microsoft.Resources/stable/2025-03-01/resources.json + - stable/2025-03-01/resources.json ``` ### Tag: package-resources-2025-04 @@ -80,7 +80,7 @@ These settings apply only when `--tag=package-resources-2025-04` is specified on ``` yaml $(tag) == 'package-resources-2025-04' input-file: - - Microsoft.Resources/stable/2025-04-01/resources.json + - stable/2025-04-01/resources.json ``` ### Tag: package-resources-2022-09 @@ -89,7 +89,7 @@ These settings apply only when `--tag=package-resources-2022-09` is specified on ``` yaml $(tag) == 'package-resources-2022-09' input-file: -- Microsoft.Resources/stable/2022-09-01/resources.json +- stable/2022-09-01/resources.json ``` ### Tag: package-resources-2021-04 @@ -98,7 +98,7 @@ These settings apply only when `--tag=package-resources-2021-04` is specified on ``` yaml $(tag) == 'package-resources-2021-04' input-file: -- Microsoft.Resources/stable/2021-04-01/resources.json +- stable/2021-04-01/resources.json ``` ### Tag: package-resources-2021-01 @@ -107,7 +107,7 @@ These settings apply only when `--tag=package-resources-2021-01` is specified on ``` yaml $(tag) == 'package-resources-2021-01' input-file: -- Microsoft.Resources/stable/2021-01-01/resources.json +- stable/2021-01-01/resources.json ``` ### Tag: package-resources-2020-10 @@ -116,7 +116,7 @@ These settings apply only when `--tag=package-resources-2020-10` is specified on ``` yaml $(tag) == 'package-resources-2020-10' input-file: - - Microsoft.Resources/stable/2020-10-01/resources.json + - stable/2020-10-01/resources.json ``` ### Tag: package-resources-2020-08 @@ -125,7 +125,7 @@ These settings apply only when `--tag=package-resources-2020-08` is specified on ``` yaml $(tag) == 'package-resources-2020-08' input-file: - - Microsoft.Resources/stable/2020-08-01/resources.json + - stable/2020-08-01/resources.json ``` ### Tag: package-resources-2020-06 @@ -134,7 +134,7 @@ These settings apply only when `--tag=package-resources-2020-06` is specified on ``` yaml $(tag) == 'package-resources-2020-06' input-file: -- Microsoft.Resources/stable/2020-06-01/resources.json +- stable/2020-06-01/resources.json ``` ### Tag: package-resources-2019-10 @@ -143,7 +143,7 @@ These settings apply only when `--tag=package-resources-2019-10` is specified on ``` yaml $(tag) == 'package-resources-2019-10' input-file: -- Microsoft.Resources/stable/2019-10-01/resources.json +- stable/2019-10-01/resources.json ``` ### Tag: package-resources-2019-08 @@ -152,7 +152,7 @@ These settings apply only when `--tag=package-resources-2019-08` is specified on ``` yaml $(tag) == 'package-resources-2019-08' input-file: -- Microsoft.Resources/stable/2019-08-01/resources.json +- stable/2019-08-01/resources.json ``` ### Tag: package-resources-2019-07 @@ -161,7 +161,7 @@ These settings apply only when `--tag=package-resources-2019-07` is specified on ``` yaml $(tag) == 'package-resources-2019-07' input-file: -- Microsoft.Resources/stable/2019-07-01/resources.json +- stable/2019-07-01/resources.json ``` ### Tag: package-resources-2019-0510 @@ -170,7 +170,7 @@ These settings apply only when `--tag=package-resources-2019-0510` is specified ``` yaml $(tag) == 'package-resources-2019-0510' input-file: -- Microsoft.Resources/stable/2019-05-10/resources.json +- stable/2019-05-10/resources.json ``` ### Tag: package-resources-2019-05 @@ -179,7 +179,7 @@ These settings apply only when `--tag=package-resources-2019-05` is specified on ``` yaml $(tag) == 'package-resources-2019-05' input-file: -- Microsoft.Resources/stable/2019-05-01/resources.json +- stable/2019-05-01/resources.json ``` ### Tag: package-resources-2019-03 @@ -188,7 +188,7 @@ These settings apply only when `--tag=package-resources-2019-03` is specified on ``` yaml $(tag) == 'package-resources-2019-03' input-file: -- Microsoft.Resources/stable/2019-03-01/resources.json +- stable/2019-03-01/resources.json ``` ### Tag: package-resources-2018-05 @@ -197,7 +197,7 @@ These settings apply only when `--tag=package-resources-2018-05` is specified on ``` yaml $(tag) == 'package-resources-2018-05' input-file: -- Microsoft.Resources/stable/2018-05-01/resources.json +- stable/2018-05-01/resources.json ``` ### Tag: package-resources-2018-02 @@ -206,7 +206,7 @@ These settings apply only when `--tag=package-resources-2018-02` is specified on ``` yaml $(tag) == 'package-resources-2018-02' input-file: -- Microsoft.Resources/stable/2018-02-01/resources.json +- stable/2018-02-01/resources.json ``` ### Tag: package-resources-2017-05 @@ -215,7 +215,7 @@ These settings apply only when `--tag=package-resources-2017-05` is specified on ``` yaml $(tag) == 'package-resources-2017-05' input-file: -- Microsoft.Resources/stable/2017-05-10/resources.json +- stable/2017-05-10/resources.json ``` ### Tag: package-resources-2016-09 @@ -224,7 +224,7 @@ These settings apply only when `--tag=package-resources-2016-09` is specified on ``` yaml $(tag) == 'package-resources-2016-09' input-file: -- Microsoft.Resources/stable/2016-09-01/resources.json +- stable/2016-09-01/resources.json ``` ### Tag: package-resources-2016-07 @@ -233,7 +233,7 @@ These settings apply only when `--tag=package-resources-2016-07` is specified on ``` yaml $(tag) == 'package-resources-2016-07' input-file: -- Microsoft.Resources/stable/2016-07-01/resources.json +- stable/2016-07-01/resources.json ``` ### Tag: package-resources-2016-02 @@ -242,7 +242,7 @@ These settings apply only when `--tag=package-resources-2016-02` is specified on ``` yaml $(tag) == 'package-resources-2016-02' input-file: -- Microsoft.Resources/stable/2016-02-01/resources.json +- stable/2016-02-01/resources.json ``` ### Tag: package-resources-2015-11 @@ -251,7 +251,7 @@ These settings apply only when `--tag=package-resources-2015-11` is specified on ``` yaml $(tag) == 'package-resources-2015-11' input-file: -- Microsoft.Resources/stable/2015-11-01/resources.json +- stable/2015-11-01/resources.json ``` ## Suppression @@ -480,19 +480,19 @@ directive: where: $.definitions.ProviderPermissionListResult reason: "Historically some properties have not been returned for this model and reviewer said OK to suppress." - suppress: OperationsAPIImplementation - from: Microsoft.Resources/stable/2016-02-01/resources.json + from: stable/2016-02-01/resources.json reason: Pre-existing lint error. - suppress: OperationsAPIImplementation - from: Microsoft.Resources/stable/2016-07-01/resources.json + from: stable/2016-07-01/resources.json reason: Pre-existing lint error. - suppress: OperationsAPIImplementation - from: Microsoft.Resources/stable/2016-09-01/resources.json + from: stable/2016-09-01/resources.json reason: Pre-existing lint error. - suppress: OperationsAPIImplementation - from: Microsoft.Resources/stable/2017-05-10/resources.json + from: stable/2017-05-10/resources.json reason: Pre-existing lint error. - suppress: OperationsAPIImplementation - from: Microsoft.Resources/stable/2018-02-01/resources.json + from: stable/2018-02-01/resources.json reason: Pre-existing lint error. ``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/sdk-suppressions.yaml b/specification/resources/resource-manager/Microsoft.Resources/resources/sdk-suppressions.yaml index 148ac5b05a8d..a044a1639128 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/resources/sdk-suppressions.yaml +++ b/specification/resources/resource-manager/Microsoft.Resources/resources/sdk-suppressions.yaml @@ -13,82 +13,6 @@ suppressions: - Field `DeploymentValidateResult` of struct `DeploymentsClientValidateAtTenantScopeResponse` has been removed - Field `DeploymentValidateResult` of struct `DeploymentsClientValidateResponse` has been removed - Struct `DeploymentValidateResult` has been removed - - package: sdk/resourcemanager/resources/armdeploymentstacks - breaking-changes: - - Struct `DeploymentStackPropertiesActionOnUnmanage` has been removed - - Struct `ErrorResponse` has been removed - - Type of `DeploymentStackProperties.ActionOnUnmanage` has been changed from `*DeploymentStackPropertiesActionOnUnmanage` to `*ActionOnUnmanage` - - Type of `DeploymentStackProperties.Error` has been changed from `*ErrorResponse` to `*ErrorDetail` - - Type of `DeploymentStackProperties.Parameters` has been changed from `any` to `map[string]*DeploymentParameter` - - Type of `ResourceReferenceExtended.Error` has been changed from `*ErrorResponse` to `*ErrorDetail` - - "`DeploymentStackProvisioningStateLocking` from enum `DeploymentStackProvisioningState` has been removed" - - "`ResourceStatusModeNone` from enum `ResourceStatusMode` has been removed" - - package: sdk/resourcemanager/resources/armpolicy - breaking-changes: - - Enum `AliasPathAttributes` has been removed - - Enum `AliasPathTokenType` has been removed - - Enum `AliasPatternType` has been removed - - Enum `AliasType` has been removed - - Enum `AssignmentScopeValidation` has been removed - - Enum `ExemptionCategory` has been removed - - Function `*ClientFactory.NewDataPolicyManifestsClient` has been removed - - Function `*ClientFactory.NewExemptionsClient` has been removed - - Function `*ClientFactory.NewVariableValuesClient` has been removed - - Function `*ClientFactory.NewVariablesClient` has been removed - - Function `NewDataPolicyManifestsClient` has been removed - - Function `*DataPolicyManifestsClient.GetByPolicyMode` has been removed - - Function `*DataPolicyManifestsClient.NewListPager` has been removed - - Function `NewExemptionsClient` has been removed - - Function `*ExemptionsClient.CreateOrUpdate` has been removed - - Function `*ExemptionsClient.Delete` has been removed - - Function `*ExemptionsClient.Get` has been removed - - Function `*ExemptionsClient.NewListForManagementGroupPager` has been removed - - Function `*ExemptionsClient.NewListForResourceGroupPager` has been removed - - Function `*ExemptionsClient.NewListForResourcePager` has been removed - - Function `*ExemptionsClient.NewListPager` has been removed - - Function `*ExemptionsClient.Update` has been removed - - Function `NewVariableValuesClient` has been removed - - Function `*VariableValuesClient.CreateOrUpdate` has been removed - - Function `*VariableValuesClient.CreateOrUpdateAtManagementGroup` has been removed - - Function `*VariableValuesClient.Delete` has been removed - - Function `*VariableValuesClient.DeleteAtManagementGroup` has been removed - - Function `*VariableValuesClient.Get` has been removed - - Function `*VariableValuesClient.GetAtManagementGroup` has been removed - - Function `*VariableValuesClient.NewListForManagementGroupPager` has been removed - - Function `*VariableValuesClient.NewListPager` has been removed - - Function `NewVariablesClient` has been removed - - Function `*VariablesClient.CreateOrUpdate` has been removed - - Function `*VariablesClient.CreateOrUpdateAtManagementGroup` has been removed - - Function `*VariablesClient.Delete` has been removed - - Function `*VariablesClient.DeleteAtManagementGroup` has been removed - - Function `*VariablesClient.Get` has been removed - - Function `*VariablesClient.GetAtManagementGroup` has been removed - - Function `*VariablesClient.NewListForManagementGroupPager` has been removed - - Function `*VariablesClient.NewListPager` has been removed - - Struct `Alias` has been removed - - Struct `AliasPath` has been removed - - Struct `AliasPathMetadata` has been removed - - Struct `AliasPattern` has been removed - - Struct `DataEffect` has been removed - - Struct `DataManifestCustomResourceFunctionDefinition` has been removed - - Struct `DataManifestResourceFunctionsDefinition` has been removed - - Struct `DataPolicyManifest` has been removed - - Struct `DataPolicyManifestListResult` has been removed - - Struct `DataPolicyManifestProperties` has been removed - - Struct `Exemption` has been removed - - Struct `ExemptionListResult` has been removed - - Struct `ExemptionProperties` has been removed - - Struct `ExemptionUpdate` has been removed - - Struct `ExemptionUpdateProperties` has been removed - - Struct `ResourceTypeAliases` has been removed - - Struct `Variable` has been removed - - Struct `VariableColumn` has been removed - - Struct `VariableListResult` has been removed - - Struct `VariableProperties` has been removed - - Struct `VariableValue` has been removed - - Struct `VariableValueColumnValue` has been removed - - Struct `VariableValueListResult` has been removed - - Struct `VariableValueProperties` has been removed azure-sdk-for-js: - package: "@azure/arm-resources" breaking-changes: @@ -97,17 +21,3 @@ suppressions: - Removed operation TagsOperations.deleteAtScope - Removed operation TagsOperations.updateAtScope - "Type of parameter parameters of interface DeploymentProperties is changed from Record to {\n [propertyName: string]: DeploymentParameter;\n }" - - package: "@azure/arm-policy" - breaking-changes: - - Class PolicyClient no longer has parameter dataPolicyManifests - - Class PolicyClient no longer has parameter policyExemptions - - Removed Enum KnownAliasPathAttributes - - Removed Enum KnownAliasPathTokenType - - Removed Enum KnownExemptionCategory - - Removed operation group DataPolicyManifests - - Removed operation group PolicyExemptions - - Interface ErrorResponse no longer has parameter additionalInfo - - Interface ErrorResponse no longer has parameter code - - Interface ErrorResponse no longer has parameter details - - Interface ErrorResponse no longer has parameter message - - Interface ErrorResponse no longer has parameter target \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2015-11-01/examples/CheckResourceName.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2015-11-01/examples/CheckResourceName.json deleted file mode 100644 index 77e33c4ba8f2..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2015-11-01/examples/CheckResourceName.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "body": [ - { - "Name": "isxbox", - "Type": "ResourceProviderTestHost/TestResourceType" - } - ], - "api-version": "2015-11-01" - }, - "responses": { - "200": { - "body": { - "name": "isxbox", - "type": "ResourceProviderTestHost/TestResourceType", - "status": "Allowed" - } - } - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2015-11-01/examples/PostCheckZonePeers.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2015-11-01/examples/PostCheckZonePeers.json deleted file mode 100644 index fd52e3c1b2e6..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2015-11-01/examples/PostCheckZonePeers.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-00000000000000", - "api-version": "2021-01-01", - "parameters": { - "location": "eastus", - "subscriptionIds": [ - "subscriptions/11111111-1111-1111-1111-111111111111" - ] - } - }, - "responses": { - "200": { - "body": { - "subscriptionId": "00000000-0000-0000-0000-00000000000000", - "location": "eastus2", - "availabilityZonePeers": [ - { - "availabilityZone": "1", - "peers": [ - { - "subscriptionId": "11111111-1111-1111-1111-111111111111", - "availabilityZone": "3" - } - ] - }, - { - "availabilityZone": "2", - "peers": [ - { - "subscriptionId": "11111111-1111-1111-1111-111111111111", - "availabilityZone": "2" - } - ] - }, - { - "availabilityZone": "3", - "peers": [ - { - "subscriptionId": "11111111-1111-1111-1111-111111111111", - "availabilityZone": "1" - } - ] - } - ] - } - } - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-07-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-07-01/resources.json index 501c1bffb5eb..41b5c6732f06 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-07-01/resources.json +++ b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-07-01/resources.json @@ -1775,7 +1775,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response for a resource management request." @@ -2367,7 +2367,7 @@ "description": "The template content." }, "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse", + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse", "description": "The template export error." } }, diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-08-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-08-01/resources.json index 4af9bfea8be0..e0213c26c0ee 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-08-01/resources.json +++ b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-08-01/resources.json @@ -628,13 +628,13 @@ "description": "Captures the specified resource group as a template.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "parameters", @@ -1775,7 +1775,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response for a resource management request." @@ -2367,7 +2367,7 @@ "description": "The template content." }, "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse", + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse", "description": "The template export error." } }, diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-10-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-10-01/resources.json index 3b5a73fa32a7..21eda10d80e6 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-10-01/resources.json +++ b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2019-10-01/resources.json @@ -628,13 +628,13 @@ "description": "Captures the specified resource group as a template.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "parameters", @@ -1927,7 +1927,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response for a resource management request." @@ -2595,7 +2595,7 @@ "description": "The template content." }, "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse", + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse", "description": "The template export error." } }, diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-06-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-06-01/resources.json index dd5f843a1ace..10e8be95d97c 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-06-01/resources.json +++ b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-06-01/resources.json @@ -677,13 +677,13 @@ "description": "Captures the specified resource group as a template.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "parameters", @@ -1969,7 +1969,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response for a resource management request." @@ -2754,7 +2754,7 @@ "description": "The template content." }, "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse", + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse", "description": "The template export error." } }, diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-08-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-08-01/resources.json index 1b0f5095a41b..b2c1a8128907 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-08-01/resources.json +++ b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-08-01/resources.json @@ -687,13 +687,13 @@ "description": "Captures the specified resource group as a template.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "parameters", @@ -1979,7 +1979,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response for a resource management request." @@ -2807,7 +2807,7 @@ "description": "The template content." }, "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse", + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse", "description": "The template export error." } }, diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-10-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-10-01/resources.json index c3114ed14fcf..2cf1fd41e053 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-10-01/resources.json +++ b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2020-10-01/resources.json @@ -722,13 +722,13 @@ "description": "Captures the specified resource group as a template.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "parameters", @@ -2014,7 +2014,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response for a resource management request." @@ -2842,7 +2842,7 @@ "description": "The template content." }, "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse", + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse", "description": "The template export error." } }, diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/CheckResourceName.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/CheckResourceName.json deleted file mode 100644 index 45b60e3b9971..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/CheckResourceName.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "body": [ - { - "Name": "isxbox", - "Type": "ResourceProviderTestHost/TestResourceType" - } - ], - "api-version": "2021-01-01" - }, - "responses": { - "200": { - "body": { - "name": "isxbox", - "type": "ResourceProviderTestHost/TestResourceType", - "status": "Allowed" - } - } - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetLocations.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetLocations.json deleted file mode 100644 index 445f660c0b38..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetLocations.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "parameters": { - "subscriptionId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05", - "api-version": "2021-01-01" - }, - "responses": { - "200": { - "body": [ - { - "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05/locations/eastus", - "name": "eastus", - "type": "Region", - "displayName": "East US", - "regionalDisplayName": "(US) East US", - "metadata": { - "regionType": "Physical", - "regionCategory": "Recommended", - "geographyGroup": "US", - "longitude": "-79.8164", - "latitude": "37.3719", - "physicalLocation": "Virginia", - "pairedRegion": [ - { - "name": "westus", - "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05/locations/westus" - } - ] - } - }, - { - "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05/locations/eastus2", - "name": "eastus2", - "type": "Region", - "displayName": "East US 2", - "regionalDisplayName": "(US) East US 2", - "metadata": { - "regionType": "Physical", - "regionCategory": "Recommended", - "geographyGroup": "US", - "longitude": "-78.3889", - "latitude": "36.6681", - "physicalLocation": "Virginia", - "pairedRegion": [ - { - "name": "centralus", - "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05/locations/centralus" - } - ] - } - } - ] - } - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetLocationsWithExtendedLocations.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetLocationsWithExtendedLocations.json deleted file mode 100644 index ded38f8b6a21..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetLocationsWithExtendedLocations.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "parameters": { - "subscriptionId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05", - "api-version": "2021-01-01", - "includeExtendedLocations": "true" - }, - "responses": { - "200": { - "body": [ - { - "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05/locations/eastus", - "name": "eastus", - "type": "Region", - "displayName": "East US", - "regionalDisplayName": "(US) East US", - "metadata": { - "regionType": "Physical", - "regionCategory": "Recommended", - "geographyGroup": "US", - "longitude": "-79.8164", - "latitude": "37.3719", - "physicalLocation": "Virginia", - "pairedRegion": [ - { - "name": "westus", - "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05/locations/westus" - } - ] - } - }, - { - "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05/locations/eastus2", - "name": "eastus2", - "type": "Region", - "displayName": "East US 2", - "regionalDisplayName": "(US) East US 2", - "metadata": { - "regionType": "Physical", - "regionCategory": "Recommended", - "geographyGroup": "US", - "longitude": "-78.3889", - "latitude": "36.6681", - "physicalLocation": "Virginia", - "pairedRegion": [ - { - "name": "centralus", - "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05/locations/centralus" - } - ] - } - }, - { - "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05/locations/westus/edgeZones/microsoftlosangeles1", - "name": "microsoftlosangeles1", - "type": "EdgeZone", - "displayName": "Microsoft Los Angeles 1", - "regionalDisplayName": "Microsoft Los Angeles 1", - "metadata": { - "regionType": "Physical", - "regionCategory": "Extended", - "longitude": "-118.235374", - "latitude": "34.058414", - "homeLocation": "westus" - } - }, - { - "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05/locations/eastus2euap/edgeZones/microsoftrrdclab1", - "name": "microsoftrrdclab1", - "type": "EdgeZone", - "displayName": "Microsoft RRDC Lab 1", - "regionalDisplayName": "Microsoft RRDC Lab 1", - "metadata": { - "regionType": "Physical", - "regionCategory": "Extended", - "longitude": "-122.03197", - "latitude": "47.69106", - "homeLocation": "eastus2euap" - } - } - ] - } - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetSubscription.json deleted file mode 100644 index f62a28551dcc..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetSubscription.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "subscriptionId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05", - "api-version": "2021-01-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05", - "subscriptionId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05", - "tenantId": "31c75423-32d6-4322-88b7-c478bdde4858", - "displayName": "Example Subscription", - "state": "Enabled", - "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" - }, - "authorizationSource": "Bypassed", - "managedByTenants": [ - { - "tenantId": "8f70baf1-1f6e-46a2-a1ff-238dac1ebfb7" - } - ], - "tags": { - "tagKey1": "tagValue1", - "tagKey2": "tagValue2" - } - } - } - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetSubscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetSubscriptions.json deleted file mode 100644 index b340788d7eee..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetSubscriptions.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "parameters": { - "api-version": "2021-01-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05", - "subscriptionId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05", - "tenantId": "31c75423-32d6-4322-88b7-c478bdde4858", - "displayName": "Example Subscription", - "state": "Enabled", - "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" - }, - "authorizationSource": "RoleBased", - "managedByTenants": [ - { - "tenantId": "8f70baf1-1f6e-46a2-a1ff-238dac1ebfb7" - } - ], - "tags": { - "tagKey1": "tagValue1", - "tagKey2": "tagValue2" - } - }, - { - "id": "/subscriptions/72ac930a-f34e-42d8-b06d-dc2a9e12ed71", - "subscriptionId": "72ac930a-f34e-42d8-b06d-dc2a9e12ed71", - "tenantId": "2a0ff0de-96b2-4859-bb7c-a430d07a3e0c", - "displayName": "Example Subscription2", - "state": "Enabled", - "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" - }, - "authorizationSource": "RoleBased", - "managedByTenants": [ - { - "tenantId": "8f70baf1-1f6e-46a2-a1ff-238dac1ebfb7" - }, - { - "tenantId": "f7fb6af2-321d-47c8-9c0f-b0239eaad39a" - } - ], - "tags": { - "tagKey1": "tagValue1", - "tagKey2": "tagValue2" - } - } - ], - "nextLink": "..." - } - } - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetTenants.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetTenants.json deleted file mode 100644 index 553693bbc1e4..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/GetTenants.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "parameters": { - "api-version": "2021-01-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/tenants/a70a1586-9c4a-4373-b907-1d310660dbd1", - "tenantId": "a70a1586-9c4a-4373-b907-1d310660dbd1", - "countryCode": "US", - "displayName": "Test_Test_aad50", - "domains": [ - "aad50.ccsctp.net" - ], - "tenantCategory": "ManagedBy", - "defaultDomain": "aad50.ccsctp.net", - "tenantType": "AAD" - }, - { - "id": "/tenants/83abe5cd-bcc3-441a-bd86-e6a75360cecc", - "tenantId": "83abe5cd-bcc3-441a-bd86-e6a75360cecc", - "countryCode": "US", - "displayName": "Contoso Corp.", - "domains": [ - "auxteststagemanual.ccsctp.net" - ], - "tenantCategory": "Home", - "defaultDomain": "auxteststagemanual.ccsctp.net", - "tenantType": "AAD" - }, - { - "id": "/tenants/daea2e9b-847b-4c93-850d-2aa6f2d7af33", - "tenantId": "daea2e9b-847b-4c93-850d-2aa6f2d7af33", - "countryCode": "US", - "displayName": "TEST_TEST_RDV", - "domains": [ - "rdvmohoro.ccsctp.net", - "rdvmohoro.mail.ccsctp.net", - "rdvmohoro.com" - ], - "tenantCategory": "ProjectedBy", - "defaultDomain": "rdvmohoro.ccsctp.net", - "tenantType": "AAD", - "tenantBrandingLogoUrl": "logo1.logo.rdvmohoro.com" - } - ], - "nextLink": "..." - } - } - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/PostCheckZonePeers.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/PostCheckZonePeers.json deleted file mode 100644 index fd52e3c1b2e6..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/examples/PostCheckZonePeers.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-00000000000000", - "api-version": "2021-01-01", - "parameters": { - "location": "eastus", - "subscriptionIds": [ - "subscriptions/11111111-1111-1111-1111-111111111111" - ] - } - }, - "responses": { - "200": { - "body": { - "subscriptionId": "00000000-0000-0000-0000-00000000000000", - "location": "eastus2", - "availabilityZonePeers": [ - { - "availabilityZone": "1", - "peers": [ - { - "subscriptionId": "11111111-1111-1111-1111-111111111111", - "availabilityZone": "3" - } - ] - }, - { - "availabilityZone": "2", - "peers": [ - { - "subscriptionId": "11111111-1111-1111-1111-111111111111", - "availabilityZone": "2" - } - ] - }, - { - "availabilityZone": "3", - "peers": [ - { - "subscriptionId": "11111111-1111-1111-1111-111111111111", - "availabilityZone": "1" - } - ] - } - ] - } - } - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/resources.json index ecc384275f82..36688255674f 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/resources.json +++ b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/resources.json @@ -743,13 +743,13 @@ "description": "Captures the specified resource group as a template.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "parameters", @@ -2042,7 +2042,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response for a resource management request." @@ -2899,7 +2899,7 @@ "description": "The template content." }, "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse", + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse", "description": "The template export error." } }, diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/subscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/subscriptions.json deleted file mode 100644 index 3e83a8bd8f27..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-01-01/subscriptions.json +++ /dev/null @@ -1,847 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "SubscriptionClient", - "version": "2021-01-01", - "description": "All resource groups and resources exist within subscriptions. These operation enable you get information about your subscriptions and tenants. A tenant is a dedicated instance of Azure Active Directory (Azure AD) for your organization." - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/locations": { - "get": { - "tags": [ - "Subscriptions" - ], - "operationId": "Subscriptions_ListLocations", - "summary": "Gets all available geo-locations.", - "description": "This operation provides all the locations that are available for resource providers; however, each resource provider may support a subset of this list.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "includeExtendedLocations", - "in": "query", - "required": false, - "type": "boolean", - "description": "Whether to include extended locations.", - "x-ms-parameter-location": "method" - } - ], - "responses": { - "200": { - "description": "OK - Returns an array of locations.", - "schema": { - "$ref": "#/definitions/LocationListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - }, - "x-ms-examples": { - "GetLocationsWithASubscriptionId": { - "$ref": "./examples/GetLocations.json" - }, - "GetLocationsWithExtendedLocations": { - "$ref": "./examples/GetLocationsWithExtendedLocations.json" - } - } - } - }, - "/subscriptions/{subscriptionId}": { - "get": { - "tags": [ - "Subscriptions" - ], - "operationId": "Subscriptions_Get", - "description": "Gets details about a specified subscription.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns information about the subscription.", - "schema": { - "$ref": "#/definitions/Subscription" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "GetASingleSubscription": { - "$ref": "./examples/GetSubscription.json" - } - } - } - }, - "/subscriptions": { - "get": { - "tags": [ - "Subscriptions" - ], - "operationId": "Subscriptions_List", - "description": "Gets all subscriptions for a tenant.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns an array of subscriptions.", - "schema": { - "$ref": "#/definitions/SubscriptionListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "GetAllSubscriptions": { - "$ref": "./examples/GetSubscriptions.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/tenants": { - "get": { - "tags": [ - "Tenants" - ], - "operationId": "Tenants_List", - "description": "Gets the tenants for your account.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns an array of tenants.", - "schema": { - "$ref": "#/definitions/TenantListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "GetAllTenants": { - "$ref": "./examples/GetTenants.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/checkZonePeers/": { - "post": { - "tags": [ - "Subscriptions" - ], - "operationId": "Subscriptions_CheckZonePeers", - "description": "Compares a subscriptions logical zone mapping", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CheckZonePeersRequest" - }, - "description": "Parameters for checking zone peers." - } - ], - "responses": { - "200": { - "description": "OK - Returns information about the logical availability zone mapping between subscriptions", - "schema": { - "$ref": "#/definitions/CheckZonePeersResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GetLogicalZoneMapping": { - "$ref": "./examples/PostCheckZonePeers.json" - } - } - } - }, - "/providers/Microsoft.Resources/checkResourceName": { - "post": { - "tags": [ - "Tenants" - ], - "operationId": "checkResourceName", - "description": "A resource name is valid if it is not a reserved word, does not contains a reserved word and does not start with a reserved word", - "summary": "Checks resource name validity", - "consumes": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/CheckResourceNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns status as allowed or not.", - "schema": { - "$ref": "#/definitions/CheckResourceNameResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "CheckValidityForAResourceName": { - "$ref": "./examples/CheckResourceName.json" - } - } - } - } - }, - "definitions": { - "PairedRegion": { - "description": "Information regarding paired region.", - "properties": { - "name": { - "type": "string", - "readOnly": true, - "description": "The name of the paired region." - }, - "id": { - "readOnly": true, - "type": "string", - "description": "The fully qualified ID of the location. For example, /subscriptions/00000000-0000-0000-0000-000000000000/locations/westus." - }, - "subscriptionId": { - "readOnly": true, - "type": "string", - "description": "The subscription ID." - } - } - }, - "LocationMetadata": { - "description": "Location metadata information", - "properties": { - "regionType": { - "readOnly": true, - "type": "string", - "description": "The type of the region.", - "enum": [ - "Physical", - "Logical" - ], - "x-ms-enum": { - "name": "RegionType", - "modelAsString": true - } - }, - "regionCategory": { - "readOnly": true, - "type": "string", - "description": "The category of the region.", - "enum": [ - "Recommended", - "Extended", - "Other" - ], - "x-ms-enum": { - "name": "RegionCategory", - "modelAsString": true - } - }, - "geographyGroup": { - "readOnly": true, - "type": "string", - "description": "The geography group of the location." - }, - "longitude": { - "readOnly": true, - "type": "string", - "description": "The longitude of the location." - }, - "latitude": { - "readOnly": true, - "type": "string", - "description": "The latitude of the location." - }, - "physicalLocation": { - "readOnly": true, - "type": "string", - "description": "The physical location of the Azure location." - }, - "pairedRegion": { - "type": "array", - "description": "The regions paired to this region.", - "items": { - "$ref": "#/definitions/PairedRegion" - } - }, - "homeLocation": { - "readOnly": true, - "type": "string", - "description": "The home location of an edge zone." - } - } - }, - "Location": { - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The fully qualified ID of the location. For example, /subscriptions/00000000-0000-0000-0000-000000000000/locations/westus." - }, - "subscriptionId": { - "readOnly": true, - "type": "string", - "description": "The subscription ID." - }, - "name": { - "readOnly": true, - "type": "string", - "description": "The location name." - }, - "type": { - "readOnly": true, - "type": "string", - "description": "The location type.", - "enum": [ - "Region", - "EdgeZone" - ], - "x-ms-enum": { - "name": "LocationType", - "modelAsString": false - } - }, - "displayName": { - "readOnly": true, - "type": "string", - "description": "The display name of the location." - }, - "regionalDisplayName": { - "readOnly": true, - "type": "string", - "description": "The display name of the location and its region." - }, - "metadata": { - "description": "Metadata of the location, such as lat/long, paired region, and others.", - "$ref": "#/definitions/LocationMetadata" - } - }, - "description": "Location information." - }, - "LocationListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Location" - }, - "description": "An array of locations." - } - }, - "description": "Location list operation response." - }, - "Subscription": { - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The fully qualified ID for the subscription. For example, /subscriptions/00000000-0000-0000-0000-000000000000." - }, - "subscriptionId": { - "readOnly": true, - "type": "string", - "description": "The subscription ID." - }, - "displayName": { - "readOnly": true, - "type": "string", - "description": "The subscription display name." - }, - "tenantId": { - "readOnly": true, - "type": "string", - "description": "The subscription tenant ID." - }, - "state": { - "readOnly": true, - "type": "string", - "description": "The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted.", - "enum": [ - "Enabled", - "Warned", - "PastDue", - "Disabled", - "Deleted" - ], - "x-ms-enum": { - "name": "SubscriptionState", - "modelAsString": false - } - }, - "subscriptionPolicies": { - "$ref": "#/definitions/SubscriptionPolicies", - "description": "The subscription policies." - }, - "authorizationSource": { - "type": "string", - "description": "The authorization source of the request. Valid values are one or more combinations of Legacy, RoleBased, Bypassed, Direct and Management. For example, 'Legacy, RoleBased'." - }, - "managedByTenants": { - "type": "array", - "items": { - "$ref": "#/definitions/ManagedByTenant" - }, - "x-ms-identifiers": [ - "tenantId" - ], - "description": "An array containing the tenants managing the subscription." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string", - "description": "The additional properties. " - }, - "description": "The tags attached to the subscription." - } - }, - "description": "Subscription information." - }, - "SubscriptionPolicies": { - "properties": { - "locationPlacementId": { - "readOnly": true, - "type": "string", - "description": "The subscription location placement ID. The ID indicates which regions are visible for a subscription. For example, a subscription with a location placement Id of Public_2014-09-01 has access to Azure public regions." - }, - "quotaId": { - "readOnly": true, - "type": "string", - "description": "The subscription quota ID." - }, - "spendingLimit": { - "readOnly": true, - "type": "string", - "description": "The subscription spending limit.", - "enum": [ - "On", - "Off", - "CurrentPeriodOff" - ], - "x-ms-enum": { - "name": "spendingLimit", - "modelAsString": false - } - } - }, - "description": "Subscription policies." - }, - "ManagedByTenant": { - "properties": { - "tenantId": { - "readOnly": true, - "type": "string", - "description": "The tenant ID of the managing tenant. This is a GUID." - } - }, - "description": "Information about a tenant managing the subscription." - }, - "SubscriptionListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Subscription" - }, - "description": "An array of subscriptions." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - }, - "required": [ - "nextLink" - ], - "description": "Subscription list operation response." - }, - "TenantIdDescription": { - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The fully qualified ID of the tenant. For example, /tenants/00000000-0000-0000-0000-000000000000." - }, - "tenantId": { - "readOnly": true, - "type": "string", - "description": "The tenant ID. For example, 00000000-0000-0000-0000-000000000000." - }, - "tenantCategory": { - "readOnly": true, - "type": "string", - "description": "Category of the tenant.", - "enum": [ - "Home", - "ProjectedBy", - "ManagedBy" - ], - "x-ms-enum": { - "name": "TenantCategory", - "modelAsString": false - } - }, - "country": { - "readOnly": true, - "type": "string", - "description": "Country/region name of the address for the tenant." - }, - "countryCode": { - "readOnly": true, - "type": "string", - "description": "Country/region abbreviation for the tenant." - }, - "displayName": { - "readOnly": true, - "type": "string", - "description": "The display name of the tenant." - }, - "domains": { - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "description": "The domain name for a tenant." - }, - "description": "The list of domains for the tenant." - }, - "defaultDomain": { - "readOnly": true, - "type": "string", - "description": "The default domain for the tenant." - }, - "tenantType": { - "readOnly": true, - "type": "string", - "description": "The tenant type. Only available for 'Home' tenant category." - }, - "tenantBrandingLogoUrl": { - "readOnly": true, - "type": "string", - "description": "The tenant's branding logo URL. Only available for 'Home' tenant category." - } - }, - "description": "Tenant Id information." - }, - "TenantListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/TenantIdDescription" - }, - "description": "An array of tenants." - }, - "nextLink": { - "type": "string", - "description": "The URL to use for getting the next set of results." - } - }, - "required": [ - "nextLink" - ], - "description": "Tenant Ids information." - }, - "ResourceName": { - "description": "Name and Type of the Resource", - "required": [ - "name", - "type" - ], - "properties": { - "name": { - "description": "Name of the resource", - "type": "string" - }, - "type": { - "type": "string", - "description": "The type of the resource" - } - } - }, - "CheckResourceNameResult": { - "properties": { - "name": { - "description": "Name of Resource", - "type": "string" - }, - "type": { - "description": "Type of Resource", - "type": "string" - }, - "status": { - "description": "Is the resource name Allowed or Reserved", - "type": "string", - "enum": [ - "Allowed", - "Reserved" - ], - "x-ms-enum": { - "name": "ResourceNameStatus", - "modelAsString": true - } - } - }, - "description": "Resource Name valid if not a reserved word, does not contain a reserved word and does not start with a reserved word" - }, - "CloudError": { - "x-ms-external": true, - "properties": { - "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" - } - }, - "description": "An error response for a resource management request." - }, - "Operation": { - "description": "Microsoft.Resources operation", - "type": "object", - "properties": { - "name": { - "description": "Operation name: {provider}/{resource}/{operation}", - "type": "string" - }, - "display": { - "description": "The object that represents the operation.", - "properties": { - "provider": { - "description": "Service provider: Microsoft.Resources", - "type": "string" - }, - "resource": { - "description": "Resource on which the operation is performed: Profile, endpoint, etc.", - "type": "string" - }, - "operation": { - "description": "Operation type: Read, write, delete, etc.", - "type": "string" - }, - "description": { - "description": "Description of the operation.", - "type": "string" - } - } - } - } - }, - "OperationListResult": { - "description": "Result of the request to list Microsoft.Resources operations. It contains a list of operations and a URL link to get the next set of results.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Operation" - }, - "x-ms-identifiers": [ - "name" - ], - "description": "List of Microsoft.Resources operations." - }, - "nextLink": { - "type": "string", - "description": "URL to get the next set of operation list results if there are any." - } - } - }, - "CheckZonePeersRequest": { - "type": "object", - "properties": { - "location": { - "type": "string", - "description": "The Microsoft location." - }, - "subscriptionIds": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The peer Microsoft Azure subscription ID." - } - }, - "description": "Check zone peers request parameters." - }, - "CheckZonePeersResult": { - "type": "object", - "description": "Result of the Check zone peers operation.", - "properties": { - "subscriptionId": { - "readOnly": true, - "type": "string", - "description": "The subscription ID." - }, - "location": { - "type": "string", - "description": "the location of the subscription." - }, - "availabilityZonePeers": { - "type": "array", - "items": { - "$ref": "#/definitions/AvailabilityZonePeers" - }, - "x-ms-identifiers": [ - "availabilityZone" - ], - "description": "The Availability Zones shared by the subscriptions." - } - } - }, - "AvailabilityZonePeers": { - "type": "object", - "properties": { - "availabilityZone": { - "readOnly": true, - "type": "string", - "description": "The availabilityZone." - }, - "peers": { - "type": "array", - "items": { - "$ref": "#/definitions/Peers" - }, - "x-ms-identifiers": [ - "availabilityZone", - "subscriptionId" - ], - "description": "Details of shared availability zone." - } - }, - "description": "List of availability zones shared by the subscriptions." - }, - "Peers": { - "type": "object", - "properties": { - "subscriptionId": { - "readOnly": true, - "type": "string", - "description": "The subscription ID." - }, - "availabilityZone": { - "readOnly": true, - "type": "string", - "description": "The availabilityZone." - } - }, - "description": "Information about shared availability zone." - } - }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The ID of the target subscription.", - "x-ms-parameter-location": "method" - }, - "CheckResourceNameParameter": { - "description": "Resource object with values for resource name and resource type", - "in": "body", - "name": "Resource Name Definition", - "schema": { - "$ref": "#/definitions/ResourceName" - }, - "x-ms-parameter-location": "method" - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to use for the operation.", - "x-ms-parameter-location": "client" - } - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/resources.json index af036da133a6..0340d12e1e81 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/resources.json +++ b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2021-04-01/resources.json @@ -779,13 +779,13 @@ "description": "Captures the specified resource group as a template.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "parameters", @@ -2078,7 +2078,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response for a resource management request." @@ -2970,7 +2970,7 @@ "description": "The template content." }, "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse", + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse", "description": "The template export error." } }, diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/resources.json index fd1b8df40b33..0ecaa8ef0dac 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/resources.json +++ b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2022-09-01/resources.json @@ -779,13 +779,13 @@ "description": "Captures the specified resource group as a template.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "parameters", @@ -2124,7 +2124,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response for a resource management request." @@ -3016,7 +3016,7 @@ "description": "The template content." }, "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse", + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse", "description": "The template export error." } }, diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/resources.json index 43ab8fb20826..a6bd8d36139f 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/resources.json +++ b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2023-07-01/resources.json @@ -785,13 +785,13 @@ "description": "Captures the specified resource group as a template.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "parameters", @@ -2130,7 +2130,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response for a resource management request." @@ -3022,7 +3022,7 @@ "description": "The template content." }, "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse", + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse", "description": "The template export error." } }, diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/resources.json index 3c297423061c..90ed03ea4ade 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/resources.json +++ b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-03-01/resources.json @@ -785,13 +785,13 @@ "description": "Captures the specified resource group as a template.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "parameters", @@ -2133,7 +2133,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response for a resource management request." @@ -3041,7 +3041,7 @@ "description": "The formatted export content. Used if outputFormat is set to 'Bicep'." }, "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse", + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse", "description": "The template export error." } }, diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/resources.json index d23bfbae36d3..da3a12610ff3 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/resources.json +++ b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-07-01/resources.json @@ -785,13 +785,13 @@ "description": "Captures the specified resource group as a template.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "parameters", @@ -2133,7 +2133,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response for a resource management request." @@ -3041,7 +3041,7 @@ "description": "The formatted export content. Used if outputFormat is set to 'Bicep'." }, "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse", + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse", "description": "The template export error." } }, diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/suppressions.yaml b/specification/resources/resource-manager/Microsoft.Resources/resources/suppressions.yaml new file mode 100644 index 000000000000..aca301470812 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/resources/suppressions.yaml @@ -0,0 +1,75 @@ +- tool: TypeSpecRequirement + path: ./stable/2015-11-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2016-02-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2016-07-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2016-09-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2017-05-10/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2018-02-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2018-05-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2019-03-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2019-05-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2019-05-10/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2019-07-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2019-08-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2019-10-10/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2020-06-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2020-08-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2020-10-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2021-01-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2021-04-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2022-09-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2023-07-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2024-03-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2024-07-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2024-11-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2025-03-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2025-04-01/*.json + reason: Brownfield service not ready to migrate \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/snapshots/preview/2022-11-01-preview/snapshots.json b/specification/resources/resource-manager/Microsoft.Resources/snapshots/preview/2022-11-01-preview/snapshots.json index 678eb0c7ab00..97348e0bfece 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/snapshots/preview/2022-11-01-preview/snapshots.json +++ b/specification/resources/resource-manager/Microsoft.Resources/snapshots/preview/2022-11-01-preview/snapshots.json @@ -48,10 +48,10 @@ "description": "Obtains a list of snapshots from the past 14 days for the target resource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/ResourceProviderNamespaceParameter" @@ -63,7 +63,7 @@ "$ref": "#/parameters/ResourceNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/$top" @@ -82,7 +82,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -105,10 +105,10 @@ "description": "Obtains the specified snapshot for the target resource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/ResourceProviderNamespaceParameter" @@ -120,7 +120,7 @@ "$ref": "#/parameters/ResourceNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/snapshotIdParameter" @@ -136,7 +136,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -149,7 +149,7 @@ "description": "A generic resource snapshot with additional metadata", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" } ], "properties": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.go.md b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.go.md deleted file mode 100644 index e439424a6139..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.go.md +++ /dev/null @@ -1,87 +0,0 @@ -## Go - -These settings apply only when `--go` is specified on the command line. - -### Fix up regular expressions to support Unicode. - -``` yaml -directive: - from: swagger-document # do it globally - where: $.paths..parameters[?(@.name == "resourceGroupName" || @.name == "sourceResourceGroupName")].pattern - set: ^[-\p{L}\._\(\)\w]+$ - reason: Necessary to match Unicode characters in the Go regexp engine. -``` - -``` yaml $(go) && $(track2) && $(package-resources) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armresources -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - -``` yaml $(go) && $(track2) && $(package-features) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armfeatures -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - -``` yaml $(go) && $(track2) && $(package-links) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armlinks -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - -``` yaml $(go) && $(track2) && $(package-locks) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armlocks -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - -``` yaml $(go) && $(track2) && $(package-managedapplications) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armmanagedapplications -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - -``` yaml $(go) && $(track2) && $(package-policy) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armpolicy -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - -``` yaml $(go) && $(track2) && $(package-subscriptions) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armsubscriptions -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -modelerfour: - lenient-model-deduplication: true -``` - -``` yaml $(go) && $(track2) && $(package-changes) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armchanges -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - -``` yaml $(go) && $(track2) && $(package-databoundaries) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/databoundaries/armdataboundaries -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.java.md b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.java.md deleted file mode 100644 index 6dedca1a0423..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.java.md +++ /dev/null @@ -1,60 +0,0 @@ -## Java - -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(java) -enable-sync-stack: false - -directive: - - rename-operation: - from: Tags_DeleteValue - to: TagOperations_DeleteValue - - rename-operation: - from: Tags_CreateOrUpdateValue - to: TagOperations_CreateOrUpdateValue - - rename-operation: - from: Tags_CreateOrUpdate - to: TagOperations_CreateOrUpdate - - rename-operation: - from: Tags_Delete - to: TagOperations_Delete - - rename-operation: - from: Tags_DeleteValue - to: TagOperations_DeleteValue - - rename-operation: - from: Tags_List - to: TagOperations_List - - rename-operation: - from: Tags_CreateOrUpdateAtScope - to: TagOperations_CreateOrUpdateAtScope - - rename-operation: - from: Tags_UpdateAtScope - to: TagOperations_UpdateAtScope - - rename-operation: - from: Tags_GetAtScope - to: TagOperations_GetAtScope - - rename-operation: - from: Tags_DeleteAtScope - to: TagOperations_DeleteAtScope -``` - -``` yaml $(tag) == 'package-policy-2022-06-java' -input-file: -- Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json -- Microsoft.Authorization/stable/2021-06-01/policyDefinitions.json -- Microsoft.Authorization/stable/2021-06-01/policySetDefinitions.json -- Microsoft.Authorization/stable/2022-06-01/policyAssignments.json -- Microsoft.Authorization/preview/2022-07-01-preview/policyExemptions.json -``` - -``` yaml $(tag) == 'package-policy-2023-04-java' -input-file: -- Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json -- Microsoft.Authorization/stable/2023-04-01/policyDefinitions.json -- Microsoft.Authorization/stable/2023-04-01/policyDefinitionVersions.json -- Microsoft.Authorization/stable/2023-04-01/policySetDefinitions.json -- Microsoft.Authorization/stable/2023-04-01/policySetDefinitionVersions.json -- Microsoft.Authorization/stable/2023-04-01/policyAssignments.json -- Microsoft.Authorization/preview/2022-07-01-preview/policyExemptions.json -``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.md b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.md index 088302fc9002..0c858e201ccd 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.md +++ b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.md @@ -26,7 +26,7 @@ These are the global settings for the Resource API. title: SnapshotsClient description: Snapshots Client openapi-type: arm -tag: package-resources-2025-04 +tag: package-snapshots-2022-11 ``` ### Tag: package-snapshots-2022-11 @@ -35,7 +35,7 @@ These settings apply only when `--tag=package-snapshots-2022-11` is specified on ``` yaml $(tag) == 'package-snapshots-2022-11' input-file: -- Microsoft.Resources/preview/2022-11-01-preview/snapshots.json +- preview/2022-11-01-preview/snapshots.json ``` ## Suppression diff --git a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.nodejs.md b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.nodejs.md deleted file mode 100644 index 1787b7880294..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.nodejs.md +++ /dev/null @@ -1,59 +0,0 @@ -## Node.js - -These settings apply only when `--nodejs` is specified on the command line. -Please also specify `--node-sdks-folder=`. - -```yaml $(nodejs) -nodejs: - azure-arm: true - batch: true - package-name: azure-arm-resource - generate-license-txt: true - generate-package-json: false - generate-readme-md: false - output-folder: $(node-sdks-folder)/lib/services/resourceManagement -batch: - - package-features: true - - package-locks: true - - package-policy: true - - package-resources: true - - package-subscriptions: true - - package-links: true - - package-managedapplications: true -``` - -```yaml $(nodejs) && $(package-features) -nodejs: - source-code-folder-path: lib/feature -``` - -```yaml $(nodejs) && $(package-locks) -nodejs: - source-code-folder-path: lib/lock -``` - -```yaml $(nodejs) && $(package-policy) -nodejs: - source-code-folder-path: lib/policy -``` - -```yaml $(nodejs) && $(package-resources) -nodejs: - source-code-folder-path: lib/resource -``` - -```yaml $(nodejs) && $(package-subscriptions) -nodejs: - source-code-folder-path: lib/subscription -``` - -```yaml $(nodejs) && $(package-links) -nodejs: - source-code-folder-path: lib/link -``` - -```yaml $(nodejs) && $(package-management) -nodejs: - source-code-folder-path: lib/management - override-client-name: ManagementGroupsClient -``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.python.md b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.python.md deleted file mode 100644 index 9ecd5cfb7b4b..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.python.md +++ /dev/null @@ -1,144 +0,0 @@ -## Python - -These settings apply only when `--python` is specified on the command line. - -``` yaml $(python) -azure-arm: true -license-header: MICROSOFT_MIT_NO_VERSION -package-name: azure-mgmt-resource -package-version: 1.0.0b1 -no-namespace-folders: true -reformat-next-link: false -combine-operation-files: true -clear-output-folder: true -modelerfour: - lenient-model-deduplication: true -``` - -### Python batch - -```yaml $(python) -batch: - - tag: package-privatelinks-2020-05 - - tag: package-features-2021-07 - - tag: package-links-2016-09 - - tag: package-locks-2016-09 - - tag: package-managedapplications-2019-07 - - tag: package-policy-2023-04 - - tag: package-resources-2025-04 - - tag: package-subscriptions-2022-12 - - tag: package-changes-2022-05 - - tag: package-databoundaries-2024-08 -``` - -### Tag: package-privatelinks-2020-05 and python - -These settings apply only when `--tag=package-privatelinks-2020-05 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-privatelinks-2020-05' -title: ResourcePrivateLinkClient -namespace: azure.mgmt.resource.privatelinks -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/privatelinks -``` - -### Tag: package-features-2021-07 and python - -These settings apply only when `--tag=package-features-2021-07 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-features-2021-07' -title: FeatureClient -namespace: azure.mgmt.resource.features -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/features -``` - -### Tag: package-links-2016-09 and python - -These settings apply only when `--tag=package-links-2016-09 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-links-2016-09' -title: ManagementLinkClient -namespace: azure.mgmt.resource.links -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/links -``` - -### Tag: package-locks-2016-09 and python - -These settings apply only when `--tag=package-locks-2016-09 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-locks-2016-09' -title: ManagementLockClient -namespace: azure.mgmt.resource.locks -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/locks -``` - -### Tag: package-managedapplications-2019-07 and python - -These settings apply only when `--tag=package-managedapplications-2019-07 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-managedapplications-2019-07' -title: ApplicationClient -namespace: azure.mgmt.resource.managedapplications -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/managedapplications -``` - -### Tag: package-policy-2023-04 and python - -These settings apply only when `--tag=package-policy-2023-04 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-policy-2023-04' -title: PolicyClient -namespace: azure.mgmt.resource.policy -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/policy -``` - -### Tag: package-resources-2025-04 and python - -These settings apply only when `--tag=package-resources-2025-04 --python` is specified on the command line. Please also -specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-resources-2025-04' -title: ResourceManagementClient -namespace: azure.mgmt.resource.resources -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/resources -``` - -### Tag: package-subscriptions-2022-12 and python - -These settings apply only when `--tag=package-subscriptions-2022-12 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-subscriptions-2022-12' -title: SubscriptionClient -namespace: azure.mgmt.resource.subscriptions -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/subscriptions -``` - -### Tag: package-changes-2022-05 and python - -These settings apply only when `--tag=package-changes-2022-05 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-changes-2022-05' -title: ChangesClient -namespace: azure.mgmt.resource.changes -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/changes -``` - -### Tag: package-databoundaries-2024-08 and python - -These settings apply only when `--tag=package-databoundaries-2024-08 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-databoundaries-2024-08' -title: DataBoundaryMgmtClient -namespace: azure.mgmt.resource.databoundaries -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/databoundaries -directive: - - remove-operation: "Operations_List" -``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.ruby.md b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.ruby.md deleted file mode 100644 index 70c149ebcbba..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.ruby.md +++ /dev/null @@ -1,304 +0,0 @@ -### Ruby multi-api for managedapplications - -``` yaml $(multiapi) && $(managedapplications) -package-name: azure_mgmt_managed_applications -package-version: "0.16.0" -azure-arm: true -batch: - - tag: package-managedapplications-2019-07 - - tag: package-managedapplications-2018-06 - - tag: package-managedapplications-2017-09 - - tag: package-managedapplications-2016-09 -``` - -### Tag: package-managedapplications-2019-07 and ruby - -These settings apply only when `--tag=package-managedapplications-2019-07 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-managedapplications-2019-07' && $(ruby) -namespace: "Azure::ManagedApplications::Mgmt::V2019_07_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib -``` - -### Tag: package-managedapplications-2018-06 and ruby - -These settings apply only when `--tag=package-managedapplications-2018-06 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-managedapplications-2018-06' && $(ruby) -namespace: "Azure::ManagedApplications::Mgmt::V2018_06_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib -``` - -### Tag: package-managedapplications-2017-09 and ruby - -These settings apply only when `--tag=package-managedapplications-2017-09 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-managedapplications-2017-09' && $(ruby) -namespace: "Azure::ManagedApplications::Mgmt::V2017_09_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib -``` - -### Tag: package-managedapplications-2016-09 and ruby - -These settings apply only when `--tag=package-managedapplications-2016-09 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-managedapplications-2016-09' && $(ruby) -namespace: "Azure::ManagedApplications::Mgmt::V2016_09_01_preview" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib -``` - -### Ruby multi-api for subscriptions - -``` yaml $(multiapi) && $(subscriptions) -package-name: azure_mgmt_subscriptions -package-version: "0.16.0" -azure-arm: true -batch: - - tag: package-subscriptions-2019-06 - - tag: package-subscriptions-2018-06 - - tag: package-subscriptions-2016-06 - - tag: package-subscriptions-2015-11 -``` - -### Tag: package-subscriptions-2019-06 and ruby - -These settings apply only when `--tag=package-subscriptions-2019-06 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-subscriptions-2019-06' && $(ruby) -namespace: "Azure::Subscriptions::Mgmt::V2019_06_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_subscriptions/lib -``` - -### Tag: package-subscriptions-2018-06 and ruby - -These settings apply only when `--tag=package-subscriptions-2018-06 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-subscriptions-2018-06' && $(ruby) -namespace: "Azure::Subscriptions::Mgmt::V2018_06_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_subscriptions/lib -``` - -### Tag: package-subscriptions-2016-06 and ruby - -These settings apply only when `--tag=package-subscriptions-2016-06 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-subscriptions-2016-06' && $(ruby) -namespace: "Azure::Subscriptions::Mgmt::V2016_06_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_subscriptions/lib -``` - -### Tag: package-subscriptions-2015-11 and ruby - -These settings apply only when `--tag=package-subscriptions-2015-11 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-subscriptions-2015-11' && $(ruby) -namespace: "Azure::Subscriptions::Mgmt::V2015_11_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_subscriptions/lib -``` - -### Ruby multi-api for features - -``` yaml $(multiapi) && $(features) -package-name: azure_mgmt_features -package-version: "0.16.0" -azure-arm: true -batch: - - tag: package-features-2021-07 - - tag: package-features-2015-12 -``` - -### Tag: package-features-2021-07 and ruby - -These settings apply only when `--tag=package-features-2021-07 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-features-2021-07' && $(ruby) -namespace: "Azure::Features::Mgmt::V2021_07_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_features/lib -``` - -### Tag: package-features-2015-12 and ruby - -These settings apply only when `--tag=package-features-2015-12 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-features-2015-12' && $(ruby) -namespace: "Azure::Features::Mgmt::V2015_12_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_features/lib -``` - -### Ruby multi-api for locks - -``` yaml $(multiapi) && $(locks) -package-name: azure_mgmt_locks -package-version: "0.16.0" -azure-arm: true -batch: - - tag: package-locks-2016-09 - - tag: package-locks-2015-01 -``` - -### Tag: package-locks-2016-09 and ruby - -These settings apply only when `--tag=package-locks-2016-09 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-locks-2016-09' && $(ruby) -namespace: "Azure::Locks::Mgmt::V2016_09_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_locks/lib -``` - -### Tag: package-locks-2015-01 and ruby - -These settings apply only when `--tag=package-locks-2015-01 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-locks-2015-01' && $(ruby) -namespace: "Azure::Locks::Mgmt::V2015_01_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_locks/lib -``` - -### Ruby multi-api for links - -``` yaml $(multiapi) && $(links) -package-name: azure_mgmt_links -package-version: "0.16.0" -azure-arm: true -batch: - - tag: package-links-2016-09 -``` - -### Tag: package-links-2016-09 and ruby - -These settings apply only when `--tag=package-links-2016-09 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-links-2016-09' && $(ruby) -namespace: "Azure::Links::Mgmt::V2016_09_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_links/lib -``` - -### Ruby multi-api for policy - -``` yaml $(multiapi) && $(policy) -package-name: azure_mgmt_policy -package-version: "0.16.0" -azure-arm: true -batch: - - tag: package-pure-policy-2017-06 - - tag: package-policy-2016-12 - - tag: package-policy-2016-04 - - tag: package-policy-2015-10 -``` - -### Tag: package-pure-policy-2017-06 and ruby - -These settings apply only when `--tag=package-pure-policy-2017-06 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-pure-policy-2017-06' && $(ruby) -namespace: "Azure::Policy::Mgmt::V2017_06_01_preview" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib -``` - -### Tag: package-policy-2016-12 and ruby - -These settings apply only when `--tag=package-policy-2016-12 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-policy-2016-12' && $(ruby) -namespace: "Azure::Policy::Mgmt::V2016_12_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib -``` - -### Tag: package-policy-2016-04 and ruby - -These settings apply only when `--tag=package-policy-2016-04 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-policy-2016-04' && $(ruby) -namespace: "Azure::Policy::Mgmt::V2016_04_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib -``` - -### Tag: package-policy-2015-10 and ruby - -These settings apply only when `--tag=package-policy-2015-10 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-policy-2015-10' && $(ruby) -namespace: "Azure::Policy::Mgmt::V2015_10_01_preview" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib -``` - -### Ruby multi-api for resources - -``` yaml $(multiapi) && $(resources) -package-name: azure_mgmt_resources -package-version: "0.16.0" -azure-arm: true -batch: - - tag: package-resources-2019-03 - - tag: package-resources-2017-05 - - tag: package-resources-2016-09 - - tag: package-resources-2016-07 - - tag: package-resources-2016-02 -``` - -### Tag: package-resources-2019-03 and ruby - -These settings apply only when `--tag=package-resources-2019-03 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-resources-2019-03' && $(ruby) -namespace: "Azure::Resources::Mgmt::V2019_03_10" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib -``` - -### Tag: package-resources-2017-05 and ruby - -These settings apply only when `--tag=package-resources-2017-05 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-resources-2017-05' && $(ruby) -namespace: "Azure::Resources::Mgmt::V2017_05_10" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib -``` - -### Tag: package-resources-2016-09 and ruby - -These settings apply only when `--tag=package-resources-2016-09 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-resources-2016-09' && $(ruby) -namespace: "Azure::Resources::Mgmt::V2016_09_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib -``` - -### Tag: package-resources-2016-07 and ruby - -These settings apply only when `--tag=package-resources-2016-07 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-resources-2016-07' && $(ruby) -namespace: "Azure::Resources::Mgmt::V2016_07_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib -``` - -### Tag: package-resources-2016-02 and ruby - -These settings apply only when `--tag=package-resources-2016-02 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-resources-2016-02' && $(ruby) -namespace: "Azure::Resources::Mgmt::V2016_02_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib -``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.terraform.md b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.terraform.md deleted file mode 100644 index e6576921e7b6..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.terraform.md +++ /dev/null @@ -1,50 +0,0 @@ - -## Terraform - -These settings apply only when `--terraform` is specified on the command line. - - -``` yaml $(terraform) -batch: - - package-features: true - - package-policy: true - - package-managedapplications: true -``` - -```yaml $(terraform) && $(package-policy) -terraform: - cli-name: policy - package-name: policy -output-folder: $(terraform-output-folder)/policy -clear-output-folder: true -``` - -```yaml $(terraform) && $(package-features) -terraform: - cli-name: features - package-name: features -output-folder: $(terraform-output-folder)/features -clear-output-folder: true -``` - -```yaml $(terraform) && $(package-managedapplications) -terraform: - cli-name: managedApplications - package-name: managedapplications -output-folder: $(terraform-output-folder)/managedapplications -clear-output-folder: true - -overrides: - - where: - resource: "Applications" - property: "/parameters" - set: - - GoVariableName: "appParameters" - - Gen: "newgen" -``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.typescript.md b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.typescript.md deleted file mode 100644 index 646080c41e8e..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.typescript.md +++ /dev/null @@ -1,159 +0,0 @@ -## TypeScript - -These settings apply only when `--typescript` is specified on the command line. -Please also specify `--typescript-sdks-folder=`. - -```yaml $(typescript) && !$(profile-content) -typescript: - azure-arm: true - batch: true - generate-metadata: true -batch: - - package-resources: true - - package-features: true - - package-locks: true - - package-policy: true - - package-links: true - - package-managedapplications: true - - package-subscriptions: true - - package-changes: true - - package-databoundaries: true -``` - -```yaml $(typescript) && $(package-databoundaries) && !$(profile-content) -title: DataboundariesManegementClient -typescript: - package-name: "@azure/arm-databoundaries" - output-folder: "$(typescript-sdks-folder)/sdk/databoundaries/arm-databoundaries" -``` - -```yaml $(typescript) && $(package-features) && !$(profile-content) -typescript: - package-name: "@azure/arm-features" - output-folder: "$(typescript-sdks-folder)/sdk/features/arm-features" -``` - -```yaml $(typescript) && $(package-locks) && !$(profile-content) -typescript: - package-name: "@azure/arm-locks" - output-folder: "$(typescript-sdks-folder)/sdk/locks/arm-locks" -``` - -```yaml $(typescript) && $(package-policy) && !$(profile-content) -typescript: - package-name: "@azure/arm-policy" - output-folder: "$(typescript-sdks-folder)/sdk/policy/arm-policy" - -modelerfour: - treat-type-object-as-anything: true -``` - -```yaml $(typescript) && $(package-resources) && !$(profile-content) -typescript: - package-name: "@azure/arm-resources" - output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-resources" -``` - -```yaml $(typescript) && $(package-links) && !$(profile-content) -typescript: - package-name: "@azure/arm-links" - output-folder: "$(typescript-sdks-folder)/sdk/links/arm-links" -``` - -```yaml $(typescript) && $(package-managedapplications) && !$(profile-content) -typescript: - package-name: "@azure/arm-managedapplications" - output-folder: "$(typescript-sdks-folder)/sdk/managedapplications/arm-managedapplications" -``` - -```yaml $(typescript) && $(package-subscriptions) && !$(profile-content) -typescript: - package-name: "@azure/arm-resources-subscriptions" - output-folder: "$(typescript-sdks-folder)/sdk/resources-subscriptions/arm-resources-subscriptions" -``` - -```yaml $(typescript) && $(package-changes) && !$(profile-content) -typescript: - package-name: "@azure/arm-changes" - output-folder: "$(typescript-sdks-folder)/sdk/changes/arm-changes" -``` - -```yaml $(tag)=='package-resources-2018-05' && $(profile-content)=='profile-hybrid-2019-03-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-resources-profile-2019-03-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-resources-profile-2019-03-01-hybrid" - batch: - - tag: package-resources-2018-05 -``` - -```yaml $(tag)=='package-policy-2016-12' && $(profile-content)=='profile-hybrid-2019-03-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-policy-profile-2019-03-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/policy/arm-policy-profile-2019-03-01-hybrid" - batch: - - tag: package-policy-2016-12 -``` - -```yaml $(tag)=='package-locks-2016-09' && $(profile-content)=='profile-hybrid-2019-03-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-locks-profile-2019-03-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/locks/arm-locks-profile-2019-03-01-hybrid" - batch: - - tag: package-locks-2016-09 -``` - -```yaml $(tag)=='package-subscriptions-2016-06' && $(profile-content)=='profile-hybrid-2019-03-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-subscriptions-profile-2019-03-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/subscription/arm-subscriptions-profile-2019-03-01-hybrid" - batch: - - tag: package-subscriptions-2016-06 -``` - -```yaml $(tag)=='package-resources-2019-10' && $(profile-content)=='profile-hybrid-2020-09-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-resources-profile-2020-09-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-resources-profile-2020-09-01-hybrid" - batch: - - tag: package-resources-2019-10 -``` - -```yaml $(tag)=='package-policy-2016-12' && $(profile-content)=='profile-hybrid-2020-09-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-policy-profile-2020-09-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/policy/arm-policy-profile-2020-09-01-hybrid" - batch: - - tag: package-policy-2016-12 -``` - -```yaml $(tag)=='package-locks-2016-09' && $(profile-content)=='profile-hybrid-2020-09-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-locks-profile-2020-09-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/locks/arm-locks-profile-2020-09-01-hybrid" - batch: - - tag: package-locks-2016-09 -``` - -```yaml $(tag)=='package-subscriptions-2016-06' && $(profile-content)=='profile-hybrid-2020-09-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-subscriptions-profile-2020-09-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid" - batch: - - tag: package-subscriptions-2016-06 -``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/snapshots/suppressions.yaml b/specification/resources/resource-manager/Microsoft.Resources/snapshots/suppressions.yaml new file mode 100644 index 000000000000..619b4cf0d40f --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/snapshots/suppressions.yaml @@ -0,0 +1,3 @@ +- tool: TypeSpecRequirement + path: ./preview/2022-11-01-preview/*.json + reason: Brownfield service not ready to migrate \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.go.md b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.go.md index e439424a6139..d9887f17563d 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.go.md +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.go.md @@ -12,54 +12,6 @@ directive: reason: Necessary to match Unicode characters in the Go regexp engine. ``` -``` yaml $(go) && $(track2) && $(package-resources) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armresources -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - -``` yaml $(go) && $(track2) && $(package-features) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armfeatures -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - -``` yaml $(go) && $(track2) && $(package-links) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armlinks -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - -``` yaml $(go) && $(track2) && $(package-locks) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armlocks -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - -``` yaml $(go) && $(track2) && $(package-managedapplications) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armmanagedapplications -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - -``` yaml $(go) && $(track2) && $(package-policy) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armpolicy -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - ``` yaml $(go) && $(track2) && $(package-subscriptions) license-header: MICROSOFT_MIT_NO_VERSION module-name: sdk/resourcemanager/resources/armsubscriptions @@ -69,19 +21,3 @@ azure-arm: true modelerfour: lenient-model-deduplication: true ``` - -``` yaml $(go) && $(track2) && $(package-changes) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armchanges -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` - -``` yaml $(go) && $(track2) && $(package-databoundaries) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/databoundaries/armdataboundaries -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.java.md b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.java.md deleted file mode 100644 index 6dedca1a0423..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.java.md +++ /dev/null @@ -1,60 +0,0 @@ -## Java - -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(java) -enable-sync-stack: false - -directive: - - rename-operation: - from: Tags_DeleteValue - to: TagOperations_DeleteValue - - rename-operation: - from: Tags_CreateOrUpdateValue - to: TagOperations_CreateOrUpdateValue - - rename-operation: - from: Tags_CreateOrUpdate - to: TagOperations_CreateOrUpdate - - rename-operation: - from: Tags_Delete - to: TagOperations_Delete - - rename-operation: - from: Tags_DeleteValue - to: TagOperations_DeleteValue - - rename-operation: - from: Tags_List - to: TagOperations_List - - rename-operation: - from: Tags_CreateOrUpdateAtScope - to: TagOperations_CreateOrUpdateAtScope - - rename-operation: - from: Tags_UpdateAtScope - to: TagOperations_UpdateAtScope - - rename-operation: - from: Tags_GetAtScope - to: TagOperations_GetAtScope - - rename-operation: - from: Tags_DeleteAtScope - to: TagOperations_DeleteAtScope -``` - -``` yaml $(tag) == 'package-policy-2022-06-java' -input-file: -- Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json -- Microsoft.Authorization/stable/2021-06-01/policyDefinitions.json -- Microsoft.Authorization/stable/2021-06-01/policySetDefinitions.json -- Microsoft.Authorization/stable/2022-06-01/policyAssignments.json -- Microsoft.Authorization/preview/2022-07-01-preview/policyExemptions.json -``` - -``` yaml $(tag) == 'package-policy-2023-04-java' -input-file: -- Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json -- Microsoft.Authorization/stable/2023-04-01/policyDefinitions.json -- Microsoft.Authorization/stable/2023-04-01/policyDefinitionVersions.json -- Microsoft.Authorization/stable/2023-04-01/policySetDefinitions.json -- Microsoft.Authorization/stable/2023-04-01/policySetDefinitionVersions.json -- Microsoft.Authorization/stable/2023-04-01/policyAssignments.json -- Microsoft.Authorization/preview/2022-07-01-preview/policyExemptions.json -``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.md b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.md index 06ca72fe66c3..f6b8774f939c 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.md +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.md @@ -23,10 +23,10 @@ To see additional help and options, run: These are the global settings for the Resource API. ``` yaml -title: SubscriptionsClient -description: Subscriptions Client +title: SubscriptionClient +description: Subscription Client openapi-type: arm -tag: package-resources-2025-04 +tag: package-2022-12 ``` ### Tag: package-2022-12 @@ -35,7 +35,7 @@ These settings apply only when `--tag=package-2022-12` is specified on the comma ``` yaml $(tag) == 'package-2022-12' input-file: - - Microsoft.Resources/stable/2022-12-01/subscriptions.json + - stable/2022-12-01/subscriptions.json ``` ### Tag: package-subscriptions-2022-12 @@ -44,7 +44,7 @@ These settings apply only when `--tag=package-subscriptions-2022-12` is specifie ``` yaml $(tag) == 'package-subscriptions-2022-12' input-file: -- Microsoft.Resources/stable/2022-12-01/subscriptions.json +- stable/2022-12-01/subscriptions.json ``` ### Tag: package-subscriptions-2021-01 @@ -53,7 +53,7 @@ These settings apply only when `--tag=package-subscriptions-2021-01` is specifie ``` yaml $(tag) == 'package-subscriptions-2021-01' input-file: -- Microsoft.Resources/stable/2021-01-01/subscriptions.json +- stable/2021-01-01/subscriptions.json ``` ### Tag: package-subscriptions-2020-01 @@ -62,7 +62,7 @@ These settings apply only when `--tag=package-subscriptions-2020-01` is specifie ``` yaml $(tag) == 'package-subscriptions-2020-01' input-file: - - Microsoft.Resources/stable/2020-01-01/subscriptions.json + - stable/2020-01-01/subscriptions.json ``` ### Tag: package-subscriptions-2019-11 @@ -71,7 +71,7 @@ These settings apply only when `--tag=package-subscriptions-2019-11` is specifie ``` yaml $(tag) == 'package-subscriptions-2019-11' input-file: -- Microsoft.Resources/stable/2019-11-01/subscriptions.json +- stable/2019-11-01/subscriptions.json ``` ### Tag: package-subscriptions-2019-06 @@ -80,7 +80,7 @@ These settings apply only when `--tag=package-subscriptions-2019-06` is specifie ``` yaml $(tag) == 'package-subscriptions-2019-06' input-file: -- Microsoft.Resources/stable/2019-06-01/subscriptions.json +- stable/2019-06-01/subscriptions.json ``` ### Tag: package-subscriptions-2018-06 @@ -89,7 +89,7 @@ These settings apply only when `--tag=package-subscriptions-2018-06` is specifie ``` yaml $(tag) == 'package-subscriptions-2018-06' input-file: -- Microsoft.Resources/stable/2018-06-01/subscriptions.json +- stable/2018-06-01/subscriptions.json ``` ### Tag: package-subscriptions-2016-06 @@ -98,7 +98,7 @@ These settings apply only when `--tag=package-subscriptions-2016-06` is specifie ``` yaml $(tag) == 'package-subscriptions-2016-06' input-file: -- Microsoft.Resources/stable/2016-06-01/subscriptions.json +- stable/2016-06-01/subscriptions.json ``` ### Tag: package-subscriptions-2015-11 @@ -107,7 +107,7 @@ These settings apply only when `--tag=package-subscriptions-2015-11` is specifie ``` yaml $(tag) == 'package-subscriptions-2015-11' input-file: -- Microsoft.Resources/stable/2015-11-01/subscriptions.json +- stable/2015-11-01/subscriptions.json ``` ## Suppression diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.nodejs.md b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.nodejs.md index 1787b7880294..7fa94574b423 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.nodejs.md +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.nodejs.md @@ -13,47 +13,10 @@ nodejs: generate-readme-md: false output-folder: $(node-sdks-folder)/lib/services/resourceManagement batch: - - package-features: true - - package-locks: true - - package-policy: true - - package-resources: true - package-subscriptions: true - - package-links: true - - package-managedapplications: true -``` - -```yaml $(nodejs) && $(package-features) -nodejs: - source-code-folder-path: lib/feature -``` - -```yaml $(nodejs) && $(package-locks) -nodejs: - source-code-folder-path: lib/lock -``` - -```yaml $(nodejs) && $(package-policy) -nodejs: - source-code-folder-path: lib/policy -``` - -```yaml $(nodejs) && $(package-resources) -nodejs: - source-code-folder-path: lib/resource ``` ```yaml $(nodejs) && $(package-subscriptions) nodejs: source-code-folder-path: lib/subscription ``` - -```yaml $(nodejs) && $(package-links) -nodejs: - source-code-folder-path: lib/link -``` - -```yaml $(nodejs) && $(package-management) -nodejs: - source-code-folder-path: lib/management - override-client-name: ManagementGroupsClient -``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.python.md b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.python.md index 9ecd5cfb7b4b..09501444af69 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.python.md +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.python.md @@ -19,93 +19,7 @@ modelerfour: ```yaml $(python) batch: - - tag: package-privatelinks-2020-05 - - tag: package-features-2021-07 - - tag: package-links-2016-09 - - tag: package-locks-2016-09 - - tag: package-managedapplications-2019-07 - - tag: package-policy-2023-04 - - tag: package-resources-2025-04 - tag: package-subscriptions-2022-12 - - tag: package-changes-2022-05 - - tag: package-databoundaries-2024-08 -``` - -### Tag: package-privatelinks-2020-05 and python - -These settings apply only when `--tag=package-privatelinks-2020-05 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-privatelinks-2020-05' -title: ResourcePrivateLinkClient -namespace: azure.mgmt.resource.privatelinks -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/privatelinks -``` - -### Tag: package-features-2021-07 and python - -These settings apply only when `--tag=package-features-2021-07 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-features-2021-07' -title: FeatureClient -namespace: azure.mgmt.resource.features -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/features -``` - -### Tag: package-links-2016-09 and python - -These settings apply only when `--tag=package-links-2016-09 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-links-2016-09' -title: ManagementLinkClient -namespace: azure.mgmt.resource.links -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/links -``` - -### Tag: package-locks-2016-09 and python - -These settings apply only when `--tag=package-locks-2016-09 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-locks-2016-09' -title: ManagementLockClient -namespace: azure.mgmt.resource.locks -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/locks -``` - -### Tag: package-managedapplications-2019-07 and python - -These settings apply only when `--tag=package-managedapplications-2019-07 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-managedapplications-2019-07' -title: ApplicationClient -namespace: azure.mgmt.resource.managedapplications -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/managedapplications -``` - -### Tag: package-policy-2023-04 and python - -These settings apply only when `--tag=package-policy-2023-04 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-policy-2023-04' -title: PolicyClient -namespace: azure.mgmt.resource.policy -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/policy -``` - -### Tag: package-resources-2025-04 and python - -These settings apply only when `--tag=package-resources-2025-04 --python` is specified on the command line. Please also -specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-resources-2025-04' -title: ResourceManagementClient -namespace: azure.mgmt.resource.resources -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/resources ``` ### Tag: package-subscriptions-2022-12 and python @@ -118,27 +32,3 @@ title: SubscriptionClient namespace: azure.mgmt.resource.subscriptions output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/subscriptions ``` - -### Tag: package-changes-2022-05 and python - -These settings apply only when `--tag=package-changes-2022-05 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-changes-2022-05' -title: ChangesClient -namespace: azure.mgmt.resource.changes -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/changes -``` - -### Tag: package-databoundaries-2024-08 and python - -These settings apply only when `--tag=package-databoundaries-2024-08 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-databoundaries-2024-08' -title: DataBoundaryMgmtClient -namespace: azure.mgmt.resource.databoundaries -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/databoundaries -directive: - - remove-operation: "Operations_List" -``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.ruby.md b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.ruby.md index 70c149ebcbba..9194b7aa912e 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.ruby.md +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.ruby.md @@ -1,56 +1,3 @@ -### Ruby multi-api for managedapplications - -``` yaml $(multiapi) && $(managedapplications) -package-name: azure_mgmt_managed_applications -package-version: "0.16.0" -azure-arm: true -batch: - - tag: package-managedapplications-2019-07 - - tag: package-managedapplications-2018-06 - - tag: package-managedapplications-2017-09 - - tag: package-managedapplications-2016-09 -``` - -### Tag: package-managedapplications-2019-07 and ruby - -These settings apply only when `--tag=package-managedapplications-2019-07 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-managedapplications-2019-07' && $(ruby) -namespace: "Azure::ManagedApplications::Mgmt::V2019_07_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib -``` - -### Tag: package-managedapplications-2018-06 and ruby - -These settings apply only when `--tag=package-managedapplications-2018-06 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-managedapplications-2018-06' && $(ruby) -namespace: "Azure::ManagedApplications::Mgmt::V2018_06_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib -``` - -### Tag: package-managedapplications-2017-09 and ruby - -These settings apply only when `--tag=package-managedapplications-2017-09 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-managedapplications-2017-09' && $(ruby) -namespace: "Azure::ManagedApplications::Mgmt::V2017_09_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib -``` - -### Tag: package-managedapplications-2016-09 and ruby - -These settings apply only when `--tag=package-managedapplications-2016-09 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-managedapplications-2016-09' && $(ruby) -namespace: "Azure::ManagedApplications::Mgmt::V2016_09_01_preview" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_managed_applications/lib -``` - ### Ruby multi-api for subscriptions ``` yaml $(multiapi) && $(subscriptions) @@ -103,202 +50,3 @@ Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-features-2021-07' && $(ruby) -namespace: "Azure::Features::Mgmt::V2021_07_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_features/lib -``` - -### Tag: package-features-2015-12 and ruby - -These settings apply only when `--tag=package-features-2015-12 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-features-2015-12' && $(ruby) -namespace: "Azure::Features::Mgmt::V2015_12_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_features/lib -``` - -### Ruby multi-api for locks - -``` yaml $(multiapi) && $(locks) -package-name: azure_mgmt_locks -package-version: "0.16.0" -azure-arm: true -batch: - - tag: package-locks-2016-09 - - tag: package-locks-2015-01 -``` - -### Tag: package-locks-2016-09 and ruby - -These settings apply only when `--tag=package-locks-2016-09 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-locks-2016-09' && $(ruby) -namespace: "Azure::Locks::Mgmt::V2016_09_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_locks/lib -``` - -### Tag: package-locks-2015-01 and ruby - -These settings apply only when `--tag=package-locks-2015-01 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-locks-2015-01' && $(ruby) -namespace: "Azure::Locks::Mgmt::V2015_01_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_locks/lib -``` - -### Ruby multi-api for links - -``` yaml $(multiapi) && $(links) -package-name: azure_mgmt_links -package-version: "0.16.0" -azure-arm: true -batch: - - tag: package-links-2016-09 -``` - -### Tag: package-links-2016-09 and ruby - -These settings apply only when `--tag=package-links-2016-09 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-links-2016-09' && $(ruby) -namespace: "Azure::Links::Mgmt::V2016_09_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_links/lib -``` - -### Ruby multi-api for policy - -``` yaml $(multiapi) && $(policy) -package-name: azure_mgmt_policy -package-version: "0.16.0" -azure-arm: true -batch: - - tag: package-pure-policy-2017-06 - - tag: package-policy-2016-12 - - tag: package-policy-2016-04 - - tag: package-policy-2015-10 -``` - -### Tag: package-pure-policy-2017-06 and ruby - -These settings apply only when `--tag=package-pure-policy-2017-06 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-pure-policy-2017-06' && $(ruby) -namespace: "Azure::Policy::Mgmt::V2017_06_01_preview" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib -``` - -### Tag: package-policy-2016-12 and ruby - -These settings apply only when `--tag=package-policy-2016-12 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-policy-2016-12' && $(ruby) -namespace: "Azure::Policy::Mgmt::V2016_12_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib -``` - -### Tag: package-policy-2016-04 and ruby - -These settings apply only when `--tag=package-policy-2016-04 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-policy-2016-04' && $(ruby) -namespace: "Azure::Policy::Mgmt::V2016_04_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib -``` - -### Tag: package-policy-2015-10 and ruby - -These settings apply only when `--tag=package-policy-2015-10 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-policy-2015-10' && $(ruby) -namespace: "Azure::Policy::Mgmt::V2015_10_01_preview" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_policy/lib -``` - -### Ruby multi-api for resources - -``` yaml $(multiapi) && $(resources) -package-name: azure_mgmt_resources -package-version: "0.16.0" -azure-arm: true -batch: - - tag: package-resources-2019-03 - - tag: package-resources-2017-05 - - tag: package-resources-2016-09 - - tag: package-resources-2016-07 - - tag: package-resources-2016-02 -``` - -### Tag: package-resources-2019-03 and ruby - -These settings apply only when `--tag=package-resources-2019-03 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-resources-2019-03' && $(ruby) -namespace: "Azure::Resources::Mgmt::V2019_03_10" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib -``` - -### Tag: package-resources-2017-05 and ruby - -These settings apply only when `--tag=package-resources-2017-05 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-resources-2017-05' && $(ruby) -namespace: "Azure::Resources::Mgmt::V2017_05_10" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib -``` - -### Tag: package-resources-2016-09 and ruby - -These settings apply only when `--tag=package-resources-2016-09 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-resources-2016-09' && $(ruby) -namespace: "Azure::Resources::Mgmt::V2016_09_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib -``` - -### Tag: package-resources-2016-07 and ruby - -These settings apply only when `--tag=package-resources-2016-07 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-resources-2016-07' && $(ruby) -namespace: "Azure::Resources::Mgmt::V2016_07_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib -``` - -### Tag: package-resources-2016-02 and ruby - -These settings apply only when `--tag=package-resources-2016-02 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-resources-2016-02' && $(ruby) -namespace: "Azure::Resources::Mgmt::V2016_02_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_resources/lib -``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.terraform.md b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.terraform.md deleted file mode 100644 index e6576921e7b6..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.terraform.md +++ /dev/null @@ -1,50 +0,0 @@ - -## Terraform - -These settings apply only when `--terraform` is specified on the command line. - - -``` yaml $(terraform) -batch: - - package-features: true - - package-policy: true - - package-managedapplications: true -``` - -```yaml $(terraform) && $(package-policy) -terraform: - cli-name: policy - package-name: policy -output-folder: $(terraform-output-folder)/policy -clear-output-folder: true -``` - -```yaml $(terraform) && $(package-features) -terraform: - cli-name: features - package-name: features -output-folder: $(terraform-output-folder)/features -clear-output-folder: true -``` - -```yaml $(terraform) && $(package-managedapplications) -terraform: - cli-name: managedApplications - package-name: managedapplications -output-folder: $(terraform-output-folder)/managedapplications -clear-output-folder: true - -overrides: - - where: - resource: "Applications" - property: "/parameters" - set: - - GoVariableName: "appParameters" - - Gen: "newgen" -``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.typescript.md b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.typescript.md index 646080c41e8e..02702645b00f 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.typescript.md +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.typescript.md @@ -9,61 +9,7 @@ typescript: batch: true generate-metadata: true batch: - - package-resources: true - - package-features: true - - package-locks: true - - package-policy: true - - package-links: true - - package-managedapplications: true - package-subscriptions: true - - package-changes: true - - package-databoundaries: true -``` - -```yaml $(typescript) && $(package-databoundaries) && !$(profile-content) -title: DataboundariesManegementClient -typescript: - package-name: "@azure/arm-databoundaries" - output-folder: "$(typescript-sdks-folder)/sdk/databoundaries/arm-databoundaries" -``` - -```yaml $(typescript) && $(package-features) && !$(profile-content) -typescript: - package-name: "@azure/arm-features" - output-folder: "$(typescript-sdks-folder)/sdk/features/arm-features" -``` - -```yaml $(typescript) && $(package-locks) && !$(profile-content) -typescript: - package-name: "@azure/arm-locks" - output-folder: "$(typescript-sdks-folder)/sdk/locks/arm-locks" -``` - -```yaml $(typescript) && $(package-policy) && !$(profile-content) -typescript: - package-name: "@azure/arm-policy" - output-folder: "$(typescript-sdks-folder)/sdk/policy/arm-policy" - -modelerfour: - treat-type-object-as-anything: true -``` - -```yaml $(typescript) && $(package-resources) && !$(profile-content) -typescript: - package-name: "@azure/arm-resources" - output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-resources" -``` - -```yaml $(typescript) && $(package-links) && !$(profile-content) -typescript: - package-name: "@azure/arm-links" - output-folder: "$(typescript-sdks-folder)/sdk/links/arm-links" -``` - -```yaml $(typescript) && $(package-managedapplications) && !$(profile-content) -typescript: - package-name: "@azure/arm-managedapplications" - output-folder: "$(typescript-sdks-folder)/sdk/managedapplications/arm-managedapplications" ``` ```yaml $(typescript) && $(package-subscriptions) && !$(profile-content) @@ -72,42 +18,6 @@ typescript: output-folder: "$(typescript-sdks-folder)/sdk/resources-subscriptions/arm-resources-subscriptions" ``` -```yaml $(typescript) && $(package-changes) && !$(profile-content) -typescript: - package-name: "@azure/arm-changes" - output-folder: "$(typescript-sdks-folder)/sdk/changes/arm-changes" -``` - -```yaml $(tag)=='package-resources-2018-05' && $(profile-content)=='profile-hybrid-2019-03-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-resources-profile-2019-03-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-resources-profile-2019-03-01-hybrid" - batch: - - tag: package-resources-2018-05 -``` - -```yaml $(tag)=='package-policy-2016-12' && $(profile-content)=='profile-hybrid-2019-03-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-policy-profile-2019-03-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/policy/arm-policy-profile-2019-03-01-hybrid" - batch: - - tag: package-policy-2016-12 -``` - -```yaml $(tag)=='package-locks-2016-09' && $(profile-content)=='profile-hybrid-2019-03-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-locks-profile-2019-03-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/locks/arm-locks-profile-2019-03-01-hybrid" - batch: - - tag: package-locks-2016-09 -``` - ```yaml $(tag)=='package-subscriptions-2016-06' && $(profile-content)=='profile-hybrid-2019-03-01' typescript: azure-arm: true @@ -118,36 +28,6 @@ typescript: - tag: package-subscriptions-2016-06 ``` -```yaml $(tag)=='package-resources-2019-10' && $(profile-content)=='profile-hybrid-2020-09-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-resources-profile-2020-09-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-resources-profile-2020-09-01-hybrid" - batch: - - tag: package-resources-2019-10 -``` - -```yaml $(tag)=='package-policy-2016-12' && $(profile-content)=='profile-hybrid-2020-09-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-policy-profile-2020-09-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/policy/arm-policy-profile-2020-09-01-hybrid" - batch: - - tag: package-policy-2016-12 -``` - -```yaml $(tag)=='package-locks-2016-09' && $(profile-content)=='profile-hybrid-2020-09-01' -typescript: - azure-arm: true - generate-metadata: true - package-name: "@azure/arm-locks-profile-2020-09-01-hybrid" - output-folder: "$(typescript-sdks-folder)/sdk/locks/arm-locks-profile-2020-09-01-hybrid" - batch: - - tag: package-locks-2016-09 -``` - ```yaml $(tag)=='package-subscriptions-2016-06' && $(profile-content)=='profile-hybrid-2020-09-01' typescript: azure-arm: true diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2015-11-01/subscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2015-11-01/subscriptions.json index 1f3094b145cd..f6d9c43bd14e 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2015-11-01/subscriptions.json +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2015-11-01/subscriptions.json @@ -180,7 +180,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2016-06-01/subscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2016-06-01/subscriptions.json index c0ba048d5acc..8410ca77d831 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2016-06-01/subscriptions.json +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2016-06-01/subscriptions.json @@ -197,7 +197,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2018-06-01/subscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2018-06-01/subscriptions.json index 5cbdd75644e1..973416a86e3c 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2018-06-01/subscriptions.json +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2018-06-01/subscriptions.json @@ -197,7 +197,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2019-06-01/subscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2019-06-01/subscriptions.json index 71749ca1875d..f6b6d9962022 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2019-06-01/subscriptions.json +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2019-06-01/subscriptions.json @@ -207,7 +207,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2019-11-01/subscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2019-11-01/subscriptions.json index 7e7384488908..afe3b8d3e2e7 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2019-11-01/subscriptions.json +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2019-11-01/subscriptions.json @@ -212,7 +212,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2020-01-01/subscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2020-01-01/subscriptions.json index 5871101787dc..15bb2ec573fa 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2020-01-01/subscriptions.json +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2020-01-01/subscriptions.json @@ -217,7 +217,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/CreateResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/CreateResourceGroup.json deleted file mode 100644 index 74398d45af47..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/CreateResourceGroup.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "my-resource-group", - "api-version": "2021-01-01", - "parameters": { - "location": "eastus" - } - }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-resource-group", - "name": "my-resource-group", - "location": "eastus", - "properties": { - "provisioningState": "Succeeded" - } - } - }, - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-resource-group", - "name": "my-resource-group", - "location": "eastus", - "properties": { - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/ExportResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/ExportResourceGroup.json deleted file mode 100644 index 5c3a43383fd1..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/ExportResourceGroup.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "my-resource-group", - "api-version": "2021-01-01", - "parameters": { - "resources": [ - "*" - ], - "options": "IncludeParameterDefaultValue,IncludeComments" - } - }, - "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/c9bbccf4-e16a-4eb7-befb-2e2e5195c347?api-version=2018-08-01" - } - }, - "200": { - "body": { - "template": { - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "myResourceType_myFirstResource_name": { - "defaultValue": "myFirstResource", - "type": "String" - }, - "myResourceType_mySecondResource_name": { - "defaultValue": "mySecondResource", - "type": "String" - }, - "myResourceType_myFirstResource_secret": { - "defaultValue": null, - "type": "SecureString" - } - }, - "variables": {}, - "resources": [ - { - "type": "My.RP/myResourceType", - "apiVersion": "2019-01-01", - "name": "[parameters('myResourceType_myFirstResource_name')]", - "location": "West US", - "properties": { - "secret": "[parameters('myResourceType_myFirstResource_secret')]" - } - }, - { - "type": "My.RP/myResourceType", - "apiVersion": "2019-01-01", - "name": "[parameters('myResourceType_mySecondResource_name')]", - "location": "West US", - "properties": { - "customProperty": "hello!" - } - } - ] - }, - "error": { - "code": "ExportTemplateCompletedWithErrors", - "message": "Export template operation completed with errors. Some resources were not exported. Please see details for more information.", - "details": [] - } - } - } - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/ExportResourceGroupWithFiltering.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/ExportResourceGroupWithFiltering.json deleted file mode 100644 index b70a6c3b1c65..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/ExportResourceGroupWithFiltering.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "my-resource-group", - "api-version": "2021-01-01", - "parameters": { - "resources": [ - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-resource-group/providers/My.RP/myResourceType/myFirstResource" - ], - "options": "SkipResourceNameParameterization" - } - }, - "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/c9bbccf4-e16a-4eb7-befb-2e2e5195c347?api-version=2018-08-01" - } - }, - "200": { - "body": { - "template": { - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "myResourceType_myFirstResource_secret": { - "defaultValue": null, - "type": "SecureString" - } - }, - "variables": {}, - "resources": [ - { - "type": "My.RP/myResourceType", - "apiVersion": "2019-01-01", - "name": "myFirstResource", - "location": "West US", - "properties": { - "secret": "[parameters('myResourceType_myFirstResource_secret')]" - } - } - ] - } - } - } - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json deleted file mode 100644 index 2dba850f1157..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "my-resource-group", - "forceDeletionTypes": "Microsoft.Compute/virtualMachines,Microsoft.Compute/virtualMachineScaleSets", - "api-version": "2020-06-01" - }, - "responses": { - "202": { - "description": "Accepted" - }, - "200": { - "description": "OK" - } - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/ForceDeleteVMsInResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/ForceDeleteVMsInResourceGroup.json deleted file mode 100644 index ba2a47410f91..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/ForceDeleteVMsInResourceGroup.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "my-resource-group", - "forceDeletionTypes": "Microsoft.Compute/virtualMachines", - "api-version": "2020-06-01" - }, - "responses": { - "202": { - "description": "Accepted" - }, - "200": { - "description": "OK" - } - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetNamedProviderAtTenant.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetNamedProviderAtTenant.json deleted file mode 100644 index 86573a1566d2..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetNamedProviderAtTenant.json +++ /dev/null @@ -1,253 +0,0 @@ -{ - "parameters": { - "$expand": "resourceTypes/aliases", - "resourceProviderNamespace": "Microsoft.Storage", - "api-version": "2021-01-01" - }, - "responses": { - "200": { - "body": { - "namespace": "Microsoft.Storage", - "resourceTypes": [ - { - "resourceType": "storageAccounts", - "locations": [ - "East US", - "East US 2", - "East US 2 (Stage)", - "West US", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "North Central US", - "South Central US", - "Central US", - "North Europe", - "Brazil South", - "Australia East", - "Australia Southeast", - "South India", - "Central India", - "West India", - "Canada East", - "Canada Central", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "East US 2 EUAP", - "Central US EUAP", - "France Central", - "France South", - "Australia Central", - "Australia Central 2", - "South Africa West", - "South Africa North", - "UAE Central", - "UAE North", - "Switzerland North", - "Switzerland West", - "Germany West Central", - "Germany North", - "Norway East", - "Norway West", - "South Central US STG", - "Brazil Southeast" - ], - "apiVersions": [ - "2019-06-01", - "2019-04-01", - "2018-11-01", - "2018-07-01", - "2018-03-01-preview", - "2018-02-01", - "2017-10-01", - "2017-06-01", - "2016-12-01", - "2016-05-01", - "2016-01-01", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2019-06-01", - "apiProfiles": [ - { - "profileVersion": "2019-03-01-hybrid", - "apiVersion": "2017-10-01" - }, - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-01-01" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2016-01-01" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-10-01" - } - ], - "aliases": [ - { - "name": "Microsoft.Storage/storageAccounts/accountType", - "paths": [ - { - "path": "properties.accountType", - "apiVersions": [ - "2015-06-15", - "2015-05-01-preview" - ] - }, - { - "path": "sku.name", - "apiVersions": [ - "2018-11-01", - "2018-11-09", - "2018-07-01", - "2018-03-01-Preview", - "2018-02-01", - "2017-10-01", - "2017-06-01", - "2016-12-01", - "2016-05-01", - "2016-01-01" - ] - } - ], - "defaultPath": "sku.name" - }, - { - "name": "Microsoft.Storage/storageAccounts/sku.name", - "paths": [ - { - "path": "properties.accountType", - "apiVersions": [ - "2015-06-15", - "2015-05-01-preview" - ] - }, - { - "path": "sku.name", - "apiVersions": [ - "2018-11-01", - "2018-11-09", - "2018-07-01", - "2018-03-01-Preview", - "2018-02-01", - "2017-10-01", - "2017-06-01", - "2016-12-01", - "2016-05-01", - "2016-01-01" - ] - } - ], - "defaultPath": "sku.name" - }, - { - "name": "Microsoft.Storage/storageAccounts/accessTier", - "paths": [ - { - "path": "properties.accessTier", - "apiVersions": [ - "2018-11-01", - "2018-11-09", - "2018-07-01", - "2018-03-01-Preview", - "2018-02-01", - "2017-10-01", - "2017-06-01", - "2016-12-01", - "2016-05-01", - "2016-01-01", - "2015-06-15", - "2015-05-01-preview" - ] - } - ], - "defaultPath": "properties.accessTier" - }, - { - "name": "Microsoft.Storage/storageAccounts/enableBlobEncryption", - "paths": [ - { - "path": "properties.encryption.services.blob.enabled", - "apiVersions": [ - "2018-11-01", - "2018-11-09", - "2018-07-01", - "2018-03-01-Preview", - "2018-02-01", - "2017-10-01", - "2017-06-01", - "2016-12-01", - "2016-05-01", - "2016-01-01", - "2015-06-15", - "2015-05-01-preview" - ] - } - ], - "defaultPath": "properties.encryption.services.blob.enabled" - }, - { - "name": "Microsoft.Storage/storageAccounts/enableFileEncryption", - "paths": [ - { - "path": "properties.encryption.services.file.enabled", - "apiVersions": [ - "2018-11-01", - "2018-11-09", - "2018-07-01", - "2018-03-01-Preview", - "2018-02-01", - "2017-10-01", - "2017-06-01", - "2016-12-01", - "2016-05-01", - "2016-01-01", - "2015-06-15", - "2015-05-01-preview" - ] - } - ], - "defaultPath": "properties.encryption.services.file.enabled" - }, - { - "name": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly", - "paths": [ - { - "path": "properties.supportsHttpsTrafficOnly", - "apiVersions": [ - "2018-11-09", - "2018-03-01-Preview", - "2016-05-01", - "2016-01-01", - "2015-06-15", - "2015-05-01-preview" - ], - "metadata": { - "type": "NotSpecified", - "attributes": "None" - } - } - ], - "defaultPath": "properties.supportsHttpsTrafficOnly", - "defaultMetadata": { - "type": "Boolean", - "attributes": "Modifiable" - } - } - ], - "capabilities": "SupportsTags, SupportsLocation" - } - ] - } - } - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetProvider.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetProvider.json deleted file mode 100644 index c56e92960fbc..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetProvider.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceProviderNamespace": "Microsoft.TestRP1", - "api-version": "2021-01-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.TestRP1", - "namespace": "Microsoft.TestRP1", - "registrationState": "Registering", - "registrationPolicy": "RegistrationRequired", - "resourceTypes": [ - { - "resourceType": "TestResourceType", - "locations": [ - "West US" - ], - "apiVersions": [ - "2018-01-01", - "2015-05-01" - ], - "locationMappings": [ - { - "location": "West US", - "type": "EdgeZone", - "extendedLocations": [ - "LosAngeles", - "LosAngeles2" - ] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "TestResourceTypeSibling", - "locations": [ - "West US" - ], - "apiVersions": [ - "2018-01-01", - "2015-05-01" - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - } - ] - } - } - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetProviderResourceTypes.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetProviderResourceTypes.json deleted file mode 100644 index bbb9260ba33a..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetProviderResourceTypes.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceProviderNamespace": "Microsoft.TestRP", - "api-version": "2021-01-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "resourceType": "TestResourceType", - "locations": [ - "West US" - ], - "apiVersions": [ - "2018-01-01", - "2015-05-01" - ], - "locationMappings": [ - { - "location": "West US", - "type": "EdgeZone", - "extendedLocations": [ - "LosAngeles", - "LosAngeles2" - ] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "TestResourceTypeSibling", - "locations": [ - "West US" - ], - "apiVersions": [ - "2018-01-01", - "2015-05-01" - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - } - ] - } - } - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetProviders.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetProviders.json deleted file mode 100644 index 20756d3a8b52..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetProviders.json +++ /dev/null @@ -1,175 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2021-01-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.TestRP1", - "namespace": "Microsoft.TestRP1", - "registrationState": "Registering", - "registrationPolicy": "RegistrationRequired", - "resourceTypes": [ - { - "resourceType": "TestResourceType", - "locations": [ - "West US" - ], - "apiVersions": [ - "2018-01-01", - "2015-05-01" - ], - "locationMappings": [ - { - "location": "West US", - "type": "EdgeZone", - "extendedLocations": [ - "LosAngeles", - "LosAngeles2" - ] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "TestResourceTypeSibling", - "locations": [ - "West US" - ], - "apiVersions": [ - "2018-01-01", - "2015-05-01" - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - } - ] - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources", - "namespace": "Microsoft.Resources", - "registrationState": "Registered", - "registrationPolicy": "RegistrationFree", - "resourceTypes": [ - { - "resourceType": "subscriptions", - "locations": [ - "eastus", - "eastus2", - "westus" - ], - "apiVersions": [ - "2016-09-01", - "2014-04-01-preview" - ], - "aliases": [], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "resourceGroups", - "locations": [ - "centralus", - "eastasia", - "southeastasia" - ], - "apiVersions": [ - "2016-09-01", - "2014-04-01-preview" - ], - "aliases": [], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "subscriptions/resourceGroups", - "locations": [ - "eastus", - "eastus2", - "westus" - ], - "apiVersions": [ - "2016-09-01", - "2014-04-01-preview" - ], - "aliases": [], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "bulkDelete", - "locations": [ - "centralus", - "eastasia" - ], - "apiVersions": [ - "2014-04-01-preview" - ], - "aliases": [], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "deployments", - "locations": [], - "apiVersions": [ - "2017-08-01", - "2017-06-01" - ], - "aliases": [], - "capabilities": "SupportsTags" - }, - { - "resourceType": "tags", - "locations": [ - "DevFabric" - ], - "apiVersions": [], - "aliases": [], - "capabilities": "SupportsExtension" - } - ] - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.TestRP2", - "namespace": "Microsoft.TestRP2", - "registrationState": "NotRegistered", - "registrationPolicy": "RegistrationRequired", - "resourceTypes": [ - { - "resourceType": "TestResourceType", - "locations": [ - "West US" - ], - "apiVersions": [ - "2018-01-01", - "2015-05-01" - ], - "locationMappings": [ - { - "location": "West US", - "type": "EdgeZone", - "extendedLocations": [ - "LosAngeles", - "LosAngeles2" - ] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "TestResourceTypeSibling", - "locations": [ - "West US" - ], - "apiVersions": [ - "2018-01-01", - "2015-05-01" - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - } - ] - } - ] - } - } - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetTagsResource.json deleted file mode 100644 index b66f222eb0af..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetTagsResource.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "scope": "subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/my-resource-group/providers/myPRNameSpace/VM/myVm", - "api-version": "2021-01-01" - }, - "responses": { - "200": { - "body": { - "properties": { - "tags": { - "tagKey1": "tag-value-1", - "tagKey2": "tag-value-2" - } - } - } - } - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetTagsSubscription.json deleted file mode 100644 index 625262aec894..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/GetTagsSubscription.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "scope": "subscriptions/00000000-0000-0000-0000-000000000000", - "api-version": "2021-01-01" - }, - "responses": { - "200": { - "body": { - "properties": { - "tags": { - "tagKey1": "tag-value-1", - "tagKey2": "tag-value-2" - } - } - } - } - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/PutTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/PutTagsResource.json deleted file mode 100644 index 39b2f5583b88..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/PutTagsResource.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "scope": "subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/my-resource-group/providers/myPRNameSpace/VM/myVm", - "api-version": "2021-01-01", - "parameters": { - "properties": { - "tags": { - "tagKey1": "tag-value-1", - "tagKey2": "tag-value-2" - } - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "tags": { - "tagKey1": "tag-value-1", - "tagKey2": "tag-value-2" - } - } - } - } - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/PutTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/PutTagsSubscription.json deleted file mode 100644 index d193c0a7e661..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/examples/PutTagsSubscription.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "scope": "subscriptions/00000000-0000-0000-0000-000000000000", - "api-version": "2021-01-01", - "parameters": { - "properties": { - "tags": { - "tagKey1": "tag-value-1", - "tagKey2": "tag-value-2" - } - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "tags": { - "tagKey1": "tag-value-1", - "tagKey2": "tag-value-2" - } - } - } - } - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/resources.json deleted file mode 100644 index ecc384275f82..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/resources.json +++ /dev/null @@ -1,3084 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "ResourceManagementClient", - "version": "2021-01-01", - "description": "Provides operations for working with resources and resource groups." - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/providers/Microsoft.Resources/operations": { - "get": { - "tags": [ - "Operations" - ], - "operationId": "Operations_List", - "description": "Lists all of the available Microsoft.Resources REST API operations.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK. The request has succeeded.", - "schema": { - "$ref": "#/definitions/OperationListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/unregister": { - "post": { - "tags": [ - "Providers" - ], - "operationId": "Providers_Unregister", - "description": "Unregisters a subscription from a resource provider.", - "parameters": [ - { - "name": "resourceProviderNamespace", - "in": "path", - "required": true, - "type": "string", - "description": "The namespace of the resource provider to unregister." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns information about the resource provider.", - "schema": { - "$ref": "#/definitions/Provider" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/providers/Microsoft.Management/managementGroups/{groupId}/providers/{resourceProviderNamespace}/register": { - "post": { - "tags": [ - "Providers" - ], - "operationId": "Providers_RegisterAtManagementGroupScope", - "description": "Registers a management group with a resource provider.", - "parameters": [ - { - "name": "resourceProviderNamespace", - "in": "path", - "required": true, - "type": "string", - "description": "The namespace of the resource provider to register." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/GroupIdParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns information about the resource provider." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/register": { - "post": { - "tags": [ - "Providers" - ], - "operationId": "Providers_Register", - "description": "Registers a subscription with a resource provider.", - "parameters": [ - { - "name": "resourceProviderNamespace", - "in": "path", - "required": true, - "type": "string", - "description": "The namespace of the resource provider to register." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns information about the resource provider.", - "schema": { - "$ref": "#/definitions/Provider" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/providers": { - "get": { - "tags": [ - "Providers" - ], - "operationId": "Providers_List", - "description": "Gets all resource providers for a subscription.", - "parameters": [ - { - "name": "$top", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "description": "The number of results to return. If null is passed returns all deployments." - }, - { - "name": "$expand", - "in": "query", - "required": false, - "type": "string", - "description": "The properties to include in the results. For example, use &$expand=metadata in the query string to retrieve resource provider metadata. To include property aliases in response, use $expand=resourceTypes/aliases." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns an array of resource providers.", - "schema": { - "$ref": "#/definitions/ProviderListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Get providers.": { - "$ref": "./examples/GetProviders.json" - } - } - } - }, - "/providers": { - "get": { - "tags": [ - "Providers" - ], - "operationId": "Providers_ListAtTenantScope", - "description": "Gets all resource providers for the tenant.", - "parameters": [ - { - "name": "$top", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "description": "The number of results to return. If null is passed returns all providers." - }, - { - "name": "$expand", - "in": "query", - "required": false, - "type": "string", - "description": "The properties to include in the results. For example, use &$expand=metadata in the query string to retrieve resource provider metadata. To include property aliases in response, use $expand=resourceTypes/aliases." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns an array of resource providers.", - "schema": { - "$ref": "#/definitions/ProviderListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}": { - "get": { - "tags": [ - "Providers" - ], - "operationId": "Providers_Get", - "description": "Gets the specified resource provider.", - "parameters": [ - { - "name": "$expand", - "in": "query", - "required": false, - "type": "string", - "description": "The $expand query parameter. For example, to include property aliases in response, use $expand=resourceTypes/aliases." - }, - { - "name": "resourceProviderNamespace", - "in": "path", - "required": true, - "type": "string", - "description": "The namespace of the resource provider." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns information about the resource provider.", - "schema": { - "$ref": "#/definitions/Provider" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Get provider.": { - "$ref": "./examples/GetProvider.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/resourceTypes": { - "get": { - "tags": [ - "Providers" - ], - "operationId": "ProviderResourceTypes_List", - "description": "List the resource types for a specified resource provider.", - "parameters": [ - { - "name": "$expand", - "in": "query", - "required": false, - "type": "string", - "description": "The $expand query parameter. For example, to include property aliases in response, use $expand=resourceTypes/aliases." - }, - { - "name": "resourceProviderNamespace", - "in": "path", - "required": true, - "type": "string", - "description": "The namespace of the resource provider." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns resource types information for the resource provider.", - "schema": { - "$ref": "#/definitions/ProviderResourceTypeListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Get provider resource types.": { - "$ref": "./examples/GetProviderResourceTypes.json" - } - } - } - }, - "/providers/{resourceProviderNamespace}": { - "get": { - "tags": [ - "Providers" - ], - "x-ms-examples": { - "Get a resource provider at tenant scope": { - "$ref": "./examples/GetNamedProviderAtTenant.json" - } - }, - "operationId": "Providers_GetAtTenantScope", - "description": "Gets the specified resource provider at the tenant level.", - "parameters": [ - { - "name": "$expand", - "in": "query", - "required": false, - "type": "string", - "description": "The $expand query parameter. For example, to include property aliases in response, use $expand=resourceTypes/aliases." - }, - { - "name": "resourceProviderNamespace", - "in": "path", - "required": true, - "type": "string", - "description": "The namespace of the resource provider." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns information about the resource provider.", - "schema": { - "$ref": "#/definitions/Provider" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/resources": { - "get": { - "tags": [ - "ResourceGroups" - ], - "operationId": "Resources_ListByResourceGroup", - "description": "Get all the resources for a resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The resource group with the resources to get.", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90 - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "The filter to apply on the operation.

The properties you can use for eq (equals) or ne (not equals) are: location, resourceType, name, resourceGroup, identity, identity/principalId, plan, plan/publisher, plan/product, plan/name, plan/version, and plan/promotionCode.

For example, to filter by a resource type, use: $filter=resourceType eq 'Microsoft.Network/virtualNetworks'

You can use substringof(value, property) in the filter. The properties you can use for substring are: name and resourceGroup.

For example, to get all resources with 'demo' anywhere in the name, use: $filter=substringof('demo', name)

You can link more than one substringof together by adding and/or operators.

You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1'. When you filter by a tag name and value, the tags for each resource are not returned in the results.

You can use some properties together when filtering. The combinations you can use are: substringof and/or resourceType, plan and plan/publisher and plan/name, identity and identity/principalId." - }, - { - "name": "$expand", - "in": "query", - "required": false, - "type": "string", - "description": "Comma-separated list of additional properties to be included in the response. Valid values include `createdTime`, `changedTime` and `provisioningState`. For example, `$expand=createdTime,changedTime`." - }, - { - "name": "$top", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "description": "The number of results to return. If null is passed, returns all resources." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns an array of resources", - "schema": { - "$ref": "#/definitions/ResourceListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/GenericResourceFilter" - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}": { - "head": { - "tags": [ - "ResourceGroups" - ], - "operationId": "ResourceGroups_CheckExistence", - "description": "Checks whether a resource group exists.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group to check. The name is case insensitive.", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90 - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "404": { - "description": "Not Found" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "put": { - "tags": [ - "ResourceGroups" - ], - "x-ms-examples": { - "Create or update a resource group": { - "$ref": "./examples/CreateResourceGroup.json" - } - }, - "operationId": "ResourceGroups_CreateOrUpdate", - "description": "Creates or updates a resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group to create or update. Can include alphanumeric, underscore, parentheses, hyphen, period (except at end), and Unicode characters that match the allowed characters.", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90 - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ResourceGroup" - }, - "description": "Parameters supplied to the create or update a resource group." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns information about the new resource group.", - "schema": { - "$ref": "#/definitions/ResourceGroup" - } - }, - "201": { - "description": "Created - Returns information about the new resource group.", - "schema": { - "$ref": "#/definitions/ResourceGroup" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "ResourceGroups" - ], - "operationId": "ResourceGroups_Delete", - "summary": "Deletes a resource group.", - "description": "When you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes all of its template deployments and currently stored operations.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group to delete. The name is case insensitive.", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90 - }, - { - "name": "forceDeletionTypes", - "in": "query", - "required": false, - "type": "string", - "description": "The resource types you want to force delete. Currently, only the following is supported: forceDeletionTypes=Microsoft.Compute/virtualMachines,Microsoft.Compute/virtualMachineScaleSets" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "x-ms-examples": { - "Force delete all the Virtual Machines in a resource group": { - "$ref": "./examples/ForceDeleteVMsInResourceGroup.json" - }, - "Force delete all the Virtual Machines and Virtual Machine Scale Sets in a resource group": { - "$ref": "./examples/ForceDeleteVMsAndVMSSInResourceGroup.json" - } - }, - "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "get": { - "tags": [ - "ResourceGroups" - ], - "operationId": "ResourceGroups_Get", - "description": "Gets a resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group to get. The name is case insensitive.", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90 - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns information about the resource group.", - "schema": { - "$ref": "#/definitions/ResourceGroup" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "patch": { - "tags": [ - "ResourceGroups" - ], - "operationId": "ResourceGroups_Update", - "summary": "Updates a resource group.", - "description": "Resource groups can be updated through a simple PATCH operation to a group address. The format of the request is the same as that for creating a resource group. If a field is unspecified, the current value is retained.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group to update. The name is case insensitive.", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90 - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ResourceGroupPatchable" - }, - "description": "Parameters supplied to update a resource group." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns information about the resource group.", - "schema": { - "$ref": "#/definitions/ResourceGroup" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/exportTemplate": { - "post": { - "tags": [ - "ResourceGroups" - ], - "operationId": "ResourceGroups_ExportTemplate", - "description": "Captures the specified resource group as a template.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ExportTemplateRequest" - }, - "description": "Parameters for exporting the template." - } - ], - "x-ms-examples": { - "Export a resource group": { - "$ref": "./examples/ExportResourceGroup.json" - }, - "Export a resource group with filtering": { - "$ref": "./examples/ExportResourceGroupWithFiltering.json" - } - }, - "responses": { - "200": { - "description": "OK - Returns the result of the export.", - "schema": { - "$ref": "#/definitions/ResourceGroupExportResult" - } - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourcegroups": { - "get": { - "tags": [ - "ResourceGroups" - ], - "operationId": "ResourceGroups_List", - "description": "Gets all the resource groups for a subscription.", - "parameters": [ - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "The filter to apply on the operation.

You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1'" - }, - { - "name": "$top", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "description": "The number of results to return. If null is passed, returns all resource groups." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns an array of resource groups.", - "schema": { - "$ref": "#/definitions/ResourceGroupListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/ResourceGroupFilter" - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{sourceResourceGroupName}/moveResources": { - "post": { - "tags": [ - "Resources" - ], - "operationId": "Resources_MoveResources", - "summary": "Moves resources from one resource group to another resource group.", - "description": "The resources to move must be in the same source resource group. The target resource group may be in a different subscription. When moving resources, both the source group and the target group are locked for the duration of the operation. Write and delete operations are blocked on the groups until the move completes. ", - "parameters": [ - { - "name": "sourceResourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group containing the resources to move.", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90 - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ResourcesMoveInfo" - }, - "description": "Parameters for moving resources." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "202": { - "description": "Accepted" - }, - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{sourceResourceGroupName}/validateMoveResources": { - "post": { - "tags": [ - "Resources" - ], - "operationId": "Resources_ValidateMoveResources", - "summary": "Validates whether resources can be moved from one resource group to another resource group.", - "description": "This operation checks whether the specified resources can be moved to the target. The resources to move must be in the same source resource group. The target resource group may be in a different subscription. If validation succeeds, it returns HTTP response code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an error message. Retrieve the URL in the Location header value to check the result of the long-running operation.", - "parameters": [ - { - "name": "sourceResourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group containing the resources to validate for move.", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90 - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ResourcesMoveInfo" - }, - "description": "Parameters for moving resources." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "202": { - "description": "Accepted" - }, - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resources": { - "get": { - "tags": [ - "Resources" - ], - "operationId": "Resources_List", - "description": "Get all the resources in a subscription.", - "parameters": [ - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "The filter to apply on the operation.

The properties you can use for eq (equals) or ne (not equals) are: location, resourceType, name, resourceGroup, identity, identity/principalId, plan, plan/publisher, plan/product, plan/name, plan/version, and plan/promotionCode.

For example, to filter by a resource type, use: $filter=resourceType eq 'Microsoft.Network/virtualNetworks'

You can use substringof(value, property) in the filter. The properties you can use for substring are: name and resourceGroup.

For example, to get all resources with 'demo' anywhere in the name, use: $filter=substringof('demo', name)

You can link more than one substringof together by adding and/or operators.

You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1'. When you filter by a tag name and value, the tags for each resource are not returned in the results.

You can use some properties together when filtering. The combinations you can use are: substringof and/or resourceType, plan and plan/publisher and plan/name, identity and identity/principalId." - }, - { - "name": "$expand", - "in": "query", - "required": false, - "type": "string", - "description": "Comma-separated list of additional properties to be included in the response. Valid values include `createdTime`, `changedTime` and `provisioningState`. For example, `$expand=createdTime,changedTime`." - }, - { - "name": "$top", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "description": "The number of results to return. If null is passed, returns all resources." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns an array of resources.", - "schema": { - "$ref": "#/definitions/ResourceListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/GenericResourceFilter" - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}": { - "head": { - "tags": [ - "Resources" - ], - "operationId": "Resources_CheckExistence", - "description": "Checks whether a resource exists.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group containing the resource to check. The name is case insensitive.", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90 - }, - { - "name": "resourceProviderNamespace", - "in": "path", - "required": true, - "type": "string", - "description": "The resource provider of the resource to check." - }, - { - "name": "parentResourcePath", - "in": "path", - "required": true, - "type": "string", - "description": "The parent resource identity.", - "x-ms-skip-url-encoding": true - }, - { - "name": "resourceType", - "in": "path", - "required": true, - "type": "string", - "description": "The resource type.", - "x-ms-skip-url-encoding": true - }, - { - "name": "resourceName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource to check whether it exists." - }, - { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to use for the operation.", - "x-ms-api-version": false - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "404": { - "description": "Not Found" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "Resources" - ], - "operationId": "Resources_Delete", - "description": "Deletes a resource.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group that contains the resource to delete. The name is case insensitive.", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90 - }, - { - "name": "resourceProviderNamespace", - "in": "path", - "required": true, - "type": "string", - "description": "The namespace of the resource provider." - }, - { - "name": "parentResourcePath", - "in": "path", - "required": true, - "type": "string", - "description": "The parent resource identity.", - "x-ms-skip-url-encoding": true - }, - { - "name": "resourceType", - "in": "path", - "required": true, - "type": "string", - "description": "The resource type.", - "x-ms-skip-url-encoding": true - }, - { - "name": "resourceName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource to delete." - }, - { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to use for the operation.", - "x-ms-api-version": false - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "put": { - "tags": [ - "Resources" - ], - "operationId": "Resources_CreateOrUpdate", - "description": "Creates a resource.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group for the resource. The name is case insensitive.", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90 - }, - { - "name": "resourceProviderNamespace", - "in": "path", - "required": true, - "type": "string", - "description": "The namespace of the resource provider." - }, - { - "name": "parentResourcePath", - "in": "path", - "required": true, - "type": "string", - "description": "The parent resource identity.", - "x-ms-skip-url-encoding": true - }, - { - "name": "resourceType", - "in": "path", - "required": true, - "type": "string", - "description": "The resource type of the resource to create.", - "x-ms-skip-url-encoding": true - }, - { - "name": "resourceName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource to create." - }, - { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to use for the operation.", - "x-ms-api-version": false - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/GenericResource" - }, - "description": "Parameters for creating or updating the resource." - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns information about the resource.", - "schema": { - "$ref": "#/definitions/GenericResource" - } - }, - "201": { - "description": "Created - Returns information about the resource.", - "schema": { - "$ref": "#/definitions/GenericResource" - } - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "patch": { - "tags": [ - "Resources" - ], - "operationId": "Resources_Update", - "description": "Updates a resource.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group for the resource. The name is case insensitive.", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90 - }, - { - "name": "resourceProviderNamespace", - "in": "path", - "required": true, - "type": "string", - "description": "The namespace of the resource provider." - }, - { - "name": "parentResourcePath", - "in": "path", - "required": true, - "type": "string", - "description": "The parent resource identity.", - "x-ms-skip-url-encoding": true - }, - { - "name": "resourceType", - "in": "path", - "required": true, - "type": "string", - "description": "The resource type of the resource to update.", - "x-ms-skip-url-encoding": true - }, - { - "name": "resourceName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource to update." - }, - { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to use for the operation.", - "x-ms-api-version": false - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/GenericResource" - }, - "description": "Parameters for updating the resource." - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns information about the resource.", - "schema": { - "$ref": "#/definitions/GenericResource" - } - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "get": { - "tags": [ - "Resources" - ], - "operationId": "Resources_Get", - "description": "Gets a resource.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group containing the resource to get. The name is case insensitive.", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90 - }, - { - "name": "resourceProviderNamespace", - "in": "path", - "required": true, - "type": "string", - "description": "The namespace of the resource provider." - }, - { - "name": "parentResourcePath", - "in": "path", - "required": true, - "type": "string", - "description": "The parent resource identity.", - "x-ms-skip-url-encoding": true - }, - { - "name": "resourceType", - "in": "path", - "required": true, - "type": "string", - "description": "The resource type of the resource.", - "x-ms-skip-url-encoding": true - }, - { - "name": "resourceName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource to get." - }, - { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to use for the operation.", - "x-ms-api-version": false - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns information about the resource.", - "schema": { - "$ref": "#/definitions/GenericResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/{resourceId}": { - "head": { - "tags": [ - "Resources" - ], - "operationId": "Resources_CheckExistenceById", - "description": "Checks by ID whether a resource exists.", - "parameters": [ - { - "name": "resourceId", - "in": "path", - "required": true, - "type": "string", - "description": "The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}", - "x-ms-skip-url-encoding": true - }, - { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to use for the operation.", - "x-ms-api-version": false - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "404": { - "description": "Not Found" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "Resources" - ], - "operationId": "Resources_DeleteById", - "description": "Deletes a resource by ID.", - "parameters": [ - { - "name": "resourceId", - "in": "path", - "required": true, - "type": "string", - "description": "The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}", - "x-ms-skip-url-encoding": true - }, - { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to use for the operation.", - "x-ms-api-version": false - } - ], - "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "put": { - "tags": [ - "Resources" - ], - "operationId": "Resources_CreateOrUpdateById", - "description": "Create a resource by ID.", - "parameters": [ - { - "name": "resourceId", - "in": "path", - "required": true, - "type": "string", - "description": "The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}", - "x-ms-skip-url-encoding": true - }, - { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to use for the operation.", - "x-ms-api-version": false - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/GenericResource" - }, - "description": "Create or update resource parameters." - } - ], - "responses": { - "200": { - "description": "OK - Returns information about the resource.", - "schema": { - "$ref": "#/definitions/GenericResource" - } - }, - "201": { - "description": "Created - Returns information about the resource.", - "schema": { - "$ref": "#/definitions/GenericResource" - } - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "patch": { - "tags": [ - "Resources" - ], - "operationId": "Resources_UpdateById", - "description": "Updates a resource by ID.", - "parameters": [ - { - "name": "resourceId", - "in": "path", - "required": true, - "type": "string", - "description": "The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}", - "x-ms-skip-url-encoding": true - }, - { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to use for the operation.", - "x-ms-api-version": false - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/GenericResource" - }, - "description": "Update resource parameters." - } - ], - "responses": { - "200": { - "description": "OK - Returns information about the resource.", - "schema": { - "$ref": "#/definitions/GenericResource" - } - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "get": { - "tags": [ - "Resources" - ], - "operationId": "Resources_GetById", - "description": "Gets a resource by ID.", - "parameters": [ - { - "name": "resourceId", - "in": "path", - "required": true, - "type": "string", - "description": "The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}", - "x-ms-skip-url-encoding": true - }, - { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to use for the operation.", - "x-ms-api-version": false - } - ], - "responses": { - "200": { - "description": "OK - Returns information about the resource.", - "schema": { - "$ref": "#/definitions/GenericResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/tagNames/{tagName}/tagValues/{tagValue}": { - "delete": { - "tags": [ - "Tags" - ], - "operationId": "Tags_DeleteValue", - "summary": "Deletes a predefined tag value for a predefined tag name.", - "description": "This operation allows deleting a value from the list of predefined values for an existing predefined tag name. The value being deleted must not be in use as a tag value for the given tag name for any resource.", - "parameters": [ - { - "name": "tagName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the tag." - }, - { - "name": "tagValue", - "in": "path", - "required": true, - "type": "string", - "description": "The value of the tag to delete." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Predefined tag value successfully deleted." - }, - "204": { - "description": "Predefined tag value did not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "put": { - "tags": [ - "Tags" - ], - "operationId": "Tags_CreateOrUpdateValue", - "summary": "Creates a predefined value for a predefined tag name.", - "description": "This operation allows adding a value to the list of predefined values for an existing predefined tag name. A tag value can have a maximum of 256 characters.", - "parameters": [ - { - "name": "tagName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the tag." - }, - { - "name": "tagValue", - "in": "path", - "required": true, - "type": "string", - "description": "The value of the tag to create." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Predefined tag value already exists. Returns information about the predefined tag value.", - "schema": { - "$ref": "#/definitions/TagValue" - } - }, - "201": { - "description": "Predefined tag value successfully created. Returns information about the predefined tag value.", - "schema": { - "$ref": "#/definitions/TagValue" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/tagNames/{tagName}": { - "put": { - "tags": [ - "Tags" - ], - "operationId": "Tags_CreateOrUpdate", - "summary": "Creates a predefined tag name.", - "description": "This operation allows adding a name to the list of predefined tag names for the given subscription. A tag name can have a maximum of 512 characters and is case-insensitive. Tag names cannot have the following prefixes which are reserved for Azure use: 'microsoft', 'azure', 'windows'.", - "parameters": [ - { - "name": "tagName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the tag to create." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Predefined tag name already exists. Returns information about the predefined tag name.", - "schema": { - "$ref": "#/definitions/TagDetails" - } - }, - "201": { - "description": "Predefined tag name successfully created. Returns information about the predefined tag name.", - "schema": { - "$ref": "#/definitions/TagDetails" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "Tags" - ], - "operationId": "Tags_Delete", - "summary": "Deletes a predefined tag name.", - "description": "This operation allows deleting a name from the list of predefined tag names for the given subscription. The name being deleted must not be in use as a tag name for any resource. All predefined values for the given name must have already been deleted.", - "parameters": [ - { - "name": "tagName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the tag." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Predefined tag name successfully deleted." - }, - "204": { - "description": "Predefined tag name did not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/tagNames": { - "get": { - "tags": [ - "Tags" - ], - "operationId": "Tags_List", - "summary": "Gets a summary of tag usage under the subscription.", - "description": "This operation performs a union of predefined tags, resource tags, resource group tags and subscription tags, and returns a summary of usage for each tag name and value under the given subscription. In case of a large number of tags, this operation may return a previously cached result.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns an array of tag names and values.", - "schema": { - "$ref": "#/definitions/TagsListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/{scope}/providers/Microsoft.Resources/tags/default": { - "put": { - "tags": [ - "Tags" - ], - "operationId": "Tags_CreateOrUpdateAtScope", - "summary": "Creates or updates the entire set of tags on a resource or subscription.", - "description": "This operation allows adding or replacing the entire set of tags on the specified resource or subscription. The specified entity can have a maximum of 50 tags.", - "parameters": [ - { - "$ref": "#/parameters/ScopeParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/TagsResource" - } - } - ], - "responses": { - "200": { - "description": "Tags updated successfully. Returns tags from the specified object.", - "schema": { - "$ref": "#/definitions/TagsResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Update tags on a resource": { - "$ref": "./examples/PutTagsResource.json" - }, - "Update tags on a subscription": { - "$ref": "./examples/PutTagsSubscription.json" - } - } - }, - "patch": { - "tags": [ - "Tags" - ], - "operationId": "Tags_UpdateAtScope", - "summary": "Selectively updates the set of tags on a resource or subscription.", - "description": "This operation allows replacing, merging or selectively deleting tags on the specified resource or subscription. The specified entity can have a maximum of 50 tags at the end of the operation. The 'replace' option replaces the entire set of existing tags with a new set. The 'merge' option allows adding tags with new names and updating the values of tags with existing names. The 'delete' option allows selectively deleting tags based on given names or name/value pairs.", - "parameters": [ - { - "$ref": "#/parameters/ScopeParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/TagsPatchResource" - } - } - ], - "responses": { - "200": { - "description": "Tags updated successfully. Returns tags from the specified object.", - "schema": { - "$ref": "#/definitions/TagsResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "get": { - "tags": [ - "Tags" - ], - "operationId": "Tags_GetAtScope", - "summary": "Gets the entire set of tags on a resource or subscription.", - "parameters": [ - { - "$ref": "#/parameters/ScopeParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Returns tags from the specified object.", - "schema": { - "$ref": "#/definitions/TagsResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Get tags on a resource": { - "$ref": "./examples/GetTagsResource.json" - }, - "Get tags on a subscription": { - "$ref": "./examples/GetTagsSubscription.json" - } - } - }, - "delete": { - "tags": [ - "Tags" - ], - "operationId": "Tags_DeleteAtScope", - "summary": "Deletes the entire set of tags on a resource or subscription.", - "parameters": [ - { - "$ref": "#/parameters/ScopeParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Tags successfully deleted." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - } - }, - "definitions": { - "GenericResourceFilter": { - "properties": { - "resourceType": { - "type": "string", - "description": "The resource type." - }, - "tagname": { - "type": "string", - "description": "The tag name." - }, - "tagvalue": { - "type": "string", - "description": "The tag value." - } - }, - "description": "Resource filter." - }, - "ResourceGroupFilter": { - "properties": { - "tagName": { - "type": "string", - "description": "The tag name." - }, - "tagValue": { - "type": "string", - "description": "The tag value." - } - }, - "description": "Resource group filter." - }, - "CloudError": { - "x-ms-external": true, - "properties": { - "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" - } - }, - "description": "An error response for a resource management request." - }, - "ApiProfile": { - "properties": { - "profileVersion": { - "type": "string", - "readOnly": true, - "description": "The profile version." - }, - "apiVersion": { - "type": "string", - "readOnly": true, - "description": "The API version." - } - } - }, - "AliasPathMetadata": { - "properties": { - "type": { - "type": "string", - "readOnly": true, - "enum": [ - "NotSpecified", - "Any", - "String", - "Object", - "Array", - "Integer", - "Number", - "Boolean" - ], - "x-ms-enum": { - "name": "AliasPathTokenType", - "modelAsString": true, - "values": [ - { - "value": "NotSpecified", - "description": "The token type is not specified." - }, - { - "value": "Any", - "description": "The token type can be anything." - }, - { - "value": "String", - "description": "The token type is string." - }, - { - "value": "Object", - "description": "The token type is object." - }, - { - "value": "Array", - "description": "The token type is array." - }, - { - "value": "Integer", - "description": "The token type is integer." - }, - { - "value": "Number", - "description": "The token type is number." - }, - { - "value": "Boolean", - "description": "The token type is boolean." - } - ] - }, - "description": "The type of the token that the alias path is referring to." - }, - "attributes": { - "type": "string", - "readOnly": true, - "enum": [ - "None", - "Modifiable" - ], - "x-ms-enum": { - "name": "AliasPathAttributes", - "modelAsString": true, - "values": [ - { - "value": "None", - "description": "The token that the alias path is referring to has no attributes." - }, - { - "value": "Modifiable", - "description": "The token that the alias path is referring to is modifiable by policies with 'modify' effect." - } - ] - }, - "description": "The attributes of the token that the alias path is referring to." - } - } - }, - "AliasPath": { - "properties": { - "path": { - "type": "string", - "description": "The path of an alias." - }, - "apiVersions": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The API versions." - }, - "pattern": { - "$ref": "#/definitions/AliasPattern", - "description": "The pattern for an alias path." - }, - "metadata": { - "readOnly": true, - "$ref": "#/definitions/AliasPathMetadata", - "description": "The metadata of the alias path. If missing, fall back to the default metadata of the alias." - } - }, - "description": "The type of the paths for alias." - }, - "AliasPattern": { - "properties": { - "phrase": { - "type": "string", - "description": "The alias pattern phrase." - }, - "variable": { - "type": "string", - "description": "The alias pattern variable." - }, - "type": { - "type": "string", - "enum": [ - "NotSpecified", - "Extract" - ], - "x-ms-enum": { - "name": "AliasPatternType", - "modelAsString": false, - "values": [ - { - "value": "NotSpecified", - "description": "NotSpecified is not allowed." - }, - { - "value": "Extract", - "description": "Extract is the only allowed value." - } - ] - }, - "description": "The type of alias pattern" - } - }, - "description": "The type of the pattern for an alias path." - }, - "Alias": { - "properties": { - "name": { - "type": "string", - "description": "The alias name." - }, - "paths": { - "type": "array", - "items": { - "$ref": "#/definitions/AliasPath" - }, - "description": "The paths for an alias." - }, - "type": { - "type": "string", - "description": "The type of the alias.", - "enum": [ - "NotSpecified", - "PlainText", - "Mask" - ], - "x-ms-enum": { - "name": "AliasType", - "modelAsString": false, - "values": [ - { - "value": "NotSpecified", - "description": "Alias type is unknown (same as not providing alias type)." - }, - { - "value": "PlainText", - "description": "Alias value is not secret." - }, - { - "value": "Mask", - "description": "Alias value is secret." - } - ] - } - }, - "defaultPath": { - "type": "string", - "description": "The default path for an alias." - }, - "defaultPattern": { - "$ref": "#/definitions/AliasPattern", - "description": "The default pattern for an alias." - }, - "defaultMetadata": { - "readOnly": true, - "$ref": "#/definitions/AliasPathMetadata", - "description": "The default alias path metadata. Applies to the default path and to any alias path that doesn't have metadata" - } - }, - "description": "The alias type. " - }, - "ProviderExtendedLocation": { - "properties": { - "location": { - "type": "string", - "description": "The azure location." - }, - "type": { - "type": "string", - "description": "The extended location type." - }, - "extendedLocations": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The extended locations for the azure location." - } - }, - "description": "The provider extended location. " - }, - "ProviderResourceType": { - "properties": { - "resourceType": { - "type": "string", - "description": "The resource type." - }, - "locations": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The collection of locations where this resource type can be created." - }, - "locationMappings": { - "type": "array", - "items": { - "$ref": "#/definitions/ProviderExtendedLocation" - }, - "description": "The location mappings that are supported by this resource type." - }, - "aliases": { - "type": "array", - "items": { - "$ref": "#/definitions/Alias" - }, - "description": "The aliases that are supported by this resource type." - }, - "apiVersions": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The API version." - }, - "defaultApiVersion": { - "type": "string", - "readOnly": true, - "description": "The default API version." - }, - "zoneMappings": { - "type": "array", - "items": { - "$ref": "#/definitions/ZoneMapping" - } - }, - "apiProfiles": { - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/ApiProfile" - }, - "description": "The API profiles for the resource provider." - }, - "capabilities": { - "type": "string", - "description": "The additional capabilities offered by this resource type." - }, - "properties": { - "type": "object", - "additionalProperties": { - "type": "string", - "description": "The additional properties. " - }, - "description": "The properties." - } - }, - "description": "Resource type managed by the resource provider." - }, - "Provider": { - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The provider ID." - }, - "namespace": { - "type": "string", - "description": "The namespace of the resource provider." - }, - "registrationState": { - "readOnly": true, - "type": "string", - "description": "The registration state of the resource provider." - }, - "registrationPolicy": { - "readOnly": true, - "type": "string", - "description": "The registration policy of the resource provider." - }, - "resourceTypes": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/ProviderResourceType" - }, - "description": "The collection of provider resource types." - } - }, - "description": "Resource provider information." - }, - "ProviderListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Provider" - }, - "description": "An array of resource providers." - }, - "nextLink": { - "readOnly": true, - "type": "string", - "description": "The URL to use for getting the next set of results." - } - }, - "description": "List of resource providers." - }, - "ProviderResourceTypeListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ProviderResourceType" - }, - "description": "An array of resource types." - }, - "nextLink": { - "readOnly": true, - "type": "string", - "description": "The URL to use for getting the next set of results." - } - }, - "description": "List of resource types of a resource provider." - }, - "GenericResource": { - "properties": { - "plan": { - "$ref": "#/definitions/Plan", - "description": "The plan of the resource." - }, - "properties": { - "type": "object", - "description": "The resource properties." - }, - "kind": { - "type": "string", - "description": "The kind of the resource.", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - "managedBy": { - "type": "string", - "description": "ID of the resource that manages this resource." - }, - "sku": { - "$ref": "#/definitions/Sku", - "description": "The SKU of the resource." - }, - "identity": { - "$ref": "#/definitions/Identity", - "description": "The identity of the resource." - } - }, - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "description": "Resource information." - }, - "ExtendedLocation": { - "properties": { - "type": { - "type": "string", - "enum": [ - "EdgeZone" - ], - "x-ms-enum": { - "name": "ExtendedLocationType", - "modelAsString": true - }, - "description": "The extended location type." - }, - "name": { - "type": "string", - "description": "The extended location name." - } - }, - "description": "Resource extended location." - }, - "GenericResourceExpanded": { - "properties": { - "createdTime": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "The created time of the resource. This is only present if requested via the $expand query parameter." - }, - "changedTime": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "The changed time of the resource. This is only present if requested via the $expand query parameter." - }, - "provisioningState": { - "readOnly": true, - "type": "string", - "description": "The provisioning state of the resource. This is only present if requested via the $expand query parameter." - } - }, - "allOf": [ - { - "$ref": "#/definitions/GenericResource" - } - ], - "description": "Resource information." - }, - "Plan": { - "properties": { - "name": { - "type": "string", - "description": "The plan ID." - }, - "publisher": { - "type": "string", - "description": "The publisher ID." - }, - "product": { - "type": "string", - "description": "The offer ID." - }, - "promotionCode": { - "type": "string", - "description": "The promotion code." - }, - "version": { - "type": "string", - "description": "The plan's version." - } - }, - "description": "Plan for the resource." - }, - "Sku": { - "properties": { - "name": { - "type": "string", - "description": "The SKU name." - }, - "tier": { - "type": "string", - "description": "The SKU tier." - }, - "size": { - "type": "string", - "description": "The SKU size." - }, - "family": { - "type": "string", - "description": "The SKU family." - }, - "model": { - "type": "string", - "description": "The SKU model." - }, - "capacity": { - "type": "integer", - "format": "int32", - "description": "The SKU capacity." - } - }, - "description": "SKU for the resource." - }, - "Identity": { - "properties": { - "principalId": { - "readOnly": true, - "type": "string", - "description": "The principal ID of resource identity." - }, - "tenantId": { - "readOnly": true, - "type": "string", - "description": "The tenant ID of resource." - }, - "type": { - "type": "string", - "description": "The identity type.", - "enum": [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned", - "None" - ], - "x-ms-enum": { - "name": "ResourceIdentityType", - "modelAsString": false - } - }, - "userAssignedIdentities": { - "type": "object", - "additionalProperties": { - "type": "object", - "x-ms-client-name": "IdentityUserAssignedIdentitiesValue", - "properties": { - "principalId": { - "readOnly": true, - "type": "string", - "description": "The principal id of user assigned identity." - }, - "clientId": { - "readOnly": true, - "type": "string", - "description": "The client id of user assigned identity." - } - } - }, - "description": "The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." - } - }, - "description": "Identity for the resource." - }, - "ResourceListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/GenericResourceExpanded" - }, - "description": "An array of resources." - }, - "nextLink": { - "readOnly": true, - "type": "string", - "description": "The URL to use for getting the next set of results." - } - }, - "description": "List of resource groups." - }, - "ResourceGroup": { - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The ID of the resource group." - }, - "name": { - "readOnly": true, - "type": "string", - "description": "The name of the resource group." - }, - "type": { - "readOnly": true, - "type": "string", - "description": "The type of the resource group." - }, - "properties": { - "$ref": "#/definitions/ResourceGroupProperties", - "description": "The resource group properties." - }, - "location": { - "type": "string", - "description": "The location of the resource group. It cannot be changed after the resource group has been created. It must be one of the supported Azure locations." - }, - "managedBy": { - "type": "string", - "description": "The ID of the resource that manages this resource group." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string", - "description": "The additional properties. " - }, - "description": "The tags attached to the resource group." - } - }, - "required": [ - "location" - ], - "x-ms-azure-resource": true, - "description": "Resource group information." - }, - "ResourceGroupPatchable": { - "properties": { - "name": { - "type": "string", - "description": "The name of the resource group." - }, - "properties": { - "$ref": "#/definitions/ResourceGroupProperties", - "description": "The resource group properties." - }, - "managedBy": { - "type": "string", - "description": "The ID of the resource that manages this resource group." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string", - "description": "The additional properties. " - }, - "description": "The tags attached to the resource group." - } - }, - "description": "Resource group information." - }, - "ResourceGroupProperties": { - "properties": { - "provisioningState": { - "readOnly": true, - "type": "string", - "description": "The provisioning state. " - } - }, - "description": "The resource group properties." - }, - "ResourceGroupListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ResourceGroup" - }, - "description": "An array of resource groups." - }, - "nextLink": { - "readOnly": true, - "type": "string", - "description": "The URL to use for getting the next set of results." - } - }, - "description": "List of resource groups." - }, - "ResourcesMoveInfo": { - "properties": { - "resources": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The IDs of the resources." - }, - "targetResourceGroup": { - "type": "string", - "description": "The target resource group." - } - }, - "description": "Parameters of move resources." - }, - "ExportTemplateRequest": { - "properties": { - "resources": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The IDs of the resources to filter the export by. To export all resources, supply an array with single entry '*'." - }, - "options": { - "type": "string", - "description": "The export template options. A CSV-formatted list containing zero or more of the following: 'IncludeParameterDefaultValue', 'IncludeComments', 'SkipResourceNameParameterization', 'SkipAllParameterization'" - } - }, - "description": "Export resource group template request parameters." - }, - "TagCount": { - "properties": { - "type": { - "type": "string", - "description": "Type of count." - }, - "value": { - "type": "integer", - "description": "Value of count." - } - }, - "description": "Tag count." - }, - "TagValue": { - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The tag value ID." - }, - "tagValue": { - "type": "string", - "description": "The tag value." - }, - "count": { - "$ref": "#/definitions/TagCount", - "description": "The tag value count." - } - }, - "x-ms-azure-resource": true, - "description": "Tag information." - }, - "TagDetails": { - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The tag name ID." - }, - "tagName": { - "type": "string", - "description": "The tag name." - }, - "count": { - "$ref": "#/definitions/TagCount", - "description": "The total number of resources that use the resource tag. When a tag is initially created and has no associated resources, the value is 0." - }, - "values": { - "type": "array", - "items": { - "$ref": "#/definitions/TagValue" - }, - "description": "The list of tag values." - } - }, - "x-ms-azure-resource": true, - "description": "Tag details." - }, - "TagsListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/TagDetails" - }, - "description": "An array of tags." - }, - "nextLink": { - "readOnly": true, - "type": "string", - "description": "The URL to use for getting the next set of results." - } - }, - "description": "List of subscription tags." - }, - "ResourceProviderOperationDisplayProperties": { - "properties": { - "publisher": { - "type": "string", - "description": "Operation description." - }, - "provider": { - "type": "string", - "description": "Operation provider." - }, - "resource": { - "type": "string", - "description": "Operation resource." - }, - "operation": { - "type": "string", - "description": "Resource provider operation." - }, - "description": { - "type": "string", - "description": "Operation description." - } - }, - "description": "Resource provider operation's display properties." - }, - "Resource": { - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "Resource ID" - }, - "name": { - "readOnly": true, - "type": "string", - "description": "Resource name" - }, - "type": { - "readOnly": true, - "type": "string", - "description": "Resource type" - }, - "location": { - "type": "string", - "description": "Resource location" - }, - "extendedLocation": { - "$ref": "#/definitions/ExtendedLocation", - "x-ms-mutability": [ - "read", - "create" - ], - "description": "Resource extended location." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - } - }, - "x-ms-azure-resource": true, - "description": "Specified resource." - }, - "SubResource": { - "properties": { - "id": { - "type": "string", - "description": "Resource ID" - } - }, - "x-ms-azure-resource": true, - "description": "Sub-resource." - }, - "ResourceGroupExportResult": { - "properties": { - "template": { - "type": "object", - "description": "The template content." - }, - "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse", - "description": "The template export error." - } - }, - "description": "Resource group export result." - }, - "Operation": { - "description": "Microsoft.Resources operation", - "type": "object", - "properties": { - "name": { - "description": "Operation name: {provider}/{resource}/{operation}", - "type": "string" - }, - "display": { - "description": "The object that represents the operation.", - "properties": { - "provider": { - "description": "Service provider: Microsoft.Resources", - "type": "string" - }, - "resource": { - "description": "Resource on which the operation is performed: Profile, endpoint, etc.", - "type": "string" - }, - "operation": { - "description": "Operation type: Read, write, delete, etc.", - "type": "string" - }, - "description": { - "description": "Description of the operation.", - "type": "string" - } - } - } - } - }, - "OperationListResult": { - "description": "Result of the request to list Microsoft.Resources operations. It contains a list of operations and a URL link to get the next set of results.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Operation" - }, - "description": "List of Microsoft.Resources operations." - }, - "nextLink": { - "type": "string", - "description": "URL to get the next set of operation list results if there are any." - } - } - }, - "Tags": { - "description": "A dictionary of name and value pairs.", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string", - "description": "The tag value." - } - } - } - }, - "TagsPatchResource": { - "type": "object", - "description": "Wrapper resource for tags patch API request only.", - "properties": { - "operation": { - "type": "string", - "description": "The operation type for the patch API.", - "enum": [ - "Replace", - "Merge", - "Delete" - ], - "x-ms-enum": { - "name": "tagsPatchOperation", - "modelAsString": true, - "values": [ - { - "value": "Replace", - "description": "The 'replace' option replaces the entire set of existing tags with a new set." - }, - { - "value": "Merge", - "description": "The 'merge' option allows adding tags with new names and updating the values of tags with existing names." - }, - { - "value": "Delete", - "description": "The 'delete' option allows selectively deleting tags based on given names or name/value pairs." - } - ] - } - }, - "properties": { - "$ref": "#/definitions/Tags", - "description": "The set of tags." - } - } - }, - "TagsResource": { - "type": "object", - "description": "Wrapper resource for tags API requests and responses.", - "required": [ - "properties" - ], - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The ID of the tags wrapper resource." - }, - "name": { - "readOnly": true, - "type": "string", - "description": "The name of the tags wrapper resource." - }, - "type": { - "readOnly": true, - "type": "string", - "description": "The type of the tags wrapper resource." - }, - "properties": { - "$ref": "#/definitions/Tags", - "description": "The set of tags." - } - }, - "x-ms-azure-resource": true - }, - "ZoneMapping": { - "type": "object", - "properties": { - "location": { - "type": "string", - "description": "The location of the zone mapping." - }, - "zones": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - }, - "parameters": { - "ScopeParameter": { - "name": "scope", - "in": "path", - "required": true, - "type": "string", - "description": "The resource scope.", - "x-ms-parameter-location": "method", - "x-ms-skip-url-encoding": true - }, - "GroupIdParameter": { - "name": "groupId", - "in": "path", - "required": true, - "type": "string", - "description": "The management group ID.", - "x-ms-parameter-location": "method", - "minLength": 1, - "maxLength": 90 - }, - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The ID of the target subscription." - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to use for this operation." - } - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/subscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/subscriptions.json index 3e83a8bd8f27..1cb2b3d0ac67 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/subscriptions.json +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/subscriptions.json @@ -227,7 +227,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -681,7 +681,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response for a resource management request." diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2022-12-01/subscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2022-12-01/subscriptions.json index 240bc12d9583..63b9ddf007d0 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2022-12-01/subscriptions.json +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2022-12-01/subscriptions.json @@ -43,14 +43,14 @@ "description": "Lists all of the available Microsoft.Resources REST API operations.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "OK. The request has succeeded.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" } }, "default": { @@ -79,7 +79,7 @@ "$ref": "#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "name": "includeExtendedLocations", @@ -129,7 +129,7 @@ "$ref": "#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -162,7 +162,7 @@ "description": "Gets all subscriptions for a tenant.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -198,7 +198,7 @@ "description": "Gets the tenants for your account.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -237,7 +237,7 @@ "$ref": "#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "name": "parameters", @@ -259,7 +259,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -286,7 +286,7 @@ "$ref": "#/parameters/CheckResourceNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -755,7 +755,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response for a resource management request." diff --git a/specification/resources/resource-manager/Microsoft.Resources/subscriptions/suppressions.yaml b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/suppressions.yaml new file mode 100644 index 000000000000..279057da3b6d --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/suppressions.yaml @@ -0,0 +1,24 @@ +- tool: TypeSpecRequirement + path: ./stable/2015-11-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2016-06-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2018-06-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2019-06-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2019-11-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2020-01-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2021-01-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2022-12-01/*.json + reason: Brownfield service not ready to migrate \ No newline at end of file diff --git a/specification/resources/resource-manager/readme.md b/specification/resources/resource-manager/readme.md index 8a02a9b41b68..573639e8772a 100644 --- a/specification/resources/resource-manager/readme.md +++ b/specification/resources/resource-manager/readme.md @@ -26,51 +26,7 @@ These are the global settings for the Resource API. ``` yaml openapi-type: arm -tag: package-2022-12 -``` - -``` yaml $(package-privatelinks) -tag: package-privatelinks-2020-05 -``` - -``` yaml $(package-features) -tag: package-features-2021-07 -``` - -``` yaml $(package-locks) -tag: package-locks-2020-05 -``` - -``` yaml $(package-policy) -tag: package-policy-2025-03-stable -``` - -``` yaml $(package-databoundaries) -tag: package-databoundaries-2024-08 -``` - -``` yaml $(package-resources) -tag: package-resources-2025-04 -``` - -``` yaml $(package-subscriptions) -tag: package-subscriptions-2022-12 -``` - -``` yaml $(package-links) -tag: package-links-2016-09 -``` - -``` yaml $(package-managedapplications) -tag: package-managedapplications-2018-06 -``` - -``` yaml $(package-changes) -tag: package-changes-2022-05 -``` - -``` yaml $(package-snapshots) -tag: package-snapshots-2022-11 +tag: profile-hybrid-2019-03-01 ``` ### Tag: profile-hybrid-2019-03-01 @@ -89,36 +45,3 @@ input-file: override-info: title: PolicyClient ``` - ---- - -# Code Generation - -## Swagger to SDK - -This section describes what SDK should be generated by the automatic system. -This is not used by Autorest itself. - -``` yaml $(swagger-to-sdk) -swagger-to-sdk: - - repo: azure-sdk-for-net - - repo: azure-sdk-for-python - - repo: azure-sdk-for-java - - repo: azure-sdk-for-go - - repo: azure-sdk-for-node - - repo: azure-sdk-for-js - - repo: azure-resource-manager-schemas - - repo: azure-powershell -``` - -## Python - -See configuration in [readme.python.md](./readme.python.md) - -## Go - -See configuration in [readme.go.md](./readme.go.md) - -## Java - -See configuration in [readme.java.md](./readme.java.md) From a10999a136b2db48366a9229cfd9024f2407a48b Mon Sep 17 00:00:00 2001 From: zedy Date: Thu, 13 Nov 2025 15:36:05 +0800 Subject: [PATCH 04/14] fix semantic error --- .../2020-07-01-preview/policyExemptions.json | 4 +- .../2022-08-01-preview/policyVariables.json | 4 +- .../2024-12-01-preview/policyExemptions.json | 4 +- .../policyVariableValues.json | 4 +- .../2024-12-01-preview/policyVariables.json | 4 +- .../stable/2019-09-01/policyAssignments.json | 2 +- .../stable/2019-09-01/policyDefinitions.json | 2 +- .../2019-09-01/policySetDefinitions.json | 2 +- .../stable/2020-03-01/policyAssignments.json | 2 +- .../stable/2020-03-01/policyDefinitions.json | 2 +- .../2020-03-01/policySetDefinitions.json | 2 +- .../2020-09-01/dataPolicyManifests.json | 2 +- .../stable/2020-09-01/policyAssignments.json | 2 +- .../stable/2020-09-01/policyDefinitions.json | 2 +- .../2020-09-01/policySetDefinitions.json | 2 +- .../stable/2021-06-01/policyAssignments.json | 4 +- .../stable/2021-06-01/policyDefinitions.json | 4 +- .../2021-06-01/policySetDefinitions.json | 4 +- .../stable/2022-06-01/policyAssignments.json | 4 +- .../stable/2023-04-01/policyAssignments.json | 34 ++++----- .../2023-04-01/policyDefinitionVersions.json | 50 ++++++------- .../stable/2023-04-01/policyDefinitions.json | 32 ++++---- .../policySetDefinitionVersions.json | 50 ++++++------- .../2023-04-01/policySetDefinitions.json | 32 ++++---- .../stable/2024-04-01/policyAssignments.json | 34 ++++----- .../stable/2024-05-01/policyAssignments.json | 34 ++++----- .../2024-05-01/policyDefinitionVersions.json | 50 ++++++------- .../stable/2024-05-01/policyDefinitions.json | 32 ++++---- .../policySetDefinitionVersions.json | 50 ++++++------- .../2024-05-01/policySetDefinitions.json | 32 ++++---- .../stable/2025-01-01/policyAssignments.json | 34 ++++----- .../2025-01-01/policyDefinitionVersions.json | 50 ++++++------- .../stable/2025-01-01/policyDefinitions.json | 32 ++++---- .../policySetDefinitionVersions.json | 50 ++++++------- .../2025-01-01/policySetDefinitions.json | 32 ++++---- .../stable/2025-03-01/policyAssignments.json | 56 +++++++------- .../2025-03-01/policyDefinitionVersions.json | 74 +++++++++---------- .../stable/2025-03-01/policyDefinitions.json | 50 ++++++------- .../policySetDefinitionVersions.json | 74 +++++++++---------- .../2025-03-01/policySetDefinitions.json | 50 ++++++------- .../stable/2025-03-01/policyTokens.json | 10 +-- .../stable/2024-11-01/resources.json | 6 +- .../stable/2025-03-01/resources.json | 6 +- .../stable/2025-04-01/resources.json | 6 +- .../examples/createOrUpdateAppliance.json | 0 .../createOrUpdateApplianceDefinition.json | 0 .../examples/getAppliance.json | 0 .../examples/getApplianceDefinition.json | 0 ...stApplianceDefinitionsByResourceGroup.json | 0 .../listAppliancesByResourceGroup.json | 0 .../managedapplications.json | 0 .../examples/createOrUpdateApplication.json | 0 .../createOrUpdateApplicationDefinition.json | 0 .../examples/deleteApplicationDefinition.json | 0 .../examples/getApplication.json | 0 .../examples/getApplicationDefinition.json | 0 ...ApplicationDefinitionsByResourceGroup.json | 0 .../listApplicationsByResourceGroup.json | 0 .../examples/listSolutionsOperations.json | 0 .../examples/updateApplication.json | 0 .../managedapplications.json | 0 .../readme.go.md | 0 .../readme.md | 0 .../readme.nodejs.md | 0 .../readme.python.md | 0 .../readme.ruby.md | 0 .../readme.terraform.md | 0 .../readme.typescript.md | 0 .../examples/createOrUpdateApplication.json | 0 .../createOrUpdateApplicationDefinition.json | 0 .../2017-09-01/examples/getApplication.json | 0 .../examples/getApplicationDefinition.json | 0 ...ApplicationDefinitionsByResourceGroup.json | 0 .../listApplicationsByResourceGroup.json | 0 .../2017-09-01/managedapplications.json | 0 .../examples/createOrUpdateApplication.json | 0 .../createOrUpdateApplicationById.json | 0 .../createOrUpdateApplicationDefinition.json | 0 .../examples/deleteApplication.json | 0 .../examples/deleteApplicationById.json | 0 .../examples/deleteApplicationDefinition.json | 0 .../2018-06-01/examples/getApplication.json | 0 .../examples/getApplicationById.json | 0 .../examples/getApplicationDefinition.json | 0 ...ApplicationDefinitionsByResourceGroup.json | 0 .../listApplicationsByResourceGroup.json | 0 .../listApplicationsBySubscription.json | 0 .../examples/listSolutionsOperations.json | 0 .../examples/updateApplication.json | 0 .../examples/updateApplicationById.json | 0 .../2018-06-01/managedapplications.json | 0 .../examples/createOrUpdateApplication.json | 0 .../createOrUpdateApplicationDefinition.json | 0 .../examples/deleteApplicationDefinition.json | 0 .../2019-07-01/examples/getApplication.json | 0 .../examples/getApplicationDefinition.json | 0 ...ApplicationDefinitionsByResourceGroup.json | 0 .../listApplicationsByResourceGroup.json | 0 .../examples/listSolutionsOperations.json | 0 .../examples/updateApplication.json | 0 .../2019-07-01/managedapplications.json | 0 .../suppressions.yaml | 0 102 files changed, 508 insertions(+), 508 deletions(-) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/preview/2016-09-01-preview/examples/createOrUpdateAppliance.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/preview/2016-09-01-preview/examples/createOrUpdateApplianceDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/preview/2016-09-01-preview/examples/getAppliance.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/preview/2016-09-01-preview/examples/getApplianceDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/preview/2016-09-01-preview/examples/listApplianceDefinitionsByResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/preview/2016-09-01-preview/examples/listAppliancesByResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/preview/2016-09-01-preview/managedapplications.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/preview/2020-08-21-preview/examples/createOrUpdateApplication.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/preview/2020-08-21-preview/examples/createOrUpdateApplicationDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/preview/2020-08-21-preview/examples/deleteApplicationDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/preview/2020-08-21-preview/examples/getApplication.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/preview/2020-08-21-preview/examples/getApplicationDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/preview/2020-08-21-preview/examples/listApplicationDefinitionsByResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/preview/2020-08-21-preview/examples/listApplicationsByResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/preview/2020-08-21-preview/examples/listSolutionsOperations.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/preview/2020-08-21-preview/examples/updateApplication.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/preview/2020-08-21-preview/managedapplications.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/readme.go.md (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/readme.md (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/readme.nodejs.md (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/readme.python.md (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/readme.ruby.md (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/readme.terraform.md (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/readme.typescript.md (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/stable/2017-09-01/examples/createOrUpdateApplication.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/stable/2017-09-01/examples/createOrUpdateApplicationDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/stable/2017-09-01/examples/getApplication.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/stable/2017-09-01/examples/getApplicationDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/stable/2017-09-01/examples/listApplicationDefinitionsByResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/stable/2017-09-01/examples/listApplicationsByResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/stable/2017-09-01/managedapplications.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/stable/2018-06-01/examples/createOrUpdateApplication.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/stable/2018-06-01/examples/createOrUpdateApplicationById.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/stable/2018-06-01/examples/createOrUpdateApplicationDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/stable/2018-06-01/examples/deleteApplication.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/stable/2018-06-01/examples/deleteApplicationById.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/stable/2018-06-01/examples/deleteApplicationDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/stable/2018-06-01/examples/getApplication.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/stable/2018-06-01/examples/getApplicationById.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/stable/2018-06-01/examples/getApplicationDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/stable/2018-06-01/examples/listApplicationDefinitionsByResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/stable/2018-06-01/examples/listApplicationsByResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/stable/2018-06-01/examples/listApplicationsBySubscription.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/stable/2018-06-01/examples/listSolutionsOperations.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/stable/2018-06-01/examples/updateApplication.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/stable/2018-06-01/examples/updateApplicationById.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/stable/2018-06-01/managedapplications.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/stable/2019-07-01/examples/createOrUpdateApplication.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/stable/2019-07-01/examples/createOrUpdateApplicationDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/stable/2019-07-01/examples/deleteApplicationDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/stable/2019-07-01/examples/getApplication.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/stable/2019-07-01/examples/getApplicationDefinition.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/stable/2019-07-01/examples/listApplicationDefinitionsByResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/stable/2019-07-01/examples/listApplicationsByResourceGroup.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/stable/2019-07-01/examples/listSolutionsOperations.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/stable/2019-07-01/examples/updateApplication.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/stable/2019-07-01/managedapplications.json (100%) rename specification/resources/resource-manager/Microsoft.Solutions/{managedappliations => managedapplications}/suppressions.yaml (100%) diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2020-07-01-preview/policyExemptions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2020-07-01-preview/policyExemptions.json index b555e5537eb6..44221f6034a7 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2020-07-01-preview/policyExemptions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2020-07-01-preview/policyExemptions.json @@ -379,7 +379,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from a policy operation." @@ -457,7 +457,7 @@ "readOnly": true, "type": "object", "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" }, "id": { "readOnly": true, diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/policyVariables.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/policyVariables.json index b884929df676..b7cd33132243 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/policyVariables.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/policyVariables.json @@ -382,7 +382,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "type": "object", @@ -434,7 +434,7 @@ "readOnly": true, "type": "object", "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" }, "id": { "readOnly": true, diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/policyExemptions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/policyExemptions.json index 44f96e82c472..ef2fc53cd25c 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/policyExemptions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/policyExemptions.json @@ -433,7 +433,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from a policy operation." @@ -546,7 +546,7 @@ "readOnly": true, "type": "object", "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/systemData" }, "id": { "readOnly": true, diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/policyVariableValues.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/policyVariableValues.json index e6841a270d48..a19ad295c927 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/policyVariableValues.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/policyVariableValues.json @@ -406,7 +406,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "type": "object", @@ -463,7 +463,7 @@ "readOnly": true, "type": "object", "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" }, "id": { "readOnly": true, diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/policyVariables.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/policyVariables.json index 3f6ab5307d8f..8b703aafbbb0 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/policyVariables.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/policyVariables.json @@ -382,7 +382,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "type": "object", @@ -434,7 +434,7 @@ "readOnly": true, "type": "object", "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" }, "id": { "readOnly": true, diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/policyAssignments.json index ef2f5065a841..c54b7cce1b91 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/policyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/policyAssignments.json @@ -587,7 +587,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from a policy operation." diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/policyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/policyDefinitions.json index 3f5f1c40958c..042182e607bf 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/policyDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/policyDefinitions.json @@ -475,7 +475,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from a policy operation." diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/policySetDefinitions.json index 5c20ef92626d..0d59be4f70aa 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/policySetDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/policySetDefinitions.json @@ -490,7 +490,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from a policy operation." diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/policyAssignments.json index 1c4b211d5f4b..063e39279f16 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/policyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/policyAssignments.json @@ -581,7 +581,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from a policy operation." diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/policyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/policyDefinitions.json index b5f7d7b29737..c5665aa7b334 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/policyDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/policyDefinitions.json @@ -493,7 +493,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from a policy operation." diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/policySetDefinitions.json index 5676e0b5335a..9ab306365afb 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/policySetDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/policySetDefinitions.json @@ -508,7 +508,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from a policy operation." diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/dataPolicyManifests.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/dataPolicyManifests.json index f94f272dddf6..65b0f8697972 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/dataPolicyManifests.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/dataPolicyManifests.json @@ -124,7 +124,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from a policy operation." diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/policyAssignments.json index f28ad9d62305..b6f18462606c 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/policyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/policyAssignments.json @@ -584,7 +584,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from a policy operation." diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/policyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/policyDefinitions.json index 82ee6aac911b..c7c8a7c0150d 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/policyDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/policyDefinitions.json @@ -493,7 +493,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from a policy operation." diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/policySetDefinitions.json index 4af4ba7facbd..d441b9fac9a7 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/policySetDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/policySetDefinitions.json @@ -508,7 +508,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from a policy operation." diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/policyAssignments.json index ff98b017a8ae..2601bf04e886 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/policyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/policyAssignments.json @@ -698,7 +698,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from a policy operation." @@ -837,7 +837,7 @@ "description": "The managed identity associated with the policy assignment." }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", "readOnly": true, "description": "The system metadata relating to this resource." } diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/policyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/policyDefinitions.json index a417b2c2b85f..88ee1650fa44 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/policyDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/policyDefinitions.json @@ -493,7 +493,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from a policy operation." @@ -631,7 +631,7 @@ "description": "The type of the resource (Microsoft.Authorization/policyDefinitions)." }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", "readOnly": true, "description": "The system metadata relating to this resource." } diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/policySetDefinitions.json index b7d2325138c2..f260fff290fc 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/policySetDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/policySetDefinitions.json @@ -508,7 +508,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from a policy operation." @@ -649,7 +649,7 @@ "description": "The type of the resource (Microsoft.Authorization/policySetDefinitions)." }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", "readOnly": true, "description": "The system metadata relating to this resource." } diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/policyAssignments.json index b41de60086c3..866e725793f1 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/policyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/policyAssignments.json @@ -717,7 +717,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from a policy operation." @@ -876,7 +876,7 @@ "description": "The managed identity associated with the policy assignment." }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", "readOnly": true, "description": "The system metadata relating to this resource." } diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policyAssignments.json index 6b0b6fdf3061..8bbf48ead628 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policyAssignments.json @@ -65,7 +65,7 @@ "description": "The name of the policy assignment to delete." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -143,7 +143,7 @@ "description": "Parameters for the policy assignment." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -206,7 +206,7 @@ "$ref": "#/parameters/PolicyAssignmentExpandParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -272,7 +272,7 @@ "description": "Parameters for policy assignment patch request." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -306,7 +306,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "resourceGroupName", @@ -328,7 +328,7 @@ "$ref": "#/parameters/TopParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -366,7 +366,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "resourceGroupName", @@ -419,7 +419,7 @@ "$ref": "#/parameters/TopParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -469,7 +469,7 @@ "$ref": "#/parameters/TopParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -515,10 +515,10 @@ "$ref": "#/parameters/TopParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -564,7 +564,7 @@ "x-ms-skip-url-encoding": true }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -619,7 +619,7 @@ "description": "Parameters for policy assignment." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -665,7 +665,7 @@ "$ref": "#/parameters/PolicyAssignmentExpandParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -714,7 +714,7 @@ "description": "Parameters for policy assignment patch request." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -740,7 +740,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from a policy operation." @@ -913,7 +913,7 @@ "description": "The managed identity associated with the policy assignment." }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", "readOnly": true, "description": "The system metadata relating to this resource." } diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policyDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policyDefinitionVersions.json index b5ba4e61e8fa..394546bee111 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policyDefinitionVersions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policyDefinitionVersions.json @@ -49,7 +49,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -83,10 +83,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -120,10 +120,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -157,7 +157,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicyDefinitionName" @@ -175,7 +175,7 @@ "description": "The policy definition properties." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -213,7 +213,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicyDefinitionName" @@ -222,7 +222,7 @@ "$ref": "#/parameters/PolicyDefinitionVersion" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -254,7 +254,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicyDefinitionName" @@ -263,7 +263,7 @@ "$ref": "#/parameters/PolicyDefinitionVersion" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -303,7 +303,7 @@ "$ref": "#/parameters/PolicyDefinitionVersion" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -337,7 +337,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { "$ref": "#/parameters/PolicyDefinitionName" @@ -355,7 +355,7 @@ "description": "The policy definition properties." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -393,7 +393,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { "$ref": "#/parameters/PolicyDefinitionName" @@ -402,7 +402,7 @@ "$ref": "#/parameters/PolicyDefinitionVersion" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -434,7 +434,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { "$ref": "#/parameters/PolicyDefinitionName" @@ -443,7 +443,7 @@ "$ref": "#/parameters/PolicyDefinitionVersion" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -477,13 +477,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicyDefinitionName" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/TopParameter" @@ -526,7 +526,7 @@ "$ref": "#/parameters/PolicyDefinitionName" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/TopParameter" @@ -566,13 +566,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { "$ref": "#/parameters/PolicyDefinitionName" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/TopParameter" @@ -604,7 +604,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from a policy operation." @@ -753,7 +753,7 @@ "description": "The type of the resource (Microsoft.Authorization/policyDefinitions/versions)." }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", "readOnly": true, "description": "The system metadata relating to this resource." } diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policyDefinitions.json index 524ef1d83a07..e1ca1c1e1e66 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policyDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policyDefinitions.json @@ -52,7 +52,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "policyDefinitionName", @@ -72,7 +72,7 @@ "description": "The policy definition properties." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -104,7 +104,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "policyDefinitionName", @@ -115,7 +115,7 @@ "description": "The name of the policy definition to delete." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -147,7 +147,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "policyDefinitionName", @@ -158,7 +158,7 @@ "description": "The name of the policy definition to get." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -200,7 +200,7 @@ "description": "The name of the built-in policy definition to get." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -254,7 +254,7 @@ "description": "The policy definition properties." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -297,7 +297,7 @@ "description": "The name of the policy definition to delete." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -340,7 +340,7 @@ "description": "The name of the policy definition to get." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -374,10 +374,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicyDefinitionsFilterParameter" @@ -420,7 +420,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PolicyDefinitionsFilterParameter" @@ -463,7 +463,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/ManagementGroupIdParameter" @@ -501,7 +501,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from a policy operation." @@ -657,7 +657,7 @@ "description": "The type of the resource (Microsoft.Authorization/policyDefinitions)." }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", "readOnly": true, "description": "The system metadata relating to this resource." } diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policySetDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policySetDefinitionVersions.json index 9545fbfc3878..f3965987228a 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policySetDefinitionVersions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policySetDefinitionVersions.json @@ -49,7 +49,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -83,10 +83,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -120,10 +120,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -157,7 +157,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicySetDefinitionName" @@ -175,7 +175,7 @@ "description": "The policy set definition properties." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -213,7 +213,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicySetDefinitionName" @@ -222,7 +222,7 @@ "$ref": "#/parameters/PolicySetDefinitionVersion" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -254,7 +254,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicySetDefinitionName" @@ -266,7 +266,7 @@ "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -309,7 +309,7 @@ "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -343,13 +343,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicySetDefinitionName" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" @@ -395,7 +395,7 @@ "$ref": "#/parameters/PolicySetDefinitionName" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" @@ -438,7 +438,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { "$ref": "#/parameters/PolicySetDefinitionName" @@ -456,7 +456,7 @@ "description": "The policy set definition version properties." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -494,7 +494,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { "$ref": "#/parameters/PolicySetDefinitionName" @@ -503,7 +503,7 @@ "$ref": "#/parameters/PolicySetDefinitionVersion" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -535,7 +535,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { "$ref": "#/parameters/PolicySetDefinitionName" @@ -547,7 +547,7 @@ "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -581,13 +581,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { "$ref": "#/parameters/PolicySetDefinitionName" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" @@ -622,7 +622,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from a policy operation." @@ -785,7 +785,7 @@ "description": "The type of the resource (Microsoft.Authorization/policySetDefinitions/versions)." }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", "readOnly": true, "description": "The system metadata relating to this resource." } diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policySetDefinitions.json index 7ab6c551eae0..d4fde8801b4b 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policySetDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policySetDefinitions.json @@ -52,7 +52,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "policySetDefinitionName", @@ -72,7 +72,7 @@ "description": "The policy set definition properties." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -110,7 +110,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "policySetDefinitionName", @@ -121,7 +121,7 @@ "description": "The name of the policy set definition to delete." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -153,7 +153,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "policySetDefinitionName", @@ -167,7 +167,7 @@ "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -212,7 +212,7 @@ "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -246,10 +246,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PolicySetDefinitionsFilterParameter" @@ -295,7 +295,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PolicySetDefinitionsFilterParameter" @@ -364,7 +364,7 @@ "description": "The policy set definition properties." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -413,7 +413,7 @@ "description": "The name of the policy set definition to delete." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -459,7 +459,7 @@ "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -496,7 +496,7 @@ "$ref": "#/parameters/ManagementGroupIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PolicySetDefinitionsFilterParameter" @@ -534,7 +534,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from a policy operation." @@ -704,7 +704,7 @@ "description": "The type of the resource (Microsoft.Authorization/policySetDefinitions)." }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", "readOnly": true, "description": "The system metadata relating to this resource." } diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/policyAssignments.json index 3fbe596dec93..48f686d8e92c 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/policyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/policyAssignments.json @@ -65,7 +65,7 @@ "description": "The name of the policy assignment to delete." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -143,7 +143,7 @@ "description": "Parameters for the policy assignment." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -206,7 +206,7 @@ "$ref": "#/parameters/PolicyAssignmentExpandParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -272,7 +272,7 @@ "description": "Parameters for policy assignment patch request." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -306,7 +306,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "resourceGroupName", @@ -328,7 +328,7 @@ "$ref": "#/parameters/TopParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -366,7 +366,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "resourceGroupName", @@ -419,7 +419,7 @@ "$ref": "#/parameters/TopParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -469,7 +469,7 @@ "$ref": "#/parameters/TopParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -515,10 +515,10 @@ "$ref": "#/parameters/TopParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -564,7 +564,7 @@ "x-ms-skip-url-encoding": true }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -619,7 +619,7 @@ "description": "Parameters for policy assignment." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -665,7 +665,7 @@ "$ref": "#/parameters/PolicyAssignmentExpandParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -714,7 +714,7 @@ "description": "Parameters for policy assignment patch request." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -740,7 +740,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from a policy operation." @@ -927,7 +927,7 @@ "description": "The managed identity associated with the policy assignment." }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", "readOnly": true, "description": "The system metadata relating to this resource." } diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policyAssignments.json index c9317c7bce59..bb7f565dfd66 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policyAssignments.json @@ -65,7 +65,7 @@ "description": "The name of the policy assignment to delete." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -143,7 +143,7 @@ "description": "Parameters for the policy assignment." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -206,7 +206,7 @@ "$ref": "#/parameters/PolicyAssignmentExpandParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -272,7 +272,7 @@ "description": "Parameters for policy assignment patch request." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -306,7 +306,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "resourceGroupName", @@ -328,7 +328,7 @@ "$ref": "#/parameters/TopParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -366,7 +366,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "resourceGroupName", @@ -419,7 +419,7 @@ "$ref": "#/parameters/TopParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -469,7 +469,7 @@ "$ref": "#/parameters/TopParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -515,10 +515,10 @@ "$ref": "#/parameters/TopParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -564,7 +564,7 @@ "x-ms-skip-url-encoding": true }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -619,7 +619,7 @@ "description": "Parameters for policy assignment." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -665,7 +665,7 @@ "$ref": "#/parameters/PolicyAssignmentExpandParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -714,7 +714,7 @@ "description": "Parameters for policy assignment patch request." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -740,7 +740,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from a policy operation." @@ -926,7 +926,7 @@ "description": "The managed identity associated with the policy assignment." }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", "readOnly": true, "description": "The system metadata relating to this resource." } diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policyDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policyDefinitionVersions.json index 7e7b13bf8946..c3685599c37d 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policyDefinitionVersions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policyDefinitionVersions.json @@ -49,7 +49,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -83,10 +83,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -120,10 +120,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -157,7 +157,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicyDefinitionName" @@ -175,7 +175,7 @@ "description": "The policy definition properties." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -213,7 +213,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicyDefinitionName" @@ -222,7 +222,7 @@ "$ref": "#/parameters/PolicyDefinitionVersion" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -254,7 +254,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicyDefinitionName" @@ -263,7 +263,7 @@ "$ref": "#/parameters/PolicyDefinitionVersion" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -303,7 +303,7 @@ "$ref": "#/parameters/PolicyDefinitionVersion" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -337,7 +337,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { "$ref": "#/parameters/PolicyDefinitionName" @@ -355,7 +355,7 @@ "description": "The policy definition properties." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -393,7 +393,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { "$ref": "#/parameters/PolicyDefinitionName" @@ -402,7 +402,7 @@ "$ref": "#/parameters/PolicyDefinitionVersion" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -434,7 +434,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { "$ref": "#/parameters/PolicyDefinitionName" @@ -443,7 +443,7 @@ "$ref": "#/parameters/PolicyDefinitionVersion" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -477,13 +477,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicyDefinitionName" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/TopParameter" @@ -526,7 +526,7 @@ "$ref": "#/parameters/PolicyDefinitionName" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/TopParameter" @@ -566,13 +566,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { "$ref": "#/parameters/PolicyDefinitionName" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/TopParameter" @@ -604,7 +604,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from a policy operation." @@ -752,7 +752,7 @@ "description": "The type of the resource (Microsoft.Authorization/policyDefinitions/versions)." }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", "readOnly": true, "description": "The system metadata relating to this resource." } diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policyDefinitions.json index de1fccede861..5ed589555515 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policyDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policyDefinitions.json @@ -52,7 +52,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "policyDefinitionName", @@ -72,7 +72,7 @@ "description": "The policy definition properties." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -104,7 +104,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "policyDefinitionName", @@ -115,7 +115,7 @@ "description": "The name of the policy definition to delete." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -147,7 +147,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "policyDefinitionName", @@ -158,7 +158,7 @@ "description": "The name of the policy definition to get." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -200,7 +200,7 @@ "description": "The name of the built-in policy definition to get." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -254,7 +254,7 @@ "description": "The policy definition properties." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -297,7 +297,7 @@ "description": "The name of the policy definition to delete." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -340,7 +340,7 @@ "description": "The name of the policy definition to get." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -374,10 +374,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicyDefinitionsFilterParameter" @@ -420,7 +420,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PolicyDefinitionsFilterParameter" @@ -463,7 +463,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/ManagementGroupIdParameter" @@ -501,7 +501,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from a policy operation." @@ -656,7 +656,7 @@ "description": "The type of the resource (Microsoft.Authorization/policyDefinitions)." }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", "readOnly": true, "description": "The system metadata relating to this resource." } diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policySetDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policySetDefinitionVersions.json index 890f2d155ffe..37585c282f35 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policySetDefinitionVersions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policySetDefinitionVersions.json @@ -49,7 +49,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -83,10 +83,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -120,10 +120,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -157,7 +157,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicySetDefinitionName" @@ -175,7 +175,7 @@ "description": "The policy set definition properties." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -213,7 +213,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicySetDefinitionName" @@ -222,7 +222,7 @@ "$ref": "#/parameters/PolicySetDefinitionVersion" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -254,7 +254,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicySetDefinitionName" @@ -266,7 +266,7 @@ "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -309,7 +309,7 @@ "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -343,13 +343,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicySetDefinitionName" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" @@ -395,7 +395,7 @@ "$ref": "#/parameters/PolicySetDefinitionName" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" @@ -438,7 +438,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { "$ref": "#/parameters/PolicySetDefinitionName" @@ -456,7 +456,7 @@ "description": "The policy set definition version properties." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -494,7 +494,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { "$ref": "#/parameters/PolicySetDefinitionName" @@ -503,7 +503,7 @@ "$ref": "#/parameters/PolicySetDefinitionVersion" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -535,7 +535,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { "$ref": "#/parameters/PolicySetDefinitionName" @@ -547,7 +547,7 @@ "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -581,13 +581,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { "$ref": "#/parameters/PolicySetDefinitionName" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" @@ -622,7 +622,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from a policy operation." @@ -785,7 +785,7 @@ "description": "The type of the resource (Microsoft.Authorization/policySetDefinitions/versions)." }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", "readOnly": true, "description": "The system metadata relating to this resource." } diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policySetDefinitions.json index f98b853dfc90..8ea86a0eea7e 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policySetDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policySetDefinitions.json @@ -52,7 +52,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "policySetDefinitionName", @@ -72,7 +72,7 @@ "description": "The policy set definition properties." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -110,7 +110,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "policySetDefinitionName", @@ -121,7 +121,7 @@ "description": "The name of the policy set definition to delete." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -153,7 +153,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "policySetDefinitionName", @@ -167,7 +167,7 @@ "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -212,7 +212,7 @@ "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -246,10 +246,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PolicySetDefinitionsFilterParameter" @@ -295,7 +295,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PolicySetDefinitionsFilterParameter" @@ -364,7 +364,7 @@ "description": "The policy set definition properties." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -413,7 +413,7 @@ "description": "The name of the policy set definition to delete." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -459,7 +459,7 @@ "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -496,7 +496,7 @@ "$ref": "#/parameters/ManagementGroupIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PolicySetDefinitionsFilterParameter" @@ -534,7 +534,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from a policy operation." @@ -704,7 +704,7 @@ "description": "The type of the resource (Microsoft.Authorization/policySetDefinitions)." }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", "readOnly": true, "description": "The system metadata relating to this resource." } diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policyAssignments.json index f405bbc60974..154f38a9dc54 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policyAssignments.json @@ -65,7 +65,7 @@ "description": "The name of the policy assignment to delete." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -146,7 +146,7 @@ "description": "Parameters for the policy assignment." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -209,7 +209,7 @@ "$ref": "#/parameters/PolicyAssignmentExpandParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -275,7 +275,7 @@ "description": "Parameters for policy assignment patch request." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -309,7 +309,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "resourceGroupName", @@ -331,7 +331,7 @@ "$ref": "#/parameters/TopParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -369,7 +369,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "resourceGroupName", @@ -422,7 +422,7 @@ "$ref": "#/parameters/TopParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -472,7 +472,7 @@ "$ref": "#/parameters/TopParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -518,10 +518,10 @@ "$ref": "#/parameters/TopParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -567,7 +567,7 @@ "x-ms-skip-url-encoding": true }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -622,7 +622,7 @@ "description": "Parameters for policy assignment." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -665,7 +665,7 @@ "x-ms-skip-url-encoding": true }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -714,7 +714,7 @@ "description": "Parameters for policy assignment patch request." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -740,7 +740,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from a policy operation." @@ -936,7 +936,7 @@ "description": "The managed identity associated with the policy assignment." }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", "readOnly": true, "description": "The system metadata relating to this resource." } diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policyDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policyDefinitionVersions.json index 565ccaf296cb..1000d8c45645 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policyDefinitionVersions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policyDefinitionVersions.json @@ -49,7 +49,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -83,10 +83,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -120,10 +120,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -157,7 +157,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicyDefinitionName" @@ -175,7 +175,7 @@ "description": "The policy definition properties." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -213,7 +213,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicyDefinitionName" @@ -222,7 +222,7 @@ "$ref": "#/parameters/PolicyDefinitionVersion" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -254,7 +254,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicyDefinitionName" @@ -263,7 +263,7 @@ "$ref": "#/parameters/PolicyDefinitionVersion" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -303,7 +303,7 @@ "$ref": "#/parameters/PolicyDefinitionVersion" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -337,7 +337,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { "$ref": "#/parameters/PolicyDefinitionName" @@ -355,7 +355,7 @@ "description": "The policy definition properties." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -393,7 +393,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { "$ref": "#/parameters/PolicyDefinitionName" @@ -402,7 +402,7 @@ "$ref": "#/parameters/PolicyDefinitionVersion" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -434,7 +434,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { "$ref": "#/parameters/PolicyDefinitionName" @@ -443,7 +443,7 @@ "$ref": "#/parameters/PolicyDefinitionVersion" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -477,13 +477,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicyDefinitionName" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/TopParameter" @@ -526,7 +526,7 @@ "$ref": "#/parameters/PolicyDefinitionName" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/TopParameter" @@ -566,13 +566,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { "$ref": "#/parameters/PolicyDefinitionName" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/TopParameter" @@ -604,7 +604,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from a policy operation." @@ -752,7 +752,7 @@ "description": "The type of the resource (Microsoft.Authorization/policyDefinitions/versions)." }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", "readOnly": true, "description": "The system metadata relating to this resource." } diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policyDefinitions.json index 357000978496..9b97db6b3baa 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policyDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policyDefinitions.json @@ -52,7 +52,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "policyDefinitionName", @@ -72,7 +72,7 @@ "description": "The policy definition properties." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -104,7 +104,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "policyDefinitionName", @@ -115,7 +115,7 @@ "description": "The name of the policy definition to delete." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -147,7 +147,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "policyDefinitionName", @@ -158,7 +158,7 @@ "description": "The name of the policy definition to get." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -200,7 +200,7 @@ "description": "The name of the built-in policy definition to get." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -254,7 +254,7 @@ "description": "The policy definition properties." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -297,7 +297,7 @@ "description": "The name of the policy definition to delete." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -340,7 +340,7 @@ "description": "The name of the policy definition to get." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -374,10 +374,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicyDefinitionsFilterParameter" @@ -420,7 +420,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PolicyDefinitionsFilterParameter" @@ -463,7 +463,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/ManagementGroupIdParameter" @@ -501,7 +501,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from a policy operation." @@ -656,7 +656,7 @@ "description": "The type of the resource (Microsoft.Authorization/policyDefinitions)." }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", "readOnly": true, "description": "The system metadata relating to this resource." } diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policySetDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policySetDefinitionVersions.json index 0213709877e9..7ca3d29c6204 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policySetDefinitionVersions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policySetDefinitionVersions.json @@ -49,7 +49,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -83,10 +83,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -120,10 +120,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -157,7 +157,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicySetDefinitionName" @@ -175,7 +175,7 @@ "description": "The policy set definition properties." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -213,7 +213,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicySetDefinitionName" @@ -222,7 +222,7 @@ "$ref": "#/parameters/PolicySetDefinitionVersion" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -254,7 +254,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicySetDefinitionName" @@ -266,7 +266,7 @@ "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -309,7 +309,7 @@ "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -343,13 +343,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicySetDefinitionName" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" @@ -395,7 +395,7 @@ "$ref": "#/parameters/PolicySetDefinitionName" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" @@ -438,7 +438,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { "$ref": "#/parameters/PolicySetDefinitionName" @@ -456,7 +456,7 @@ "description": "The policy set definition version properties." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -494,7 +494,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { "$ref": "#/parameters/PolicySetDefinitionName" @@ -503,7 +503,7 @@ "$ref": "#/parameters/PolicySetDefinitionVersion" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -535,7 +535,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { "$ref": "#/parameters/PolicySetDefinitionName" @@ -547,7 +547,7 @@ "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -581,13 +581,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { "$ref": "#/parameters/PolicySetDefinitionName" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" @@ -622,7 +622,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from a policy operation." @@ -785,7 +785,7 @@ "description": "The type of the resource (Microsoft.Authorization/policySetDefinitions/versions)." }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", "readOnly": true, "description": "The system metadata relating to this resource." } diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policySetDefinitions.json index cb6aee16d2f0..c2c1866f0cd0 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policySetDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policySetDefinitions.json @@ -52,7 +52,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "policySetDefinitionName", @@ -72,7 +72,7 @@ "description": "The policy set definition properties." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -110,7 +110,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "policySetDefinitionName", @@ -121,7 +121,7 @@ "description": "The name of the policy set definition to delete." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -153,7 +153,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "policySetDefinitionName", @@ -167,7 +167,7 @@ "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -212,7 +212,7 @@ "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -246,10 +246,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PolicySetDefinitionsFilterParameter" @@ -295,7 +295,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PolicySetDefinitionsFilterParameter" @@ -364,7 +364,7 @@ "description": "The policy set definition properties." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -413,7 +413,7 @@ "description": "The name of the policy set definition to delete." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -459,7 +459,7 @@ "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -496,7 +496,7 @@ "$ref": "#/parameters/ManagementGroupIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PolicySetDefinitionsFilterParameter" @@ -534,7 +534,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from a policy operation." @@ -704,7 +704,7 @@ "description": "The type of the resource (Microsoft.Authorization/policySetDefinitions)." }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", "readOnly": true, "description": "The system metadata relating to this resource." } diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policyAssignments.json index cab86153d101..7c0c551c6d2a 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policyAssignments.json @@ -65,7 +65,7 @@ "description": "The name of the policy assignment to delete." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -81,7 +81,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -146,7 +146,7 @@ "description": "Parameters for the policy assignment." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -159,7 +159,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -209,7 +209,7 @@ "$ref": "#/parameters/PolicyAssignmentExpandParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -222,7 +222,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -275,7 +275,7 @@ "description": "Parameters for policy assignment patch request." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -288,7 +288,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -309,7 +309,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "resourceGroupName", @@ -331,7 +331,7 @@ "$ref": "#/parameters/TopParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -344,7 +344,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -369,7 +369,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "resourceGroupName", @@ -422,7 +422,7 @@ "$ref": "#/parameters/TopParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -435,7 +435,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -472,7 +472,7 @@ "$ref": "#/parameters/TopParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -485,7 +485,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -518,10 +518,10 @@ "$ref": "#/parameters/TopParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -534,7 +534,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -567,7 +567,7 @@ "x-ms-skip-url-encoding": true }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -583,7 +583,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -622,7 +622,7 @@ "description": "Parameters for policy assignment." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -635,7 +635,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -665,7 +665,7 @@ "x-ms-skip-url-encoding": true }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -678,7 +678,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -714,7 +714,7 @@ "description": "Parameters for policy assignment patch request." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -727,7 +727,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -926,7 +926,7 @@ "description": "The managed identity associated with the policy assignment." }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", "readOnly": true, "description": "The system metadata relating to this resource." } diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policyDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policyDefinitionVersions.json index cc93f5ffa4e6..e2bcba95637c 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policyDefinitionVersions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policyDefinitionVersions.json @@ -49,7 +49,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -62,7 +62,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -83,10 +83,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -99,7 +99,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -120,10 +120,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -136,7 +136,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -157,7 +157,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicyDefinitionName" @@ -175,7 +175,7 @@ "description": "The policy definition properties." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -194,7 +194,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -213,7 +213,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicyDefinitionName" @@ -222,7 +222,7 @@ "$ref": "#/parameters/PolicyDefinitionVersion" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -235,7 +235,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -254,7 +254,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicyDefinitionName" @@ -263,7 +263,7 @@ "$ref": "#/parameters/PolicyDefinitionVersion" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -276,7 +276,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -303,7 +303,7 @@ "$ref": "#/parameters/PolicyDefinitionVersion" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -316,7 +316,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -337,7 +337,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { "$ref": "#/parameters/PolicyDefinitionName" @@ -355,7 +355,7 @@ "description": "The policy definition properties." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -374,7 +374,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -393,7 +393,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { "$ref": "#/parameters/PolicyDefinitionName" @@ -402,7 +402,7 @@ "$ref": "#/parameters/PolicyDefinitionVersion" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -415,7 +415,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -434,7 +434,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { "$ref": "#/parameters/PolicyDefinitionName" @@ -443,7 +443,7 @@ "$ref": "#/parameters/PolicyDefinitionVersion" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -456,7 +456,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -477,13 +477,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicyDefinitionName" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/TopParameter" @@ -499,7 +499,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -526,7 +526,7 @@ "$ref": "#/parameters/PolicyDefinitionName" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/TopParameter" @@ -542,7 +542,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -566,13 +566,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { "$ref": "#/parameters/PolicyDefinitionName" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/TopParameter" @@ -588,7 +588,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -746,7 +746,7 @@ "description": "The type of the resource (Microsoft.Authorization/policyDefinitions/versions)." }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", "readOnly": true, "description": "The system metadata relating to this resource." } diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policyDefinitions.json index 3b5a3c8f4026..127c59b993e5 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policyDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policyDefinitions.json @@ -55,7 +55,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "policyDefinitionName", @@ -75,7 +75,7 @@ "description": "The policy definition properties." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -88,7 +88,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -107,7 +107,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "policyDefinitionName", @@ -118,7 +118,7 @@ "description": "The name of the policy definition to delete." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -131,7 +131,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -150,7 +150,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "policyDefinitionName", @@ -161,7 +161,7 @@ "description": "The name of the policy definition to get." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -174,7 +174,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -203,7 +203,7 @@ "description": "The name of the built-in policy definition to get." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -216,7 +216,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -257,7 +257,7 @@ "description": "The policy definition properties." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -270,7 +270,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -300,7 +300,7 @@ "description": "The name of the policy definition to delete." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -313,7 +313,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -343,7 +343,7 @@ "description": "The name of the policy definition to get." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -356,7 +356,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -377,10 +377,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicyDefinitionsFilterParameter" @@ -399,7 +399,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -423,7 +423,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PolicyDefinitionsFilterParameter" @@ -442,7 +442,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -466,7 +466,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/ManagementGroupIdParameter" @@ -488,7 +488,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -653,7 +653,7 @@ "description": "The type of the resource (Microsoft.Authorization/policyDefinitions)." }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", "readOnly": true, "description": "The system metadata relating to this resource." } diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policySetDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policySetDefinitionVersions.json index d95878667293..a9e218c49c43 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policySetDefinitionVersions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policySetDefinitionVersions.json @@ -49,7 +49,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -62,7 +62,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -83,10 +83,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -99,7 +99,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -120,10 +120,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -136,7 +136,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -157,7 +157,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicySetDefinitionName" @@ -175,7 +175,7 @@ "description": "The policy set definition properties." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -194,7 +194,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -213,7 +213,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicySetDefinitionName" @@ -222,7 +222,7 @@ "$ref": "#/parameters/PolicySetDefinitionVersion" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -235,7 +235,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -254,7 +254,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicySetDefinitionName" @@ -266,7 +266,7 @@ "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -279,7 +279,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -309,7 +309,7 @@ "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -322,7 +322,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -343,13 +343,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PolicySetDefinitionName" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" @@ -368,7 +368,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -395,7 +395,7 @@ "$ref": "#/parameters/PolicySetDefinitionName" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" @@ -414,7 +414,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -438,7 +438,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { "$ref": "#/parameters/PolicySetDefinitionName" @@ -456,7 +456,7 @@ "description": "The policy set definition version properties." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -475,7 +475,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -494,7 +494,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { "$ref": "#/parameters/PolicySetDefinitionName" @@ -503,7 +503,7 @@ "$ref": "#/parameters/PolicySetDefinitionVersion" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -516,7 +516,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -535,7 +535,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { "$ref": "#/parameters/PolicySetDefinitionName" @@ -547,7 +547,7 @@ "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -560,7 +560,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -581,13 +581,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ManagementGroupNameParameter" }, { "$ref": "#/parameters/PolicySetDefinitionName" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" @@ -606,7 +606,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -775,7 +775,7 @@ "description": "The type of the resource (Microsoft.Authorization/policySetDefinitions/versions)." }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", "readOnly": true, "description": "The system metadata relating to this resource." } diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policySetDefinitions.json index fe8dafde6444..f0085a8d1828 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policySetDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policySetDefinitions.json @@ -52,7 +52,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "policySetDefinitionName", @@ -72,7 +72,7 @@ "description": "The policy set definition properties." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -91,7 +91,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -110,7 +110,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "policySetDefinitionName", @@ -121,7 +121,7 @@ "description": "The name of the policy set definition to delete." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -134,7 +134,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -153,7 +153,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "policySetDefinitionName", @@ -167,7 +167,7 @@ "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -180,7 +180,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -212,7 +212,7 @@ "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -225,7 +225,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -246,10 +246,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PolicySetDefinitionsFilterParameter" @@ -271,7 +271,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -295,7 +295,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PolicySetDefinitionsFilterParameter" @@ -317,7 +317,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -364,7 +364,7 @@ "description": "The policy set definition properties." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -383,7 +383,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -413,7 +413,7 @@ "description": "The name of the policy set definition to delete." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -426,7 +426,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -459,7 +459,7 @@ "$ref": "#/parameters/PolicySetDefinitionsExpandParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -472,7 +472,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -496,7 +496,7 @@ "$ref": "#/parameters/ManagementGroupIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PolicySetDefinitionsFilterParameter" @@ -518,7 +518,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -694,7 +694,7 @@ "description": "The type of the resource (Microsoft.Authorization/policySetDefinitions)." }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", "readOnly": true, "description": "The system metadata relating to this resource." } diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policyTokens.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policyTokens.json index 7e16523c1f0a..14c2a9922bd4 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policyTokens.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policyTokens.json @@ -49,10 +49,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { "name": "parameters", @@ -74,7 +74,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } @@ -95,7 +95,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/ManagementGroupNameParameter" @@ -120,7 +120,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } } diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/resources.json index fb7fb85032e3..745183e0a324 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/resources.json +++ b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2024-11-01/resources.json @@ -788,7 +788,7 @@ "$ref": "#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/ApiVersionParameter" @@ -2133,7 +2133,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response for a resource management request." @@ -3041,7 +3041,7 @@ "description": "The formatted export content. Used if outputFormat is set to 'Bicep'." }, "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse", + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse", "description": "The template export error." } }, diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/resources.json index 2ba371469afc..b706b2c39a73 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/resources.json +++ b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-03-01/resources.json @@ -788,7 +788,7 @@ "$ref": "#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/ApiVersionParameter" @@ -2133,7 +2133,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response for a resource management request." @@ -3041,7 +3041,7 @@ "description": "The formatted export content. Used if outputFormat is set to 'Bicep'." }, "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse", + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse", "description": "The template export error." } }, diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/resources.json index f5af640dd43a..31de4bda45dd 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/resources.json +++ b/specification/resources/resource-manager/Microsoft.Resources/resources/stable/2025-04-01/resources.json @@ -788,7 +788,7 @@ "$ref": "#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/ApiVersionParameter" @@ -2133,7 +2133,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response for a resource management request." @@ -3041,7 +3041,7 @@ "description": "The formatted export content. Used if outputFormat is set to 'Bicep'." }, "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse", + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse", "description": "The template export error." } }, diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2016-09-01-preview/examples/createOrUpdateAppliance.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2016-09-01-preview/examples/createOrUpdateAppliance.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2016-09-01-preview/examples/createOrUpdateAppliance.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2016-09-01-preview/examples/createOrUpdateAppliance.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2016-09-01-preview/examples/createOrUpdateApplianceDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2016-09-01-preview/examples/createOrUpdateApplianceDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2016-09-01-preview/examples/createOrUpdateApplianceDefinition.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2016-09-01-preview/examples/createOrUpdateApplianceDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2016-09-01-preview/examples/getAppliance.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2016-09-01-preview/examples/getAppliance.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2016-09-01-preview/examples/getAppliance.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2016-09-01-preview/examples/getAppliance.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2016-09-01-preview/examples/getApplianceDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2016-09-01-preview/examples/getApplianceDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2016-09-01-preview/examples/getApplianceDefinition.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2016-09-01-preview/examples/getApplianceDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2016-09-01-preview/examples/listApplianceDefinitionsByResourceGroup.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2016-09-01-preview/examples/listApplianceDefinitionsByResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2016-09-01-preview/examples/listApplianceDefinitionsByResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2016-09-01-preview/examples/listApplianceDefinitionsByResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2016-09-01-preview/examples/listAppliancesByResourceGroup.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2016-09-01-preview/examples/listAppliancesByResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2016-09-01-preview/examples/listAppliancesByResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2016-09-01-preview/examples/listAppliancesByResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2016-09-01-preview/managedapplications.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2016-09-01-preview/managedapplications.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2016-09-01-preview/managedapplications.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2016-09-01-preview/managedapplications.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/createOrUpdateApplication.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2020-08-21-preview/examples/createOrUpdateApplication.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/createOrUpdateApplication.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2020-08-21-preview/examples/createOrUpdateApplication.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/createOrUpdateApplicationDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2020-08-21-preview/examples/createOrUpdateApplicationDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/createOrUpdateApplicationDefinition.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2020-08-21-preview/examples/createOrUpdateApplicationDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/deleteApplicationDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2020-08-21-preview/examples/deleteApplicationDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/deleteApplicationDefinition.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2020-08-21-preview/examples/deleteApplicationDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/getApplication.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2020-08-21-preview/examples/getApplication.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/getApplication.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2020-08-21-preview/examples/getApplication.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/getApplicationDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2020-08-21-preview/examples/getApplicationDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/getApplicationDefinition.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2020-08-21-preview/examples/getApplicationDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/listApplicationDefinitionsByResourceGroup.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2020-08-21-preview/examples/listApplicationDefinitionsByResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/listApplicationDefinitionsByResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2020-08-21-preview/examples/listApplicationDefinitionsByResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/listApplicationsByResourceGroup.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2020-08-21-preview/examples/listApplicationsByResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/listApplicationsByResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2020-08-21-preview/examples/listApplicationsByResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/listSolutionsOperations.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2020-08-21-preview/examples/listSolutionsOperations.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/listSolutionsOperations.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2020-08-21-preview/examples/listSolutionsOperations.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/updateApplication.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2020-08-21-preview/examples/updateApplication.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/examples/updateApplication.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2020-08-21-preview/examples/updateApplication.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/managedapplications.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2020-08-21-preview/managedapplications.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/preview/2020-08-21-preview/managedapplications.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2020-08-21-preview/managedapplications.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.go.md b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/readme.go.md similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.go.md rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/readme.go.md diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.md b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/readme.md similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.md rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/readme.md diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.nodejs.md b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/readme.nodejs.md similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.nodejs.md rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/readme.nodejs.md diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.python.md b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/readme.python.md similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.python.md rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/readme.python.md diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.ruby.md b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/readme.ruby.md similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.ruby.md rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/readme.ruby.md diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.terraform.md b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/readme.terraform.md similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.terraform.md rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/readme.terraform.md diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.typescript.md b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/readme.typescript.md similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/readme.typescript.md rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/readme.typescript.md diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2017-09-01/examples/createOrUpdateApplication.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2017-09-01/examples/createOrUpdateApplication.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2017-09-01/examples/createOrUpdateApplication.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2017-09-01/examples/createOrUpdateApplication.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2017-09-01/examples/createOrUpdateApplicationDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2017-09-01/examples/createOrUpdateApplicationDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2017-09-01/examples/createOrUpdateApplicationDefinition.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2017-09-01/examples/createOrUpdateApplicationDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2017-09-01/examples/getApplication.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2017-09-01/examples/getApplication.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2017-09-01/examples/getApplication.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2017-09-01/examples/getApplication.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2017-09-01/examples/getApplicationDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2017-09-01/examples/getApplicationDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2017-09-01/examples/getApplicationDefinition.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2017-09-01/examples/getApplicationDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2017-09-01/examples/listApplicationDefinitionsByResourceGroup.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2017-09-01/examples/listApplicationDefinitionsByResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2017-09-01/examples/listApplicationDefinitionsByResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2017-09-01/examples/listApplicationDefinitionsByResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2017-09-01/examples/listApplicationsByResourceGroup.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2017-09-01/examples/listApplicationsByResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2017-09-01/examples/listApplicationsByResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2017-09-01/examples/listApplicationsByResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2017-09-01/managedapplications.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2017-09-01/managedapplications.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2017-09-01/managedapplications.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2017-09-01/managedapplications.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/createOrUpdateApplication.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2018-06-01/examples/createOrUpdateApplication.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/createOrUpdateApplication.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2018-06-01/examples/createOrUpdateApplication.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/createOrUpdateApplicationById.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2018-06-01/examples/createOrUpdateApplicationById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/createOrUpdateApplicationById.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2018-06-01/examples/createOrUpdateApplicationById.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/createOrUpdateApplicationDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2018-06-01/examples/createOrUpdateApplicationDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/createOrUpdateApplicationDefinition.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2018-06-01/examples/createOrUpdateApplicationDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/deleteApplication.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2018-06-01/examples/deleteApplication.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/deleteApplication.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2018-06-01/examples/deleteApplication.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/deleteApplicationById.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2018-06-01/examples/deleteApplicationById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/deleteApplicationById.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2018-06-01/examples/deleteApplicationById.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/deleteApplicationDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2018-06-01/examples/deleteApplicationDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/deleteApplicationDefinition.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2018-06-01/examples/deleteApplicationDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/getApplication.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2018-06-01/examples/getApplication.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/getApplication.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2018-06-01/examples/getApplication.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/getApplicationById.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2018-06-01/examples/getApplicationById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/getApplicationById.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2018-06-01/examples/getApplicationById.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/getApplicationDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2018-06-01/examples/getApplicationDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/getApplicationDefinition.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2018-06-01/examples/getApplicationDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/listApplicationDefinitionsByResourceGroup.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2018-06-01/examples/listApplicationDefinitionsByResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/listApplicationDefinitionsByResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2018-06-01/examples/listApplicationDefinitionsByResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/listApplicationsByResourceGroup.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2018-06-01/examples/listApplicationsByResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/listApplicationsByResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2018-06-01/examples/listApplicationsByResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/listApplicationsBySubscription.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2018-06-01/examples/listApplicationsBySubscription.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/listApplicationsBySubscription.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2018-06-01/examples/listApplicationsBySubscription.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/listSolutionsOperations.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2018-06-01/examples/listSolutionsOperations.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/listSolutionsOperations.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2018-06-01/examples/listSolutionsOperations.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/updateApplication.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2018-06-01/examples/updateApplication.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/updateApplication.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2018-06-01/examples/updateApplication.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/updateApplicationById.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2018-06-01/examples/updateApplicationById.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/examples/updateApplicationById.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2018-06-01/examples/updateApplicationById.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/managedapplications.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2018-06-01/managedapplications.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2018-06-01/managedapplications.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2018-06-01/managedapplications.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/createOrUpdateApplication.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2019-07-01/examples/createOrUpdateApplication.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/createOrUpdateApplication.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2019-07-01/examples/createOrUpdateApplication.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/createOrUpdateApplicationDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2019-07-01/examples/createOrUpdateApplicationDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/createOrUpdateApplicationDefinition.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2019-07-01/examples/createOrUpdateApplicationDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/deleteApplicationDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2019-07-01/examples/deleteApplicationDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/deleteApplicationDefinition.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2019-07-01/examples/deleteApplicationDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/getApplication.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2019-07-01/examples/getApplication.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/getApplication.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2019-07-01/examples/getApplication.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/getApplicationDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2019-07-01/examples/getApplicationDefinition.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/getApplicationDefinition.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2019-07-01/examples/getApplicationDefinition.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/listApplicationDefinitionsByResourceGroup.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2019-07-01/examples/listApplicationDefinitionsByResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/listApplicationDefinitionsByResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2019-07-01/examples/listApplicationDefinitionsByResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/listApplicationsByResourceGroup.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2019-07-01/examples/listApplicationsByResourceGroup.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/listApplicationsByResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2019-07-01/examples/listApplicationsByResourceGroup.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/listSolutionsOperations.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2019-07-01/examples/listSolutionsOperations.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/listSolutionsOperations.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2019-07-01/examples/listSolutionsOperations.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/updateApplication.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2019-07-01/examples/updateApplication.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/examples/updateApplication.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2019-07-01/examples/updateApplication.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/managedapplications.json b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2019-07-01/managedapplications.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/stable/2019-07-01/managedapplications.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2019-07-01/managedapplications.json diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedappliations/suppressions.yaml b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/suppressions.yaml similarity index 100% rename from specification/resources/resource-manager/Microsoft.Solutions/managedappliations/suppressions.yaml rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/suppressions.yaml From a66fd3b3c9c486e8ae2ccaf5ba5437b41f3c5faa Mon Sep 17 00:00:00 2001 From: zedy Date: Thu, 13 Nov 2025 15:50:57 +0800 Subject: [PATCH 05/14] fix semantic error and lint error --- .../preview/2022-07-01-preview/policyExemptions.json | 4 ++-- .../2022-08-01-preview/policyVariableValues.json | 4 ++-- .../policy/stable/2020-09-01/dataPolicyManifests.json | 2 +- specification/resources/resource-manager/readme.md | 10 +++++----- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/policyExemptions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/policyExemptions.json index 76578d40794c..dff26028547b 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/policyExemptions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/policyExemptions.json @@ -433,7 +433,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "An error response from a policy operation." @@ -546,7 +546,7 @@ "readOnly": true, "type": "object", "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/systemData" }, "id": { "readOnly": true, diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/policyVariableValues.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/policyVariableValues.json index 108a2f7c5d34..8a31cc3e27c6 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/policyVariableValues.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/policyVariableValues.json @@ -406,7 +406,7 @@ "x-ms-external": true, "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "type": "object", @@ -463,7 +463,7 @@ "readOnly": true, "type": "object", "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" }, "id": { "readOnly": true, diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/dataPolicyManifests.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/dataPolicyManifests.json index 65b0f8697972..93505c5bacb3 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/dataPolicyManifests.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/dataPolicyManifests.json @@ -198,7 +198,7 @@ "aliases": { "type": "array", "items": { - "$ref": "../../../Microsoft.Resources/stable/2020-06-01/resources.json#/definitions/Alias" + "$ref": "../../../../Microsoft.Resources/resources/stable/2020-06-01/resources.json#/definitions/Alias" }, "x-ms-identifiers": [ "name" diff --git a/specification/resources/resource-manager/readme.md b/specification/resources/resource-manager/readme.md index 573639e8772a..464dca936ff8 100644 --- a/specification/resources/resource-manager/readme.md +++ b/specification/resources/resource-manager/readme.md @@ -36,11 +36,11 @@ Creating this tag to pick proper resources from the hybrid profile. ``` yaml $(tag) == 'profile-hybrid-2019-03-01' input-file: -- Microsoft.Authorization/stable/2016-09-01/locks.json -- Microsoft.Authorization/stable/2016-12-01/policyDefinitions.json -- Microsoft.Authorization/stable/2016-12-01/policyAssignments.json -- Microsoft.Resources/stable/2016-06-01/subscriptions.json -- Microsoft.Resources/stable/2018-05-01/resources.json +- Microsoft.Authorization/locks/stable/2016-09-01/locks.json +- Microsoft.Authorization/policy/stable/2016-12-01/policyDefinitions.json +- Microsoft.Authorization/policy/stable/2016-12-01/policyAssignments.json +- Microsoft.Resources/subscriptions/stable/2016-06-01/subscriptions.json +- Microsoft.Resources/resources/stable/2018-05-01/resources.json override-info: title: PolicyClient From 55257a2ddcde2179c4e2bc33d56c4d26eabbe158 Mon Sep 17 00:00:00 2001 From: zedy Date: Thu, 13 Nov 2025 16:35:36 +0800 Subject: [PATCH 06/14] fix typespec requirement error --- .../Microsoft.Authorization/privatelinks/readme.md | 4 ---- .../Microsoft.Resources/links/readme.go.md | 11 +---------- .../Microsoft.Resources/links/readme.md | 5 ----- .../Microsoft.Resources/resources/suppressions.yaml | 2 +- .../Microsoft.Resources/snapshots/readme.md | 4 ---- 5 files changed, 2 insertions(+), 24 deletions(-) diff --git a/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.md b/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.md index d3f8c438d154..a95f200fbc4d 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.md +++ b/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.md @@ -79,10 +79,6 @@ swagger-to-sdk: See configuration in [readme.python.md](./readme.python.md) -## Go - -See configuration in [readme.go.md](./readme.go.md) - ## Java See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/resources/resource-manager/Microsoft.Resources/links/readme.go.md b/specification/resources/resource-manager/Microsoft.Resources/links/readme.go.md index 5f4519af4ef7..aa51db61ee67 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/links/readme.go.md +++ b/specification/resources/resource-manager/Microsoft.Resources/links/readme.go.md @@ -2,17 +2,8 @@ These settings apply only when `--go` is specified on the command line. -### Fix up regular expressions to support Unicode. -``` yaml -directive: - from: swagger-document # do it globally - where: $.paths..parameters[?(@.name == "resourceGroupName" || @.name == "sourceResourceGroupName")].pattern - set: ^[-\p{L}\._\(\)\w]+$ - reason: Necessary to match Unicode characters in the Go regexp engine. -``` - -``` yaml $(go) && $(track2) && $(package-links) +``` yaml $(go) && $(track2) license-header: MICROSOFT_MIT_NO_VERSION module-name: sdk/resourcemanager/resources/armlinks module: github.com/Azure/azure-sdk-for-go/$(module-name) diff --git a/specification/resources/resource-manager/Microsoft.Resources/links/readme.md b/specification/resources/resource-manager/Microsoft.Resources/links/readme.md index 2369daf4d71f..1c1d85aa43c2 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/links/readme.md +++ b/specification/resources/resource-manager/Microsoft.Resources/links/readme.md @@ -51,7 +51,6 @@ This is not used by Autorest itself. swagger-to-sdk: - repo: azure-sdk-for-net - repo: azure-sdk-for-python - - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-js @@ -66,7 +65,3 @@ See configuration in [readme.python.md](./readme.python.md) ## Go See configuration in [readme.go.md](./readme.go.md) - -## Java - -See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/suppressions.yaml b/specification/resources/resource-manager/Microsoft.Resources/resources/suppressions.yaml index aca301470812..e6dc28f0d20a 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/resources/suppressions.yaml +++ b/specification/resources/resource-manager/Microsoft.Resources/resources/suppressions.yaml @@ -35,7 +35,7 @@ path: ./stable/2019-08-01/*.json reason: Brownfield service not ready to migrate - tool: TypeSpecRequirement - path: ./stable/2019-10-10/*.json + path: ./stable/2019-10-01/*.json reason: Brownfield service not ready to migrate - tool: TypeSpecRequirement path: ./stable/2020-06-01/*.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.md b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.md index 0c858e201ccd..303a7de87d6e 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.md +++ b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.md @@ -76,10 +76,6 @@ swagger-to-sdk: See configuration in [readme.python.md](./readme.python.md) -## Go - -See configuration in [readme.go.md](./readme.go.md) - ## Java See configuration in [readme.java.md](./readme.java.md) From 8401e0467bc1d5c89bfdfdaeaae4713e723f2e23 Mon Sep 17 00:00:00 2001 From: zedy Date: Thu, 13 Nov 2025 17:33:44 +0800 Subject: [PATCH 07/14] fix sdk ci error --- .../privatelinks/readme.md | 29 ---------------- .../privatelinks/readme.python.md | 34 ------------------- .../Microsoft.Resources/links/readme.go.md | 12 ------- .../Microsoft.Resources/links/readme.md | 28 --------------- .../links/readme.nodejs.md | 22 ------------ .../links/readme.python.md | 34 ------------------- .../Microsoft.Resources/links/readme.ruby.md | 19 ----------- .../links/readme.typescript.md | 19 ----------- .../Microsoft.Resources/snapshots/readme.md | 29 ---------------- 9 files changed, 226 deletions(-) delete mode 100644 specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.python.md delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/links/readme.go.md delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/links/readme.nodejs.md delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/links/readme.python.md delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/links/readme.ruby.md delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/links/readme.typescript.md diff --git a/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.md b/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.md index a95f200fbc4d..495c78d09d34 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.md +++ b/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.md @@ -53,32 +53,3 @@ directive: from: privateLinks.json reason: The resource is managed in a management group level (instead of inside a resource group) ``` - ---- - -# Code Generation - -## Swagger to SDK - -This section describes what SDK should be generated by the automatic system. -This is not used by Autorest itself. - -``` yaml $(swagger-to-sdk) -swagger-to-sdk: - - repo: azure-sdk-for-net - - repo: azure-sdk-for-python - - repo: azure-sdk-for-java - - repo: azure-sdk-for-go - - repo: azure-sdk-for-node - - repo: azure-sdk-for-js - - repo: azure-resource-manager-schemas - - repo: azure-powershell -``` - -## Python - -See configuration in [readme.python.md](./readme.python.md) - -## Java - -See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.python.md b/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.python.md deleted file mode 100644 index ee167149a20c..000000000000 --- a/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.python.md +++ /dev/null @@ -1,34 +0,0 @@ -## Python - -These settings apply only when `--python` is specified on the command line. - -``` yaml $(python) -azure-arm: true -license-header: MICROSOFT_MIT_NO_VERSION -package-name: azure-mgmt-resource -package-version: 1.0.0b1 -no-namespace-folders: true -reformat-next-link: false -combine-operation-files: true -clear-output-folder: true -modelerfour: - lenient-model-deduplication: true -``` - -### Python batch - -```yaml $(python) -batch: - - tag: package-privatelinks-2020-05 -``` - -### Tag: package-privatelinks-2020-05 and python - -These settings apply only when `--tag=package-privatelinks-2020-05 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-privatelinks-2020-05' -title: ResourcePrivateLinkClient -namespace: azure.mgmt.resource.privatelinks -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/privatelinks -``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/links/readme.go.md b/specification/resources/resource-manager/Microsoft.Resources/links/readme.go.md deleted file mode 100644 index aa51db61ee67..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/links/readme.go.md +++ /dev/null @@ -1,12 +0,0 @@ -## Go - -These settings apply only when `--go` is specified on the command line. - - -``` yaml $(go) && $(track2) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/resources/armlinks -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/links/readme.md b/specification/resources/resource-manager/Microsoft.Resources/links/readme.md index 1c1d85aa43c2..797eaac7eff9 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/links/readme.md +++ b/specification/resources/resource-manager/Microsoft.Resources/links/readme.md @@ -37,31 +37,3 @@ These settings apply only when `--tag=package-links-2016-09` is specified on the input-file: - stable/2016-09-01/links.json ``` - ---- - -# Code Generation - -## Swagger to SDK - -This section describes what SDK should be generated by the automatic system. -This is not used by Autorest itself. - -``` yaml $(swagger-to-sdk) -swagger-to-sdk: - - repo: azure-sdk-for-net - - repo: azure-sdk-for-python - - repo: azure-sdk-for-go - - repo: azure-sdk-for-node - - repo: azure-sdk-for-js - - repo: azure-resource-manager-schemas - - repo: azure-powershell -``` - -## Python - -See configuration in [readme.python.md](./readme.python.md) - -## Go - -See configuration in [readme.go.md](./readme.go.md) diff --git a/specification/resources/resource-manager/Microsoft.Resources/links/readme.nodejs.md b/specification/resources/resource-manager/Microsoft.Resources/links/readme.nodejs.md deleted file mode 100644 index f9eecb2fd240..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/links/readme.nodejs.md +++ /dev/null @@ -1,22 +0,0 @@ -## Node.js - -These settings apply only when `--nodejs` is specified on the command line. -Please also specify `--node-sdks-folder=`. - -```yaml $(nodejs) -nodejs: - azure-arm: true - batch: true - package-name: azure-arm-resource - generate-license-txt: true - generate-package-json: false - generate-readme-md: false - output-folder: $(node-sdks-folder)/lib/services/resourceManagement -batch: - - package-links: true -``` - -```yaml $(nodejs) && $(package-links) -nodejs: - source-code-folder-path: lib/link -``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/links/readme.python.md b/specification/resources/resource-manager/Microsoft.Resources/links/readme.python.md deleted file mode 100644 index ddef57a3cd05..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/links/readme.python.md +++ /dev/null @@ -1,34 +0,0 @@ -## Python - -These settings apply only when `--python` is specified on the command line. - -``` yaml $(python) -azure-arm: true -license-header: MICROSOFT_MIT_NO_VERSION -package-name: azure-mgmt-resource -package-version: 1.0.0b1 -no-namespace-folders: true -reformat-next-link: false -combine-operation-files: true -clear-output-folder: true -modelerfour: - lenient-model-deduplication: true -``` - -### Python batch - -```yaml $(python) -batch: - - tag: package-links-2016-09 -``` - -### Tag: package-links-2016-09 and python - -These settings apply only when `--tag=package-links-2016-09 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-links-2016-09' -title: ManagementLinkClient -namespace: azure.mgmt.resource.links -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/links -``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/links/readme.ruby.md b/specification/resources/resource-manager/Microsoft.Resources/links/readme.ruby.md deleted file mode 100644 index e4fe6a735c7d..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/links/readme.ruby.md +++ /dev/null @@ -1,19 +0,0 @@ -### Ruby multi-api for links - -``` yaml $(multiapi) && $(links) -package-name: azure_mgmt_links -package-version: "0.16.0" -azure-arm: true -batch: - - tag: package-links-2016-09 -``` - -### Tag: package-links-2016-09 and ruby - -These settings apply only when `--tag=package-links-2016-09 --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-links-2016-09' && $(ruby) -namespace: "Azure::Links::Mgmt::V2016_09_01" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_links/lib -``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/links/readme.typescript.md b/specification/resources/resource-manager/Microsoft.Resources/links/readme.typescript.md deleted file mode 100644 index 7df0ec7a737c..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/links/readme.typescript.md +++ /dev/null @@ -1,19 +0,0 @@ -## TypeScript - -These settings apply only when `--typescript` is specified on the command line. -Please also specify `--typescript-sdks-folder=`. - -```yaml $(typescript) && !$(profile-content) -typescript: - azure-arm: true - batch: true - generate-metadata: true -batch: - - package-links: true -``` - -```yaml $(typescript) && $(package-links) && !$(profile-content) -typescript: - package-name: "@azure/arm-links" - output-folder: "$(typescript-sdks-folder)/sdk/links/arm-links" -``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.md b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.md index 303a7de87d6e..db4a1181a88c 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.md +++ b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.md @@ -50,32 +50,3 @@ directive: from: snapshots.json reason: We will be pushing customers to use Azure Resource Graph for those at scale scenarios. ``` - ---- - -# Code Generation - -## Swagger to SDK - -This section describes what SDK should be generated by the automatic system. -This is not used by Autorest itself. - -``` yaml $(swagger-to-sdk) -swagger-to-sdk: - - repo: azure-sdk-for-net - - repo: azure-sdk-for-python - - repo: azure-sdk-for-java - - repo: azure-sdk-for-go - - repo: azure-sdk-for-node - - repo: azure-sdk-for-js - - repo: azure-resource-manager-schemas - - repo: azure-powershell -``` - -## Python - -See configuration in [readme.python.md](./readme.python.md) - -## Java - -See configuration in [readme.java.md](./readme.java.md) From f5761c43ed99d7577e352939ed20a8c598971139 Mon Sep 17 00:00:00 2001 From: zedy Date: Fri, 14 Nov 2025 14:01:34 +0800 Subject: [PATCH 08/14] fix lintdiff ci error --- specification/resources/resource-manager/readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/resources/resource-manager/readme.md b/specification/resources/resource-manager/readme.md index 464dca936ff8..22c4eb8e86e5 100644 --- a/specification/resources/resource-manager/readme.md +++ b/specification/resources/resource-manager/readme.md @@ -26,7 +26,6 @@ These are the global settings for the Resource API. ``` yaml openapi-type: arm -tag: profile-hybrid-2019-03-01 ``` ### Tag: profile-hybrid-2019-03-01 From e3e57a19017189da0deb7eed74907ad76af8dbd2 Mon Sep 17 00:00:00 2001 From: zedy Date: Fri, 14 Nov 2025 14:43:09 +0800 Subject: [PATCH 09/14] remove resource-manager/readme.md and update suppressions in resources --- .../Microsoft.Resources/resources/readme.md | 10 ---- .../resources/resource-manager/readme.md | 46 ------------------- 2 files changed, 56 deletions(-) delete mode 100644 specification/resources/resource-manager/readme.md diff --git a/specification/resources/resource-manager/Microsoft.Resources/resources/readme.md b/specification/resources/resource-manager/Microsoft.Resources/resources/readme.md index 5c3904fa03cd..9fa945b013a8 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/resources/readme.md +++ b/specification/resources/resource-manager/Microsoft.Resources/resources/readme.md @@ -407,9 +407,6 @@ directive: - suppress: PathForTrackedResourceTypes from: resources.json reason: Not a tracked resource type. Cannot change anything due to design philosophy in ARM. - - suppress: PathForTrackedResourceTypes - from: policyAssignments.json - reason: Not a tracked resource type. The API has never been changed since inception. Would be a breaking change. - suppress: PostResponseCodes from: resources.json reason: Breaking change in order to change the API response code. @@ -422,7 +419,6 @@ directive: - suppress: EvenSegmentedPathForPutOperation from: resources.json reason: Linter rule limitation. The API has never been changed since inception. Would be a breaking change. - - suppress: DeleteResponseCodes from: resources.json reason: Breaking change in order to change the API response code. @@ -438,12 +434,6 @@ directive: - suppress: RequiredReadOnlySystemData from: resources.json reason: Pre-existing lint error. Not related to this version release. Will fix in the future - - suppress: TenantLevelAPIsNotAllowed - from: dataBoundaries.json - reason: "Have approval from the PAS team." - - suppress: GetCollectionResponseSchema - from: dataBoundaries.json - reason: "Do not have any list calls." - suppress: TrackedExtensionResourcesAreNotAllowed from: resources.json reason: "The deployments resource type is ProxyOnly." diff --git a/specification/resources/resource-manager/readme.md b/specification/resources/resource-manager/readme.md deleted file mode 100644 index 22c4eb8e86e5..000000000000 --- a/specification/resources/resource-manager/readme.md +++ /dev/null @@ -1,46 +0,0 @@ -# Resource - -> see https://aka.ms/autorest - -This is the AutoRest configuration file for Resource. - ---- - -## Getting Started - -To build the SDK for Resource, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: - -> `autorest` - -To see additional help and options, run: - -> `autorest --help` - ---- - -## Configuration - -### Basic Information - -These are the global settings for the Resource API. - -``` yaml -openapi-type: arm -``` - -### Tag: profile-hybrid-2019-03-01 - -These settings apply only when `--tag=profile-hybrid-2019-03-01` is specified on the command line. -Creating this tag to pick proper resources from the hybrid profile. - -``` yaml $(tag) == 'profile-hybrid-2019-03-01' -input-file: -- Microsoft.Authorization/locks/stable/2016-09-01/locks.json -- Microsoft.Authorization/policy/stable/2016-12-01/policyDefinitions.json -- Microsoft.Authorization/policy/stable/2016-12-01/policyAssignments.json -- Microsoft.Resources/subscriptions/stable/2016-06-01/subscriptions.json -- Microsoft.Resources/resources/stable/2018-05-01/resources.json - -override-info: - title: PolicyClient -``` From 71b45db9f90949589a3992b361e50bcb70ca055d Mon Sep 17 00:00:00 2001 From: "Wenjie Yu (Wicresoft North America Ltd)" Date: Tue, 18 Nov 2025 15:20:59 +0800 Subject: [PATCH 10/14] restore some sdk generation settings. --- .../privatelinks/readme.md | 23 +++++++++++++ .../privatelinks/readme.python.md | 34 +++++++++++++++++++ .../Microsoft.Resources/links/readme.go.md | 21 ++++++++++++ .../Microsoft.Resources/links/readme.md | 27 +++++++++++++++ .../links/readme.nodejs.md | 22 ++++++++++++ .../links/readme.python.md | 34 +++++++++++++++++++ .../links/readme.typescript.md | 19 +++++++++++ .../Microsoft.Resources/snapshots/readme.md | 19 +++++++++++ 8 files changed, 199 insertions(+) create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.python.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/links/readme.go.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/links/readme.nodejs.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/links/readme.python.md create mode 100644 specification/resources/resource-manager/Microsoft.Resources/links/readme.typescript.md diff --git a/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.md b/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.md index 495c78d09d34..d42b39bb3a8e 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.md +++ b/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.md @@ -53,3 +53,26 @@ directive: from: privateLinks.json reason: The resource is managed in a management group level (instead of inside a resource group) ``` + +--- + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +``` yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-net + - repo: azure-sdk-for-python + - repo: azure-sdk-for-java + - repo: azure-sdk-for-go + - repo: azure-sdk-for-js + - repo: azure-powershell +``` + +## Python + +See configuration in [readme.python.md](./readme.python.md) \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.python.md b/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.python.md new file mode 100644 index 000000000000..9eed6f48cde7 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.python.md @@ -0,0 +1,34 @@ +## Python + +These settings apply only when `--python` is specified on the command line. + +``` yaml $(python) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +package-name: azure-mgmt-resource +package-version: 1.0.0b1 +no-namespace-folders: true +reformat-next-link: false +combine-operation-files: true +clear-output-folder: true +modelerfour: + lenient-model-deduplication: true +``` + +### Python batch + +```yaml $(python) +batch: + - tag: package-privatelinks-2020-05 +``` + +### Tag: package-privatelinks-2020-05 and python + +These settings apply only when `--tag=package-privatelinks-2020-05 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-privatelinks-2020-05' +title: ResourcePrivateLinkClient +namespace: azure.mgmt.resource.privatelinks +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/privatelinks +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/links/readme.go.md b/specification/resources/resource-manager/Microsoft.Resources/links/readme.go.md new file mode 100644 index 000000000000..104d06b03fa1 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/links/readme.go.md @@ -0,0 +1,21 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +### Fix up regular expressions to support Unicode. + +``` yaml +directive: + from: swagger-document # do it globally + where: $.paths..parameters[?(@.name == "resourceGroupName" || @.name == "sourceResourceGroupName")].pattern + set: ^[-\p{L}\._\(\)\w]+$ + reason: Necessary to match Unicode characters in the Go regexp engine. +``` + +``` yaml $(go) && $(track2) && $(package-links) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/resources/armlinks +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/links/readme.md b/specification/resources/resource-manager/Microsoft.Resources/links/readme.md index 797eaac7eff9..0870303b4c04 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/links/readme.md +++ b/specification/resources/resource-manager/Microsoft.Resources/links/readme.md @@ -37,3 +37,30 @@ These settings apply only when `--tag=package-links-2016-09` is specified on the input-file: - stable/2016-09-01/links.json ``` + +--- + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +``` yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-net + - repo: azure-sdk-for-python + - repo: azure-sdk-for-java + - repo: azure-sdk-for-go + - repo: azure-sdk-for-js + - repo: azure-powershell +``` + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## Go + +See configuration in [readme.go.md](./readme.go.md) \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/links/readme.nodejs.md b/specification/resources/resource-manager/Microsoft.Resources/links/readme.nodejs.md new file mode 100644 index 000000000000..7d5e160ef977 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/links/readme.nodejs.md @@ -0,0 +1,22 @@ +## Node.js + +These settings apply only when `--nodejs` is specified on the command line. +Please also specify `--node-sdks-folder=`. + +```yaml $(nodejs) +nodejs: + azure-arm: true + batch: true + package-name: azure-arm-resource + generate-license-txt: true + generate-package-json: false + generate-readme-md: false + output-folder: $(node-sdks-folder)/lib/services/resourceManagement +batch: + - package-links: true +``` + +```yaml $(nodejs) && $(package-links) +nodejs: + source-code-folder-path: lib/link +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/links/readme.python.md b/specification/resources/resource-manager/Microsoft.Resources/links/readme.python.md new file mode 100644 index 000000000000..846846ea8278 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/links/readme.python.md @@ -0,0 +1,34 @@ +## Python + +These settings apply only when `--python` is specified on the command line. + +``` yaml $(python) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +package-name: azure-mgmt-resource +package-version: 1.0.0b1 +no-namespace-folders: true +reformat-next-link: false +combine-operation-files: true +clear-output-folder: true +modelerfour: + lenient-model-deduplication: true +``` + +### Python batch + +```yaml $(python) +batch: + - tag: package-links-2016-09 +``` + +### Tag: package-links-2016-09 and python + +These settings apply only when `--tag=package-links-2016-09 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-links-2016-09' +title: ManagementLinkClient +namespace: azure.mgmt.resource.links +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/links +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/links/readme.typescript.md b/specification/resources/resource-manager/Microsoft.Resources/links/readme.typescript.md new file mode 100644 index 000000000000..14ae4e3f0cc4 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/links/readme.typescript.md @@ -0,0 +1,19 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +```yaml $(typescript) && !$(profile-content) +typescript: + azure-arm: true + batch: true + generate-metadata: true +batch: + - package-links: true +``` + +```yaml $(typescript) && $(package-links) && !$(profile-content) +typescript: + package-name: "@azure/arm-links" + output-folder: "$(typescript-sdks-folder)/sdk/links/arm-links" +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.md b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.md index db4a1181a88c..2ef45ae2b907 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.md +++ b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.md @@ -50,3 +50,22 @@ directive: from: snapshots.json reason: We will be pushing customers to use Azure Resource Graph for those at scale scenarios. ``` + +--- + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +``` yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-net + - repo: azure-sdk-for-python + - repo: azure-sdk-for-java + - repo: azure-sdk-for-go + - repo: azure-sdk-for-js + - repo: azure-powershell +``` \ No newline at end of file From 3946ad7a9333f36952c51d5683f64e44c46b19c8 Mon Sep 17 00:00:00 2001 From: "Wenjie Yu (Wicresoft North America Ltd)" Date: Tue, 18 Nov 2025 17:07:58 +0800 Subject: [PATCH 11/14] try to fix go sdk generation error --- .../Microsoft.Authorization/privatelinks/readme.md | 1 - .../Microsoft.Resources/links/readme.go.md | 11 +---------- .../Microsoft.Resources/snapshots/readme.md | 1 - 3 files changed, 1 insertion(+), 12 deletions(-) diff --git a/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.md b/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.md index d42b39bb3a8e..1b8676667660 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.md +++ b/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.md @@ -68,7 +68,6 @@ swagger-to-sdk: - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-powershell ``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/links/readme.go.md b/specification/resources/resource-manager/Microsoft.Resources/links/readme.go.md index 104d06b03fa1..0d6e14a7aed3 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/links/readme.go.md +++ b/specification/resources/resource-manager/Microsoft.Resources/links/readme.go.md @@ -2,17 +2,8 @@ These settings apply only when `--go` is specified on the command line. -### Fix up regular expressions to support Unicode. -``` yaml -directive: - from: swagger-document # do it globally - where: $.paths..parameters[?(@.name == "resourceGroupName" || @.name == "sourceResourceGroupName")].pattern - set: ^[-\p{L}\._\(\)\w]+$ - reason: Necessary to match Unicode characters in the Go regexp engine. -``` - -``` yaml $(go) && $(track2) && $(package-links) +``` yaml $(go) && $(track2) license-header: MICROSOFT_MIT_NO_VERSION module-name: sdk/resourcemanager/resources/armlinks module: github.com/Azure/azure-sdk-for-go/$(module-name) diff --git a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.md b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.md index 2ef45ae2b907..8c3e83f9e73c 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.md +++ b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.md @@ -65,7 +65,6 @@ swagger-to-sdk: - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-powershell ``` \ No newline at end of file From 341b090df27dca871962bf27c8ede823b752fc10 Mon Sep 17 00:00:00 2001 From: "Wenjie Yu (Wicresoft North America Ltd)" Date: Wed, 19 Nov 2025 10:55:00 +0800 Subject: [PATCH 12/14] try to fix js sdk generation error --- .../resource-manager/Microsoft.Resources/links/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/resources/resource-manager/Microsoft.Resources/links/readme.md b/specification/resources/resource-manager/Microsoft.Resources/links/readme.md index 0870303b4c04..f2733d64eb07 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/links/readme.md +++ b/specification/resources/resource-manager/Microsoft.Resources/links/readme.md @@ -26,7 +26,7 @@ These are the global settings for the Resource API. title: ManagementLinkClient description: ManagementLink Client openapi-type: arm -tag: package-resources-2025-04 +tag: package-links-2016-09 ``` ### Tag: package-links-2016-09 From f6f8b62a5763b9ba1f30dce0b10c661c99b8b1cc Mon Sep 17 00:00:00 2001 From: "Wenjie Yu (Wicresoft North America Ltd)" Date: Wed, 19 Nov 2025 14:24:39 +0800 Subject: [PATCH 13/14] try to fix python sdk ci error --- .../resource-manager/Microsoft.Resources/snapshots/readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.md b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.md index 8c3e83f9e73c..f178776bcd3d 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.md +++ b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.md @@ -63,7 +63,6 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-net - - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-js - repo: azure-powershell From 7a147ede1e83998d089daadeaaa305cf18b2db6b Mon Sep 17 00:00:00 2001 From: zedy Date: Mon, 24 Nov 2025 14:36:43 +0800 Subject: [PATCH 14/14] update common folder structure under policy --- .../preview/2022-07-01-preview/policyExemptions.json | 4 ++-- .../preview/2022-07-01-preview/{common/v1 => }/types.json | 0 .../preview/2024-12-01-preview/policyExemptions.json | 4 ++-- .../preview/2024-12-01-preview/{common/v3 => }/types.json | 0 .../policy/stable/2022-06-01/policyAssignments.json | 8 ++++---- .../policy/stable/2022-06-01/{common/v1 => }/types.json | 0 .../policy/stable/2023-04-01/policyAssignments.json | 8 ++++---- .../policy/stable/2023-04-01/{common/v1 => }/types.json | 0 .../policy/stable/2024-04-01/policyAssignments.json | 8 ++++---- .../policy/stable/2024-04-01/{common/v1 => }/types.json | 0 .../policy/stable/2024-05-01/policyAssignments.json | 8 ++++---- .../policy/stable/2024-05-01/{common/v2 => }/types.json | 0 .../policy/stable/2025-01-01/policyAssignments.json | 8 ++++---- .../policy/stable/2025-01-01/{common/v2 => }/types.json | 0 .../policy/stable/2025-03-01/policyAssignments.json | 8 ++++---- .../policy/stable/2025-03-01/{common/v2 => }/types.json | 0 16 files changed, 28 insertions(+), 28 deletions(-) rename specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/{common/v1 => }/types.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/{common/v3 => }/types.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/{common/v1 => }/types.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/{common/v1 => }/types.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/{common/v1 => }/types.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/{common/v2 => }/types.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/{common/v2 => }/types.json (100%) rename specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/{common/v2 => }/types.json (100%) diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/policyExemptions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/policyExemptions.json index dff26028547b..f8afd79d0c89 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/policyExemptions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/policyExemptions.json @@ -498,7 +498,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "./common/v1/types.json#/definitions/ResourceSelector" + "$ref": "./types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [ "name" @@ -591,7 +591,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "./common/v1/types.json#/definitions/ResourceSelector" + "$ref": "./types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [], "description": "The resource selector list to filter policies by resource properties." diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/common/v1/types.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/types.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/common/v1/types.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-07-01-preview/types.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/policyExemptions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/policyExemptions.json index ef2fc53cd25c..70275203db68 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/policyExemptions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/policyExemptions.json @@ -498,7 +498,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "./common/v3/types.json#/definitions/ResourceSelector" + "$ref": "./types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [ "name" @@ -591,7 +591,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "./common/v3/types.json#/definitions/ResourceSelector" + "$ref": "./types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [], "description": "The resource selector list to filter policies by resource properties." diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/common/v3/types.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/types.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/common/v3/types.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/types.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/policyAssignments.json index 866e725793f1..42355cbe1668 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/policyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/policyAssignments.json @@ -794,7 +794,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "./common/v1/types.json#/definitions/ResourceSelector" + "$ref": "./types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [], "description": "The resource selector list to filter policies by resource properties." @@ -802,7 +802,7 @@ "overrides": { "type": "array", "items": { - "$ref": "./common/v1/types.json#/definitions/Override" + "$ref": "./types.json#/definitions/Override" }, "x-ms-identifiers": [], "description": "The policy property value override." @@ -971,7 +971,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "./common/v1/types.json#/definitions/ResourceSelector" + "$ref": "./types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [], "description": "The resource selector list to filter policies by resource properties." @@ -979,7 +979,7 @@ "overrides": { "type": "array", "items": { - "$ref": "./common/v1/types.json#/definitions/Override" + "$ref": "./types.json#/definitions/Override" }, "x-ms-identifiers": [], "description": "The policy property value override." diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/common/v1/types.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/types.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/common/v1/types.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/types.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policyAssignments.json index 8bbf48ead628..bb278d6281d6 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policyAssignments.json @@ -831,7 +831,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "./common/v1/types.json#/definitions/ResourceSelector" + "$ref": "./types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [], "description": "The resource selector list to filter policies by resource properties." @@ -839,7 +839,7 @@ "overrides": { "type": "array", "items": { - "$ref": "./common/v1/types.json#/definitions/Override" + "$ref": "./types.json#/definitions/Override" }, "x-ms-identifiers": [], "description": "The policy property value override." @@ -1008,7 +1008,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "./common/v1/types.json#/definitions/ResourceSelector" + "$ref": "./types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [], "description": "The resource selector list to filter policies by resource properties." @@ -1016,7 +1016,7 @@ "overrides": { "type": "array", "items": { - "$ref": "./common/v1/types.json#/definitions/Override" + "$ref": "./types.json#/definitions/Override" }, "x-ms-identifiers": [], "description": "The policy property value override." diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/common/v1/types.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/types.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/common/v1/types.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/types.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/policyAssignments.json index 48f686d8e92c..9b4787887b3b 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/policyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/policyAssignments.json @@ -831,7 +831,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "./common/v1/types.json#/definitions/ResourceSelector" + "$ref": "./types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [], "description": "The resource selector list to filter policies by resource properties." @@ -839,7 +839,7 @@ "overrides": { "type": "array", "items": { - "$ref": "./common/v1/types.json#/definitions/Override" + "$ref": "./types.json#/definitions/Override" }, "x-ms-identifiers": [], "description": "The policy property value override." @@ -1022,7 +1022,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "./common/v1/types.json#/definitions/ResourceSelector" + "$ref": "./types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [], "description": "The resource selector list to filter policies by resource properties." @@ -1030,7 +1030,7 @@ "overrides": { "type": "array", "items": { - "$ref": "./common/v1/types.json#/definitions/Override" + "$ref": "./types.json#/definitions/Override" }, "x-ms-identifiers": [], "description": "The policy property value override." diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/common/v1/types.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/types.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/common/v1/types.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/types.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policyAssignments.json index bb7f565dfd66..f66afe69a32f 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policyAssignments.json @@ -831,7 +831,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "./common/v2/types.json#/definitions/ResourceSelector" + "$ref": "./types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [], "description": "The resource selector list to filter policies by resource properties." @@ -839,7 +839,7 @@ "overrides": { "type": "array", "items": { - "$ref": "./common/v2/types.json#/definitions/Override" + "$ref": "./types.json#/definitions/Override" }, "x-ms-identifiers": [], "description": "The policy property value override." @@ -1021,7 +1021,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "./common/v2/types.json#/definitions/ResourceSelector" + "$ref": "./types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [], "description": "The resource selector list to filter policies by resource properties." @@ -1029,7 +1029,7 @@ "overrides": { "type": "array", "items": { - "$ref": "./common/v2/types.json#/definitions/Override" + "$ref": "./types.json#/definitions/Override" }, "x-ms-identifiers": [], "description": "The policy property value override." diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/common/v2/types.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/types.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/common/v2/types.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/types.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policyAssignments.json index 154f38a9dc54..b21aae4d63af 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policyAssignments.json @@ -836,7 +836,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "./common/v2/types.json#/definitions/ResourceSelector" + "$ref": "./types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [], "description": "The resource selector list to filter policies by resource properties." @@ -844,7 +844,7 @@ "overrides": { "type": "array", "items": { - "$ref": "./common/v2/types.json#/definitions/Override" + "$ref": "./types.json#/definitions/Override" }, "x-ms-identifiers": [], "description": "The policy property value override." @@ -1031,7 +1031,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "./common/v2/types.json#/definitions/ResourceSelector" + "$ref": "./types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [], "description": "The resource selector list to filter policies by resource properties." @@ -1039,7 +1039,7 @@ "overrides": { "type": "array", "items": { - "$ref": "./common/v2/types.json#/definitions/Override" + "$ref": "./types.json#/definitions/Override" }, "x-ms-identifiers": [], "description": "The policy property value override." diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/common/v2/types.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/types.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/common/v2/types.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/types.json diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policyAssignments.json index 7c0c551c6d2a..ff1433f2173f 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policyAssignments.json @@ -826,7 +826,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "./common/v2/types.json#/definitions/ResourceSelector" + "$ref": "./types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [], "description": "The resource selector list to filter policies by resource properties." @@ -834,7 +834,7 @@ "overrides": { "type": "array", "items": { - "$ref": "./common/v2/types.json#/definitions/Override" + "$ref": "./types.json#/definitions/Override" }, "x-ms-identifiers": [], "description": "The policy property value override." @@ -1021,7 +1021,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "./common/v2/types.json#/definitions/ResourceSelector" + "$ref": "./types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [], "description": "The resource selector list to filter policies by resource properties." @@ -1029,7 +1029,7 @@ "overrides": { "type": "array", "items": { - "$ref": "./common/v2/types.json#/definitions/Override" + "$ref": "./types.json#/definitions/Override" }, "x-ms-identifiers": [], "description": "The policy property value override." diff --git a/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/common/v2/types.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/types.json similarity index 100% rename from specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/common/v2/types.json rename to specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/types.json