From 0dc28b785f4b73a324f23a550e5a35311682b424 Mon Sep 17 00:00:00 2001 From: zhenbiao wei <424401670@qq.com> Date: Fri, 25 Mar 2022 17:06:14 +0800 Subject: [PATCH] update readme (#18390) * update readme * update readme * Update readme.python.md * Update readme.python.md * Update readme.python.md * Update readme.python.md --- .../resource-manager/readme.md | 2 +- .../resource-manager/readme.python.md | 28 +++++++----------- .../resource-manager/readme.python.md | 10 +++---- .../vi/resource-manager/readme.python.md | 11 ++----- .../windowsiot/resource-manager/readme.md | 2 +- .../resource-manager/readme.python.md | 29 ++++++------------- 6 files changed, 28 insertions(+), 54 deletions(-) diff --git a/specification/securityandcompliance/resource-manager/readme.md b/specification/securityandcompliance/resource-manager/readme.md index 7bb8b11db588..f5ccaba1b76e 100644 --- a/specification/securityandcompliance/resource-manager/readme.md +++ b/specification/securityandcompliance/resource-manager/readme.md @@ -75,7 +75,7 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node - - repo: azure-sdk-for-python + - repo: azure-sdk-for-python-track2 - repo: azure-resource-manager-schemas ``` diff --git a/specification/securityandcompliance/resource-manager/readme.python.md b/specification/securityandcompliance/resource-manager/readme.python.md index 316b58db6c3d..fe913bd36887 100644 --- a/specification/securityandcompliance/resource-manager/readme.python.md +++ b/specification/securityandcompliance/resource-manager/readme.python.md @@ -5,23 +5,15 @@ Please also specify `--python-sdks-folder=`. -```yaml $(python) && $(track2) +```yaml $(python) azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION package-name: azure-mgmt-videoindexer clear-output-folder: true -no-namespace-folders: true +namespace: azure.mgmt.videoindexer package-version: 1.0.0b1 ``` -```yaml $(python) && $(python-mode) == 'update' && $(track2) +```yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/videoindexer/azure-mgmt-videoindexer/azure/mgmt/videoindexer ``` - -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/videoindexer/azure-mgmt-videoindexer -``` diff --git a/specification/windowsiot/resource-manager/readme.md b/specification/windowsiot/resource-manager/readme.md index 312cb4936338..067bb897d43d 100644 --- a/specification/windowsiot/resource-manager/readme.md +++ b/specification/windowsiot/resource-manager/readme.md @@ -59,7 +59,7 @@ This is not used by Autorest itself. swagger-to-sdk: - repo: azure-powershell - repo: azure-sdk-for-net - - 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-go-track2 diff --git a/specification/windowsiot/resource-manager/readme.python.md b/specification/windowsiot/resource-manager/readme.python.md index 534f3b35f6c0..6e0a2c79e4d3 100644 --- a/specification/windowsiot/resource-manager/readme.python.md +++ b/specification/windowsiot/resource-manager/readme.python.md @@ -2,28 +2,17 @@ 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.windowsiot - package-name: azure-mgmt-windowsiot - package-version: 0.1.0 - clear-output-folder: true +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +namespace: azure.mgmt.windowsiot +package-name: azure-mgmt-windowsiot +package-version: 0.1.0 +clear-output-folder: true ``` -``` yaml $(python) && $(python-mode) == 'update' -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/azure-mgmt-windowsiot/azure/mgmt/windowsiot -``` - -``` yaml $(python) && $(python-mode) == 'create' -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/azure-mgmt-windowsiot +``` yaml $(python) +no-namespace-folders: true +output-folder: $(python-sdks-folder)/windowsiot/azure-mgmt-windowsiot/azure/mgmt/windowsiot ```