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..4e01a60681c7 --- /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: ManagementLockClient +description: ManagementLock 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 99% 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 index b555e5537eb6..44221f6034a7 100644 --- 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 @@ -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/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 98% 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..f8afd79d0c89 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 @@ -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." @@ -498,7 +498,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "../../common/v1/types.json#/definitions/ResourceSelector" + "$ref": "./types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [ "name" @@ -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, @@ -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/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/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/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 98% 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 index 108a2f7c5d34..8a31cc3e27c6 100644 --- 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 @@ -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/preview/2022-08-01-preview/policyVariables.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2022-08-01-preview/policyVariables.json similarity index 98% 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 index b884929df676..b7cd33132243 100644 --- 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 @@ -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/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 98% 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..70275203db68 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 @@ -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." @@ -498,7 +498,7 @@ "resourceSelectors": { "type": "array", "items": { - "$ref": "../../common/v3/types.json#/definitions/ResourceSelector" + "$ref": "./types.json#/definitions/ResourceSelector" }, "x-ms-identifiers": [ "name" @@ -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, @@ -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/preview/2024-12-01-preview/policyVariableValues.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/policyVariableValues.json similarity index 98% 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 index e6841a270d48..a19ad295c927 100644 --- 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 @@ -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/preview/2024-12-01-preview/policyVariables.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/preview/2024-12-01-preview/policyVariables.json similarity index 98% 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 index 3f6ab5307d8f..8b703aafbbb0 100644 --- 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 @@ -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/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/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/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/readme.java.md b/specification/resources/resource-manager/Microsoft.Authorization/policy/readme.java.md similarity index 60% rename from specification/resources/resource-manager/readme.java.md rename to specification/resources/resource-manager/Microsoft.Authorization/policy/readme.java.md index 6dedca1a0423..6c6549c7a847 100644 --- a/specification/resources/resource-manager/readme.java.md +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/readme.java.md @@ -41,20 +41,20 @@ directive: ``` 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 +- 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: -- 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 +- 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/sdk-suppressions.yaml b/specification/resources/resource-manager/Microsoft.Authorization/policy/sdk-suppressions.yaml similarity index 64% rename from specification/resources/resource-manager/sdk-suppressions.yaml rename to specification/resources/resource-manager/Microsoft.Authorization/policy/sdk-suppressions.yaml index 148ac5b05a8d..dfd118868fa1 100644 --- a/specification/resources/resource-manager/sdk-suppressions.yaml +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/sdk-suppressions.yaml @@ -1,28 +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 - - 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 @@ -90,13 +67,6 @@ suppressions: - 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 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 99% 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 index ef2f5065a841..c54b7cce1b91 100644 --- 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 @@ -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/stable/2019-09-01/policyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/policyDefinitions.json similarity index 99% 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 index 3f5f1c40958c..042182e607bf 100644 --- 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 @@ -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/stable/2019-09-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2019-09-01/policySetDefinitions.json similarity index 99% 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 index 5c20ef92626d..0d59be4f70aa 100644 --- 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 @@ -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/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 99% 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 index 1c4b211d5f4b..063e39279f16 100644 --- 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 @@ -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/stable/2020-03-01/policyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/policyDefinitions.json similarity index 99% 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 index b5f7d7b29737..c5665aa7b334 100644 --- 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 @@ -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/stable/2020-03-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-03-01/policySetDefinitions.json similarity index 99% 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 index 5676e0b5335a..9ab306365afb 100644 --- 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 @@ -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/stable/2020-09-01/dataPolicyManifests.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/dataPolicyManifests.json similarity index 97% 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 index f94f272dddf6..93505c5bacb3 100644 --- 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 @@ -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." @@ -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/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 99% 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 index f28ad9d62305..b6f18462606c 100644 --- 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 @@ -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/stable/2020-09-01/policyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/policyDefinitions.json similarity index 99% 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 index 82ee6aac911b..c7c8a7c0150d 100644 --- 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 @@ -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/stable/2020-09-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2020-09-01/policySetDefinitions.json similarity index 99% 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 index 4af4ba7facbd..d441b9fac9a7 100644 --- 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 @@ -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/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 99% 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 index ff98b017a8ae..2601bf04e886 100644 --- 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 @@ -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/stable/2021-06-01/policyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/policyDefinitions.json similarity index 99% 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 index a417b2c2b85f..88ee1650fa44 100644 --- 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 @@ -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/stable/2021-06-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2021-06-01/policySetDefinitions.json similarity index 99% 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 index b7d2325138c2..f260fff290fc 100644 --- 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 @@ -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/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 98% 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..42355cbe1668 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 @@ -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." @@ -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." @@ -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." } @@ -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/types.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/types.json new file mode 100644 index 000000000000..e76cc96fecd8 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2022-06-01/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 95% 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..bb278d6281d6 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 @@ -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." @@ -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." @@ -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." } @@ -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/stable/2023-04-01/policyDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policyDefinitionVersions.json similarity index 90% 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 index b5ba4e61e8fa..394546bee111 100644 --- 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 @@ -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/stable/2023-04-01/policyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policyDefinitions.json similarity index 93% 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 index 524ef1d83a07..e1ca1c1e1e66 100644 --- 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 @@ -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/stable/2023-04-01/policySetDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policySetDefinitionVersions.json similarity index 90% 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 index 9545fbfc3878..f3965987228a 100644 --- 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 @@ -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/stable/2023-04-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/policySetDefinitions.json similarity index 93% 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 index 7ab6c551eae0..d4fde8801b4b 100644 --- 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 @@ -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/2023-04-01/types.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/types.json new file mode 100644 index 000000000000..e76cc96fecd8 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2023-04-01/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 95% 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..9b4787887b3b 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 @@ -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." @@ -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." @@ -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." } @@ -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/types.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/types.json new file mode 100644 index 000000000000..e76cc96fecd8 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-04-01/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-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 95% 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..f66afe69a32f 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 @@ -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." @@ -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." @@ -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." } @@ -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/stable/2024-05-01/policyDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policyDefinitionVersions.json similarity index 90% 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 index 7e7b13bf8946..c3685599c37d 100644 --- 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 @@ -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/stable/2024-05-01/policyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policyDefinitions.json similarity index 93% 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 index de1fccede861..5ed589555515 100644 --- 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 @@ -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/stable/2024-05-01/policySetDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policySetDefinitionVersions.json similarity index 90% 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 index 890f2d155ffe..37585c282f35 100644 --- 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 @@ -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/stable/2024-05-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2024-05-01/policySetDefinitions.json similarity index 93% 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 index f98b853dfc90..8ea86a0eea7e 100644 --- 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 @@ -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/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/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/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 95% 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..b21aae4d63af 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 @@ -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." @@ -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." @@ -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." } @@ -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/stable/2025-01-01/policyDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policyDefinitionVersions.json similarity index 90% 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 index 565ccaf296cb..1000d8c45645 100644 --- 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 @@ -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/stable/2025-01-01/policyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policyDefinitions.json similarity index 93% 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 index 357000978496..9b97db6b3baa 100644 --- 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 @@ -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/stable/2025-01-01/policySetDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policySetDefinitionVersions.json similarity index 90% 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 index 0213709877e9..7ca3d29c6204 100644 --- 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 @@ -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/stable/2025-01-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/policySetDefinitions.json similarity index 93% 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 index cb6aee16d2f0..c2c1866f0cd0 100644 --- 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 @@ -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/types.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/types.json new file mode 100644 index 000000000000..39b87c744fac --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-01-01/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 93% 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..ff1433f2173f 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 @@ -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" } } } @@ -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." @@ -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." } @@ -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/stable/2025-03-01/policyDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policyDefinitionVersions.json similarity index 86% 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 index cc93f5ffa4e6..e2bcba95637c 100644 --- 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 @@ -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/stable/2025-03-01/policyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policyDefinitions.json similarity index 90% 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 index 3b5a3c8f4026..127c59b993e5 100644 --- 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 @@ -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/stable/2025-03-01/policySetDefinitionVersions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policySetDefinitionVersions.json similarity index 86% 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 index d95878667293..a9e218c49c43 100644 --- 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 @@ -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/stable/2025-03-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policySetDefinitions.json similarity index 90% 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 index fe8dafde6444..f0085a8d1828 100644 --- 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 @@ -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/stable/2025-03-01/policyTokens.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/policyTokens.json similarity index 94% 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 index 7e16523c1f0a..14c2a9922bd4 100644 --- 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 @@ -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.Authorization/policy/stable/2025-03-01/types.json b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/types.json new file mode 100644 index 000000000000..39b87c744fac --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/policy/stable/2025-03-01/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/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..1b8676667660 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.md @@ -0,0 +1,77 @@ +# 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: ResourcePrivateLinkClient +description: ResourcePrivateLink 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-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.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..bae276cb8f72 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Features/features/readme.md @@ -0,0 +1,97 @@ +# 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: FeatureClient +description: Feature Client +openapi-type: arm +tag: package-features-2021-07 +``` + +### 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: +- stable/2021-07-01/features.json +- 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: +- stable/2015-12-01/features.json +``` + +## Suppression + +``` yaml +directive: + - from: SubscriptionFeatureRegistration.json + suppress: R4009 + reason: Currently systemData is not allowed +``` + +--- + +# 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..f97137c2f07e --- /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 +``` 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..f471b09deafe --- /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 +``` 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..e9a1e1cc9e65 --- /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 +``` 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..ccd67a4a33e8 --- /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" +``` 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..4bdf2db7fc7f --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Features/features/suppressions.yaml @@ -0,0 +1,6 @@ +- tool: TypeSpecRequirement + path: ./stable/2015-12-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2021-07-01/*.json + reason: Brownfield service not ready to migrate \ No newline at end of file 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/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 97% 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 index 20678de24c22..168c349bcdeb 100644 --- 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 @@ -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/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 97% 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 index f7e2c4ea3fa7..c91ca9f077da 100644 --- 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 @@ -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/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 97% 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 index 7c83d3a7f265..26dcd3a41043 100644 --- 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 @@ -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/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 91% 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 index 8dbba209106e..be012724c6fb 100644 --- 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 @@ -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/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/Microsoft.Resources/changes/readme.go.md b/specification/resources/resource-manager/Microsoft.Resources/changes/readme.go.md new file mode 100644 index 000000000000..5cb72f3555bb --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/changes/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-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 +``` 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..45185b868b92 --- /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-changes-2024-06-01-preview +``` + +### 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: +- 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: +- 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: +- 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: +- 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: +- 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/Microsoft.Resources/changes/readme.python.md b/specification/resources/resource-manager/Microsoft.Resources/changes/readme.python.md new file mode 100644 index 000000000000..d56d11ae72ec --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/changes/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-changes-2022-05 +``` + +### 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 +``` diff --git a/specification/resources/resource-manager/Microsoft.Resources/changes/readme.typescript.md b/specification/resources/resource-manager/Microsoft.Resources/changes/readme.typescript.md new file mode 100644 index 000000000000..8dfd74807806 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/changes/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-changes: true +``` + +```yaml $(typescript) && $(package-changes) && !$(profile-content) +typescript: + package-name: "@azure/arm-changes" + output-folder: "$(typescript-sdks-folder)/sdk/changes/arm-changes" +``` 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 97% 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 index 82bc5c61bba7..73b1e3a2974d 100644 --- 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 @@ -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/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/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 new file mode 100644 index 000000000000..6136e05e3694 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/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-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.md b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.md new file mode 100644 index 000000000000..6812e488adfd --- /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: DataBoundaryMgmtClient +description: DataBoundaryMgmt Client +openapi-type: arm +tag: package-databoundaries-2024-08 +``` + +### 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: + - 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.python.md b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.python.md new file mode 100644 index 000000000000..da96e4a42017 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.python.md @@ -0,0 +1,36 @@ +## 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-databoundaries-2024-08 +``` + +### 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.typescript.md b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.typescript.md new file mode 100644 index 000000000000..2fbd6b49a0a1 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.typescript.md @@ -0,0 +1,20 @@ +## 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-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" +``` 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 84% 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 index d5a5c94d5a54..5d87b68c6659 100644 --- 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 @@ -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/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/databoundaries/suppressions.yaml b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/suppressions.yaml new file mode 100644 index 000000000000..f41953a475c0 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/databoundaries/suppressions.yaml @@ -0,0 +1,3 @@ +- tool: TypeSpecRequirement + 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/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/Microsoft.Resources/deploymentStacks/sdk-suppressions.yaml b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/sdk-suppressions.yaml new file mode 100644 index 000000000000..d8fa844f29ea --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/sdk-suppressions.yaml @@ -0,0 +1,12 @@ +suppressions: + azure-sdk-for-go: + - 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" \ 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..0d6e14a7aed3 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/links/readme.go.md @@ -0,0 +1,12 @@ +## 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 +``` \ 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 new file mode 100644 index 000000000000..f2733d64eb07 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/links/readme.md @@ -0,0 +1,66 @@ +# 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: ManagementLinkClient +description: ManagementLink Client +openapi-type: arm +tag: package-links-2016-09 +``` + +### 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: +- 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/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/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.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..9fa945b013a8 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/resources/readme.md @@ -0,0 +1,520 @@ +# 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: ResourceManagementClient +description: ResourceManagement 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: + - 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: + - 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: + - 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: + - 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: + - 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: + - 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: +- 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: +- 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: +- 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: + - 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: + - 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: +- 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: +- 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: +- 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: +- 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: +- 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: +- 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: +- 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: +- 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: +- 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: +- 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: +- 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: +- 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: +- 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: +- 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: 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: 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: stable/2016-02-01/resources.json + reason: Pre-existing lint error. + - suppress: OperationsAPIImplementation + from: stable/2016-07-01/resources.json + reason: Pre-existing lint error. + - suppress: OperationsAPIImplementation + from: stable/2016-09-01/resources.json + reason: Pre-existing lint error. + - suppress: OperationsAPIImplementation + from: stable/2017-05-10/resources.json + reason: Pre-existing lint error. + - suppress: OperationsAPIImplementation + from: 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..a044a1639128 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/resources/sdk-suppressions.yaml @@ -0,0 +1,23 @@ +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 + 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 }" 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 99% 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 index 501c1bffb5eb..41b5c6732f06 100644 --- 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 @@ -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/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 99% 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 index 4af9bfea8be0..e0213c26c0ee 100644 --- 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 @@ -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/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 99% 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 index 3b5a73fa32a7..21eda10d80e6 100644 --- 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 @@ -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/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 99% 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 index dd5f843a1ace..10e8be95d97c 100644 --- 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 @@ -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/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 99% 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 index 1b0f5095a41b..b2c1a8128907 100644 --- 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 @@ -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/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 99% 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 index c3114ed14fcf..2cf1fd41e053 100644 --- 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 @@ -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/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/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/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/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 99% 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 index ecc384275f82..36688255674f 100644 --- 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 @@ -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/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 99% 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 index af036da133a6..0340d12e1e81 100644 --- 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 @@ -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/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 99% 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 index fd1b8df40b33..0ecaa8ef0dac 100644 --- 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 @@ -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/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 99% 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 index 43ab8fb20826..a6bd8d36139f 100644 --- 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 @@ -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/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 99% 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 index 3c297423061c..90ed03ea4ade 100644 --- 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 @@ -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/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 99% 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 index d23bfbae36d3..da3a12610ff3 100644 --- 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 @@ -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/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 99% 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 index fb7fb85032e3..745183e0a324 100644 --- 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 @@ -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/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 99% 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 index 2ba371469afc..b706b2c39a73 100644 --- 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 @@ -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/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 99% 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 index f5af640dd43a..31de4bda45dd 100644 --- 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 @@ -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/suppressions.yaml b/specification/resources/resource-manager/Microsoft.Resources/resources/suppressions.yaml new file mode 100644 index 000000000000..e6dc28f0d20a --- /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-01/*.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/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 85% 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 index 678eb0c7ab00..97348e0bfece 100644 --- 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 @@ -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.md b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.md new file mode 100644 index 000000000000..f178776bcd3d --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/snapshots/readme.md @@ -0,0 +1,69 @@ +# 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-snapshots-2022-11 +``` + +### 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: +- 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-java + - repo: azure-sdk-for-js + - repo: azure-powershell +``` \ No newline at end of file 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 new file mode 100644 index 000000000000..d9887f17563d --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.go.md @@ -0,0 +1,23 @@ +## 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-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 +``` 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..f6b8774f939c --- /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: SubscriptionClient +description: Subscription Client +openapi-type: arm +tag: package-2022-12 +``` + +### 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: + - 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: +- 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: +- 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: + - 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: +- 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: +- 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: +- 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: +- 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: +- 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..7fa94574b423 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/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-subscriptions: true +``` + +```yaml $(nodejs) && $(package-subscriptions) +nodejs: + source-code-folder-path: lib/subscription +``` 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..09501444af69 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/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-subscriptions-2022-12 +``` + +### 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 +``` 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..9194b7aa912e --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.ruby.md @@ -0,0 +1,52 @@ +### 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 +``` 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..02702645b00f --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/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-subscriptions: true +``` + +```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 $(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-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/2015-11-01/examples/CheckResourceName.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/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/subscriptions/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/subscriptions/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/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 99% 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 index 1f3094b145cd..f6d9c43bd14e 100644 --- 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 @@ -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/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/2016-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/2016-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 99% 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 index c0ba048d5acc..8410ca77d831 100644 --- 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 @@ -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/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/2018-06-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/2018-06-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 99% 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 index 5cbdd75644e1..973416a86e3c 100644 --- 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 @@ -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/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/2019-06-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/2019-06-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 99% 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 index 71749ca1875d..f6b6d9962022 100644 --- 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 @@ -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/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/2019-11-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/2019-11-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 99% 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 index 7e7384488908..afe3b8d3e2e7 100644 --- 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 @@ -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/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/stable/2020-01-01/examples/PostCheckZonePeers.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2020-01-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/2020-01-01/examples/PostCheckZonePeers.json 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 99% 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 index 5871101787dc..15bb2ec573fa 100644 --- 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 @@ -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/stable/2021-01-01/examples/CheckResourceName.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/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/subscriptions/stable/2021-01-01/examples/CheckResourceName.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/GetLocations.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/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/subscriptions/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/subscriptions/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/subscriptions/stable/2021-01-01/examples/GetLocationsWithExtendedLocations.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/GetSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/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/subscriptions/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/subscriptions/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/subscriptions/stable/2021-01-01/examples/GetSubscriptions.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples/GetTenants.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/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/subscriptions/stable/2021-01-01/examples/GetTenants.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/2021-01-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/2021-01-01/examples/PostCheckZonePeers.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/subscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/subscriptions.json similarity index 99% rename from specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/subscriptions.json rename to specification/resources/resource-manager/Microsoft.Resources/subscriptions/stable/2021-01-01/subscriptions.json index 3e83a8bd8f27..1cb2b3d0ac67 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/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/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 95% 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 index 240bc12d9583..63b9ddf007d0 100644 --- 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 @@ -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/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/preview/2020-08-21-preview/managedapplications.json similarity index 99% rename from specification/resources/resource-manager/Microsoft.Solutions/preview/2020-08-21-preview/managedapplications.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2020-08-21-preview/managedapplications.json index c076ddc41af3..a0be56b0ba31 100644 --- a/specification/resources/resource-manager/Microsoft.Solutions/preview/2020-08-21-preview/managedapplications.json +++ b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/preview/2020-08-21-preview/managedapplications.json @@ -2079,7 +2079,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": "Error response indicates managed application is not able to process the incoming request. The reason is provided in the error message." diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/readme.go.md b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/readme.go.md new file mode 100644 index 000000000000..2c4fee66d985 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/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/managedapplications/readme.md b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/readme.md new file mode 100644 index 000000000000..b15a32dc86f6 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/readme.md @@ -0,0 +1,132 @@ +# 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: ApplicationClient +description: Application 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: + - 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: +- 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: +- 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: +- 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: +- 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/managedapplications/readme.nodejs.md b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/readme.nodejs.md new file mode 100644 index 000000000000..ea4572fae198 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/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/managedapplications/readme.python.md b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/readme.python.md new file mode 100644 index 000000000000..51a71d3763af --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/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/managedapplications/readme.ruby.md b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/readme.ruby.md new file mode 100644 index 000000000000..7d172c6edb0b --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/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/readme.terraform.md b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/readme.terraform.md similarity index 63% rename from specification/resources/resource-manager/readme.terraform.md rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/readme.terraform.md index e6576921e7b6..7e5b6a62bf1e 100644 --- a/specification/resources/resource-manager/readme.terraform.md +++ b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/readme.terraform.md @@ -12,27 +12,9 @@ output-folder: $(terraform-output-folder)/features ``` --> ``` 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 diff --git a/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/readme.typescript.md b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/readme.typescript.md new file mode 100644 index 000000000000..71f3de89a30d --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/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/managedapplications/stable/2019-07-01/managedapplications.json similarity index 96% rename from specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/managedapplications.json rename to specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2019-07-01/managedapplications.json index b0a8ddd1c017..57993318cf36 100644 --- a/specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/managedapplications.json +++ b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/stable/2019-07-01/managedapplications.json @@ -55,7 +55,7 @@ "200": { "description": "OK. The request has succeeded.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/OperationListResult" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/OperationListResult" } } }, @@ -113,7 +113,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" } } } @@ -161,7 +161,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" } } }, @@ -230,7 +230,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" } } }, @@ -295,7 +295,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" } } } @@ -350,7 +350,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" } } } @@ -401,7 +401,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" } } }, @@ -470,7 +470,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" } } }, @@ -517,7 +517,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" } } }, @@ -566,7 +566,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" } } }, @@ -600,7 +600,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" } } }, @@ -639,7 +639,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" } } } @@ -673,7 +673,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" } } }, @@ -723,7 +723,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" } } }, @@ -766,7 +766,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" } } } @@ -814,7 +814,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" } } } @@ -875,7 +875,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" } } }, @@ -931,7 +931,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" } } } @@ -977,7 +977,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" } } } @@ -1008,7 +1008,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" } } } @@ -1049,7 +1049,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" } } } @@ -1096,7 +1096,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" } } }, @@ -1154,7 +1154,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" } } } @@ -1210,7 +1210,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" } } }, @@ -1279,7 +1279,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.Solutions/managedapplications/suppressions.yaml b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/suppressions.yaml new file mode 100644 index 000000000000..0e2fb04fc541 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Solutions/managedapplications/suppressions.yaml @@ -0,0 +1,15 @@ +- tool: TypeSpecRequirement + path: ./preview/2016-09-01-preview/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./preview/2020-08-21-preview/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./stable/2017-09-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-07-01/*.json + reason: Brownfield service not ready to migrate \ No newline at end of file diff --git a/specification/resources/resource-manager/readme.go.md b/specification/resources/resource-manager/readme.go.md deleted file mode 100644 index e439424a6139..000000000000 --- a/specification/resources/resource-manager/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/readme.md b/specification/resources/resource-manager/readme.md deleted file mode 100644 index bae627943ae5..000000000000 --- a/specification/resources/resource-manager/readme.md +++ /dev/null @@ -1,1561 +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: 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: 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. -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 - -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 - -## 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) - -# 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/resources/resource-manager/readme.nodejs.md b/specification/resources/resource-manager/readme.nodejs.md deleted file mode 100644 index 1787b7880294..000000000000 --- a/specification/resources/resource-manager/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/readme.python.md b/specification/resources/resource-manager/readme.python.md deleted file mode 100644 index 9ecd5cfb7b4b..000000000000 --- a/specification/resources/resource-manager/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/readme.ruby.md b/specification/resources/resource-manager/readme.ruby.md deleted file mode 100644 index 70c149ebcbba..000000000000 --- a/specification/resources/resource-manager/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/readme.typescript.md b/specification/resources/resource-manager/readme.typescript.md deleted file mode 100644 index 646080c41e8e..000000000000 --- a/specification/resources/resource-manager/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/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