From 97bf9c22ba709eba23b30021854d585e5c635255 Mon Sep 17 00:00:00 2001 From: "Kaihui (Kerwin) Sun" Date: Tue, 15 Dec 2020 16:47:04 +0800 Subject: [PATCH] add marketplaceordering config (#11521) * add marketplaceordering config * fix config --- .../resource-manager/readme.md | 28 +++++++++++++++++-- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/specification/marketplaceordering/resource-manager/readme.md b/specification/marketplaceordering/resource-manager/readme.md index 8b9d60577378..5f1b6f669eb5 100644 --- a/specification/marketplaceordering/resource-manager/readme.md +++ b/specification/marketplaceordering/resource-manager/readme.md @@ -108,7 +108,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) +``` yaml $(python) && !$(track2) python-mode: create python: azure-arm: true @@ -119,17 +119,39 @@ python: clear-output-folder: true package-version: 0.1.0 ``` -``` yaml $(python) && $(python-mode) == 'update' + +``` yaml $(python) && $(track2) +python-mode: create +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +namespace: azure.mgmt.marketplaceordering +package-name: azure-mgmt-marketplaceordering +clear-output-folder: true +package-version: 1.0.0b1 +``` + +``` yaml $(python) && $(python-mode) == 'update' && !$(track2) python: no-namespace-folders: true output-folder: $(python-sdks-folder)/marketplaceordering/azure-mgmt-marketplaceordering/azure/mgmt/marketplaceordering ``` -``` yaml $(python) && $(python-mode) == 'create' + +``` yaml $(python) && $(python-mode) == 'update' && $(track2) +no-namespace-folders: true +output-folder: $(python-sdks-folder)/marketplaceordering/azure-mgmt-marketplaceordering/azure/mgmt/marketplaceordering +``` + +``` yaml $(python) && $(python-mode) == 'create' && !$(track2) python: basic-setup-py: true output-folder: $(python-sdks-folder)/marketplaceordering/azure-mgmt-marketplaceordering ``` +``` yaml $(python) && $(python-mode) == 'create' && $(track2) +basic-setup-py: true +output-folder: $(python-sdks-folder)/marketplaceordering/azure-mgmt-marketplaceordering +``` + Workaround invalid date-time returned by the server. ``` yaml $(python)