diff --git a/specification/imagebuilder/resource-manager/readme.md b/specification/imagebuilder/resource-manager/readme.md index b24c4b9a2674..09350e9bb5b6 100644 --- a/specification/imagebuilder/resource-manager/readme.md +++ b/specification/imagebuilder/resource-manager/readme.md @@ -78,7 +78,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-powershell - - repo: azure-sdk-for-python + - repo: azure-sdk-for-python-track2 - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-js @@ -88,33 +88,7 @@ swagger-to-sdk: ## Python -These settings apply only when `--python` is specified on the command line. -Please also specify `--python-sdks-folder=`. -Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. - -``` yaml $(python) -python-mode: create -python: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - namespace: azure.mgmt.imagebuilder - package-name: azure-mgmt-imagebuilder - clear-output-folder: true - package-version: 0.3.0 -``` - -``` yaml $(python) && $(python-mode) == 'update' -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/compute/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder -``` - -``` yaml $(python) && $(python-mode) == 'create' -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/compute/azure-mgmt-imagebuilder -``` +See configuration in [readme.python.md](./readme.python.md) ## Go diff --git a/specification/imagebuilder/resource-manager/readme.python.md b/specification/imagebuilder/resource-manager/readme.python.md new file mode 100644 index 000000000000..7977e1077c57 --- /dev/null +++ b/specification/imagebuilder/resource-manager/readme.python.md @@ -0,0 +1,23 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. +Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. + +``` yaml $(python) && $(track2) +python-mode: create +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +namespace: azure.mgmt.imagebuilder +package-name: azure-mgmt-imagebuilder +clear-output-folder: true +package-version: 1.0.0b1 +``` +``` yaml $(python) && $(python-mode) == 'update' && $(track2) +no-namespace-folders: true +output-folder: $(python-sdks-folder)/compute/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder +``` +``` yaml $(python) && $(python-mode) == 'create' && $(track2) +basic-setup-py: true +output-folder: $(python-sdks-folder)/compute/azure-mgmt-imagebuilder +``` \ No newline at end of file