diff --git a/specification/resources/resource-manager/readme.md b/specification/resources/resource-manager/readme.md index 38ae8f85895b..ca8c4cff698a 100644 --- a/specification/resources/resource-manager/readme.md +++ b/specification/resources/resource-manager/readme.md @@ -90,6 +90,47 @@ These settings apply only when `--tag=package-2022-12` is specified on the comma 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. @@ -164,6 +205,21 @@ 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. @@ -208,6 +264,22 @@ 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. @@ -320,6 +392,19 @@ 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. @@ -424,6 +509,20 @@ 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-templatespecs-2022-02 These settings apply only when `--tag=package-templatespecs-2022-02` is specified on the command line. diff --git a/specification/resources/resource-manager/readme.python.md b/specification/resources/resource-manager/readme.python.md index a30f4c743857..d0d5d50999b4 100644 --- a/specification/resources/resource-manager/readme.python.md +++ b/specification/resources/resource-manager/readme.python.md @@ -34,15 +34,18 @@ batch: - multiapiscript-locks: true - tag: package-managedapplications-2019-07 - multiapiscript-managedapplications: true - - tag: package-policy-2022-06 - - tag: package-policy-2021-06 - - tag: package-policy-2020-09 + - tag: package-policy-2022-08-preview-only + - tag: package-policy-2022-07-preview-only + - tag: package-policy-2022-06-only + - tag: package-policy-2021-06-only + - tag: package-policy-2020-09-only + - tag: package-policy-2020-07-preview-only - tag: package-policy-2019-09 - tag: package-policy-2019-06 - tag: package-policy-2019-01 - tag: package-policy-2018-05 - tag: package-policy-2018-03 - - tag: package-policy-2017-06 + - tag: package-policy-2017-06-preview-only - tag: package-policy-2016-12 - tag: package-policy-2016-04 - tag: package-policy-2015-10 @@ -250,36 +253,66 @@ namespace: azure.mgmt.resource.managedapplications.v2019_07_01 output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/managedapplications/v2019_07_01 ``` -### Tag: package-policy-2022-06 and python +### Tag: package-policy-2022-08-preview-only and python -These settings apply only when `--tag=package-policy-2022-06 --python` is specified on the command line. +These settings apply only when `--tag=package-policy-2022-08-preview-only --python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(tag) == 'package-policy-2022-06' +``` yaml $(tag) == 'package-policy-2022-08-preview-only' +namespace: azure.mgmt.resource.policy.v2022_08_01_preview +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/policy/v2022_08_01_preview +``` + +### Tag: package-policy-2022-07-preview-only and python + +These settings apply only when `--tag=package-policy-2022-07-preview-only --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-policy-2022-07-preview-only' +namespace: azure.mgmt.resource.policy.v2022_07_01_preview +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/policy/v2022_07_01_preview +``` + +### Tag: package-policy-2022-06-only and python + +These settings apply only when `--tag=package-policy-2022-06-only --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-policy-2022-06-only' namespace: azure.mgmt.resource.policy.v2022_06_01 output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/policy/v2022_06_01 ``` -### Tag: package-policy-2021-06 and python +### Tag: package-policy-2021-06-only and python -These settings apply only when `--tag=package-policy-2021-06 --python` is specified on the command line. +These settings apply only when `--tag=package-policy-2021-06-only --python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(tag) == 'package-policy-2021-06' +``` yaml $(tag) == 'package-policy-2021-06-only' namespace: azure.mgmt.resource.policy.v2021_06_01 output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/policy/v2021_06_01 ``` -### Tag: package-policy-2020-09 and python +### Tag: package-policy-2020-09-only and python -These settings apply only when `--tag=package-policy-2020-09 --python` is specified on the command line. +These settings apply only when `--tag=package-policy-2020-09-only --python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(tag) == 'package-policy-2020-09' +``` yaml $(tag) == 'package-policy-2020-09-only' namespace: azure.mgmt.resource.policy.v2020_09_01 output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/policy/v2020_09_01 ``` +### Tag: package-policy-2020-07-preview-only and python + +These settings apply only when `--tag=package-policy-2020-07-preview-only --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-policy-2020-07-preview-only' +namespace: azure.mgmt.resource.policy.v2020_07_01_preview +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/policy/v2020_07_01_preview +``` + ### Tag: package-policy-2019-09 and python These settings apply only when `--tag=package-policy-2019-09 --python` is specified on the command line. @@ -330,12 +363,12 @@ namespace: azure.mgmt.resource.policy.v2018_03_01 output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/policy/v2018_03_01 ``` -### Tag: package-policy-2017-06 and python +### Tag: package-policy-2017-06-preview-only and python -These settings apply only when `--tag=package-policy-2017-06 --python` is specified on the command line. +These settings apply only when `--tag=package-policy-2017-06-preview-only --python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(tag) == 'package-policy-2017-06' +``` yaml $(tag) == 'package-policy-2017-06-preview-only' namespace: azure.mgmt.resource.policy.v2017_06_01_preview output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/policy/v2017_06_01_preview ```