From 2beaee824a47cc837eaf3f394969e845bccd1de0 Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Wed, 22 May 2019 11:37:53 -0700 Subject: [PATCH] ACI new Py path --- .../resource-manager/readme.md | 29 ------------------- .../resource-manager/readme.python.md | 27 +++++++++++++++++ 2 files changed, 27 insertions(+), 29 deletions(-) create mode 100644 specification/containerinstance/resource-manager/readme.python.md diff --git a/specification/containerinstance/resource-manager/readme.md b/specification/containerinstance/resource-manager/readme.md index 62f70ee7c491..e380f746e0c7 100644 --- a/specification/containerinstance/resource-manager/readme.md +++ b/specification/containerinstance/resource-manager/readme.md @@ -149,35 +149,6 @@ csharp: clear-output-folder: true ``` - -## 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.containerinstance - package-name: azure-mgmt-containerinstance - package-version: 1.0.0 - clear-output-folder: true -``` -``` yaml $(python) && $(python-mode) == 'update' -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/azure-mgmt-containerinstance/azure/mgmt/containerinstance -``` -``` yaml $(python) && $(python-mode) == 'create' -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/azure-mgmt-containerinstance -``` - ## Go See configuration in [readme.go.md](./readme.go.md) diff --git a/specification/containerinstance/resource-manager/readme.python.md b/specification/containerinstance/resource-manager/readme.python.md new file mode 100644 index 000000000000..8ce72939d75a --- /dev/null +++ b/specification/containerinstance/resource-manager/readme.python.md @@ -0,0 +1,27 @@ +## 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.containerinstance + package-name: azure-mgmt-containerinstance + package-version: 1.0.0 + clear-output-folder: true +``` +``` yaml $(python) && $(python-mode) == 'update' +python: + no-namespace-folders: true + output-folder: $(python-sdks-folder)/containerinstance/azure-mgmt-containerinstance/azure/mgmt/containerinstance +``` +``` yaml $(python) && $(python-mode) == 'create' +python: + basic-setup-py: true + output-folder: $(python-sdks-folder)/containerinstance/azure-mgmt-containerinstance +```