diff --git a/specification/containerregistry/resource-manager/readme.python.md b/specification/containerregistry/resource-manager/readme.python.md index a1707e78519e..6b491d077243 100644 --- a/specification/containerregistry/resource-manager/readme.python.md +++ b/specification/containerregistry/resource-manager/readme.python.md @@ -2,7 +2,7 @@ These settings apply only when `--python` is specified on the command line. -```yaml $(python) +```yaml $(python) && !$(track2) python: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION @@ -12,11 +12,32 @@ python: no-namespace-folders: true ``` +```yaml $(python) && $(track2) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +package-name: azure-mgmt-containerregistry +clear-output-folder: true +no-namespace-folders: true +``` + ### Python multi-api Generate all API versions currently shipped for this package -```yaml $(python) && $(multiapi) +```yaml $(python) && $(multiapi) && !$(track2) +batch: + - tag: package-2019-12-preview + - tag: package-2019-06-preview + - tag: package-2019-05 + - tag: package-2019-05-preview + - tag: package-2019-04 + - tag: package-2018-09 + - tag: package-2018-02-preview + - tag: package-2017-10 + - tag: package-2017-03 +``` + +```yaml $(python) && $(multiapi) && $(track2) batch: - tag: package-2019-12-preview - tag: package-2019-06-preview @@ -27,6 +48,12 @@ batch: - tag: package-2018-02-preview - tag: package-2017-10 - tag: package-2017-03 + - multiapiscript: true +``` + +```yaml $(python) && $(multiapiscript) +output-folder: $(python-sdks-folder)/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/ +perform-load: false ``` ### Tag: package-2019-12-preview and python @@ -35,6 +62,8 @@ These settings apply only when `--tag=package-2019-12-preview --python` is speci Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2019-12-preview' && $(python) +namespace: azure.mgmt.containerregistry.v2019_12_01_preview +output-folder: $(python-sdks-folder)/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview python: namespace: azure.mgmt.containerregistry.v2019_12_01_preview output-folder: $(python-sdks-folder)/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview @@ -46,6 +75,8 @@ These settings apply only when `--tag=package-2019-06-preview --python` is speci Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2019-06-preview' && $(python) +namespace: azure.mgmt.containerregistry.v2019_06_01_preview +output-folder: $(python-sdks-folder)/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview python: namespace: azure.mgmt.containerregistry.v2019_06_01_preview output-folder: $(python-sdks-folder)/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview @@ -57,6 +88,8 @@ These settings apply only when `--tag=package-2019-05 --python` is specified on Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2019-05' && $(python) +namespace: azure.mgmt.containerregistry.v2019_05_01 +output-folder: $(python-sdks-folder)/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_05_01 python: namespace: azure.mgmt.containerregistry.v2019_05_01 output-folder: $(python-sdks-folder)/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_05_01 @@ -68,6 +101,8 @@ These settings apply only when `--tag=package-2019-05-preview --python` is speci Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2019-05-preview' && $(python) +namespace: azure.mgmt.containerregistry.v2019_05_01_preview +output-folder: $(python-sdks-folder)/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_05_01_preview python: namespace: azure.mgmt.containerregistry.v2019_05_01_preview output-folder: $(python-sdks-folder)/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_05_01_preview @@ -79,6 +114,8 @@ These settings apply only when `--tag=package-2019-04 --python` is specified on Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2019-04' && $(python) +namespace: azure.mgmt.containerregistry.v2019_04_01 +output-folder: $(python-sdks-folder)/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_04_01 python: namespace: azure.mgmt.containerregistry.v2019_04_01 output-folder: $(python-sdks-folder)/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_04_01 @@ -90,6 +127,8 @@ These settings apply only when `--tag=package-2018-09 --python` is specified on Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2018-09' && $(python) +namespace: azure.mgmt.containerregistry.v2018_09_01 +output-folder: $(python-sdks-folder)/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01 python: namespace: azure.mgmt.containerregistry.v2018_09_01 output-folder: $(python-sdks-folder)/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01 @@ -101,6 +140,8 @@ These settings apply only when `--tag=package-2018-02-preview --python` is speci Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2018-02-preview' && $(python) +namespace: azure.mgmt.containerregistry.v2018_02_01_preview +output-folder: $(python-sdks-folder)/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_02_01_preview python: namespace: azure.mgmt.containerregistry.v2018_02_01_preview output-folder: $(python-sdks-folder)/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_02_01_preview @@ -112,6 +153,8 @@ These settings apply only when `--tag=package-2017-10 --python` is specified on Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2017-10' && $(python) +namespace: azure.mgmt.containerregistry.v2017_10_01 +output-folder: $(python-sdks-folder)/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2017_10_01 python: namespace: azure.mgmt.containerregistry.v2017_10_01 output-folder: $(python-sdks-folder)/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2017_10_01 @@ -123,6 +166,8 @@ These settings apply only when `--tag=package-2017-03 --python` is specified on Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2017-03' && $(python) +namespace: azure.mgmt.containerregistry.v2017_03_01 +output-folder: $(python-sdks-folder)/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2017_03_01 python: namespace: azure.mgmt.containerregistry.v2017_03_01 output-folder: $(python-sdks-folder)/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2017_03_01