From fbe071bba84e3e724573b3fc4efdeb041174d547 Mon Sep 17 00:00:00 2001 From: zhenbiao wei <424401670@qq.com> Date: Thu, 30 Jun 2022 11:25:33 +0800 Subject: [PATCH] update_resourceconnector (#19622) * update_resourceconnector * Update readme.python.md * Update readme.python.md * Update readme.python.md * Update readme.python.md * Update readme.python.md * Update readme.python.md * Update readme.python.md * Update readme.python.md Co-authored-by: Jiefeng Chen <51037443+BigCat20196@users.noreply.github.com> --- .../resource-manager/readme.python.md | 67 ++----------------- 1 file changed, 5 insertions(+), 62 deletions(-) diff --git a/specification/resourceconnector/resource-manager/readme.python.md b/specification/resourceconnector/resource-manager/readme.python.md index e69b7693bb48..9fc171412315 100644 --- a/specification/resourceconnector/resource-manager/readme.python.md +++ b/specification/resourceconnector/resource-manager/readme.python.md @@ -3,73 +3,16 @@ These settings apply only when `--python` is specified on the command line. Please also specify `--python-sdks-folder=`. - -These settings apply only when `--python` is specified on the command line. - -``` yaml !$(track2) -python: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - package-name: azure-mgmt-resourceconnector - clear-output-folder: true - no-namespace-folders: true -``` - -These settings apply only when `--track2` is specified on the command line. - -``` yaml $(track2) +``` yaml $(python) azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION +package-name: azure-mgmt-resourceconnector namespace: azure.mgmt.resourceconnector package-version: 1.0.0b1 -no-namespace-folders: true -``` - -### Python multi-api - -Generate all API versions currently shipped for this package - -```yaml $(multiapi) && !$(track2) -batch: - - tag: package-2022-04-15-preview -``` - -```yaml $(multiapi) && $(track2) clear-output-folder: true -batch: - - tag: package-2022-04-15-preview - - multiapiscript: true -``` - -``` yaml $(multiapiscript) -output-folder: $(python-sdks-folder)/resourceconnector/azure-mgmt-resourceconnector/azure/mgmt/resourceconnector/ -clear-output-folder: false -perform-load: false ``` -### Tag: package-2021-10-31-preview and python - -These settings apply only when `--tag=package-2021-10-31-preview --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-2021-10-31-preview' -namespace: azure.mgmt.resourceconnector.v2021-10-31-preview -output-folder: $(python-sdks-folder)/resourceconnector/azure-mgmt-resourceconnector/azure/mgmt/resourceconnector/v2021-10-31-preview -python: - namespace: azure.mgmt.resourceconnector.v2021-10-31-preview - output-folder: $(python-sdks-folder)/resourceconnector/azure-mgmt-resourceconnector/azure/mgmt/resourceconnector/v2021-10-31-preview +``` yaml $(python) +no-namespace-folders: true +output-folder: $(python-sdks-folder)/resourceconnector/azure-mgmt-resourceconnector/azure/mgmt/resourceconnector ``` - -### Tag: package-2022-04-15-preview and python - -These settings apply only when `--tag=package-2022-04-15-preview --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-2022-04-15-preview' -namespace: azure.mgmt.resourceconnector.2022-04-15-preview -output-folder: $(python-sdks-folder)/resourceconnector/azure-mgmt-resourceconnector/azure/mgmt/resourceconnector/2022-04-15-preview -python: - namespace: azure.mgmt.resourceconnector.2022-04-15-preview - output-folder: $(python-sdks-folder)/resourceconnector/azure-mgmt-resourceconnector/azure/mgmt/resourceconnector/2022-04-15-preview -``` \ No newline at end of file