From 2fe3e5e8b699145c0296754b789e9885d280a9c0 Mon Sep 17 00:00:00 2001 From: zhenbiao wei <424401670@qq.com> Date: Wed, 16 Mar 2022 15:06:20 +0800 Subject: [PATCH] update readme (#18257) --- .../resource-manager/readme.python.md | 11 ++----- .../resource-manager/readme.python.md | 11 ++----- .../resource-manager/readme.python.md | 31 ++----------------- .../resource-manager/readme.python.md | 11 ++----- .../resource-manager/readme.python.md | 11 ++----- 5 files changed, 14 insertions(+), 61 deletions(-) diff --git a/specification/apimanagement/resource-manager/readme.python.md b/specification/apimanagement/resource-manager/readme.python.md index 0f12adb0e77d..d454c9fec2f2 100644 --- a/specification/apimanagement/resource-manager/readme.python.md +++ b/specification/apimanagement/resource-manager/readme.python.md @@ -3,21 +3,16 @@ These settings apply only when `--python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(track2) +``` yaml $(python) azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION package-name: azure-mgmt-apimanagement -no-namespace-folders: true +namespace: azure.mgmt.apimanagement package-version: 1.0.0b1 clear-output-folder: true ``` -``` yaml $(python-mode) == 'update' && $(track2) +``` yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement ``` - -``` yaml $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/apimanagement/azure-mgmt-apimanagement -``` diff --git a/specification/confidentialledger/resource-manager/readme.python.md b/specification/confidentialledger/resource-manager/readme.python.md index aef6ed5ec919..e13420686bf3 100644 --- a/specification/confidentialledger/resource-manager/readme.python.md +++ b/specification/confidentialledger/resource-manager/readme.python.md @@ -3,21 +3,16 @@ These settings apply only when `--python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(track2) +``` yaml $(python) azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION package-name: azure-mgmt-confidentialledger -no-namespace-folders: true +namespace: azure.mgmt.confidentialledger package-version: 1.0.0b1 clear-output-folder: true ``` -``` yaml $(python-mode) == 'update' && $(track2) +``` yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/confidentialledger/azure-mgmt-confidentialledger/azure/mgmt/confidentialledger ``` - -``` yaml $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/confidentialledger/azure-mgmt-confidentialledger -``` diff --git a/specification/datafactory/resource-manager/readme.python.md b/specification/datafactory/resource-manager/readme.python.md index 739e19038f83..5d93f55070c6 100644 --- a/specification/datafactory/resource-manager/readme.python.md +++ b/specification/datafactory/resource-manager/readme.python.md @@ -4,8 +4,7 @@ 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 +``` yaml $(python) azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: azure.mgmt.datafactory @@ -13,33 +12,7 @@ package-name: azure-mgmt-datafactory package-version: 1.0.0 clear-output-folder: true ``` -``` yaml $(python) && $(python-mode) == 'update' && $(track2) +``` yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory ``` -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/datafactory/azure-mgmt-datafactory -``` - -``` yaml $(python) && $(track2) -modelerfour: - lenient-model-deduplication: true -directive: - - from: swagger-document - where: $.definitions.JsonFormatFilePattern - transform: > - $['type'] = 'string'; - - from: swagger-document - where: $.definitions.CompressionLevel - transform: > - $['type'] = 'string'; - - from: swagger-document - where: $.definitions.DynamicsLinkedServiceTypeProperties.properties.servicePrincipalCredentialType - transform: > - $['type'] = 'string'; - - from: swagger-document - where: $.definitions.ScriptAction.properties.roles - transform: > - $['type'] = 'string'; -``` diff --git a/specification/mobilenetwork/resource-manager/readme.python.md b/specification/mobilenetwork/resource-manager/readme.python.md index 8fe8ac8ef45d..6b0366ab4a42 100644 --- a/specification/mobilenetwork/resource-manager/readme.python.md +++ b/specification/mobilenetwork/resource-manager/readme.python.md @@ -3,21 +3,16 @@ These settings apply only when `--python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(track2) +``` yaml $(python) azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION package-name: azure-mgmt-mobilenetwork -no-namespace-folders: true +namespace: azure.mgmt.mobilenetwork package-version: 1.0.0b1 clear-output-folder: true ``` -``` yaml $(python-mode) == 'update' && $(track2) +``` yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/mobilenetwork/azure-mgmt-mobilenetwork/azure/mgmt/mobilenetwork ``` - -``` yaml $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/mobilenetwork/azure-mgmt-mobilenetwork -``` diff --git a/specification/streamanalytics/resource-manager/readme.python.md b/specification/streamanalytics/resource-manager/readme.python.md index 62ec20dcfc6c..53768419f1e2 100644 --- a/specification/streamanalytics/resource-manager/readme.python.md +++ b/specification/streamanalytics/resource-manager/readme.python.md @@ -3,21 +3,16 @@ These settings apply only when `--python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(track2) +``` yaml $(python) azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION package-name: azure-mgmt-streamanalytics -no-namespace-folders: true +namespace: azure.mgmt.streamanalytics package-version: 1.0.0b1 clear-output-folder: true ``` -``` yaml $(python-mode) == 'update' && $(track2) +``` yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/streamanalytics/azure-mgmt-streamanalytics/azure/mgmt/streamanalytics ``` - -``` yaml $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/streamanalytics/azure-mgmt-streamanalytics -```