From 6f8df4939cc6e0b5f6eba785e4ab2a6d7e14205b Mon Sep 17 00:00:00 2001 From: Zim Kalinowski Date: Fri, 28 Feb 2020 07:16:39 +0100 Subject: [PATCH] Compute update python readme (#8554) * updated readmes for python sdk * additional change --- .../compute/resource-manager/readme.md | 18 ++++++++++++++ .../compute/resource-manager/readme.python.md | 24 +++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/specification/compute/resource-manager/readme.md b/specification/compute/resource-manager/readme.md index c5b97df255a2..b86a07067429 100644 --- a/specification/compute/resource-manager/readme.md +++ b/specification/compute/resource-manager/readme.md @@ -229,6 +229,15 @@ input-file: - Microsoft.ContainerService/stable/2017-01-31/containerService.json ``` +### Tag: package-2019-12-01-only + +These settings apply only when `--tag=package-2019-12-01-only` is specified on the command line. + +``` yaml $(tag) == 'package-2019-12-01-only' +input-file: +- Microsoft.Compute/stable/2019-12-01/gallery.json +``` + ### Tag: package-2019-11-01 These settings apply only when `--package-2019-11-01` is specified on the command line. @@ -243,6 +252,15 @@ input-file: - Microsoft.ContainerService/stable/2017-01-31/containerService.json ``` +### Tag: package-2019-11-01-only + +These settings apply only when `--package-2019-11-01-only` is specified on the command line. + +``` yaml $(tag) == 'package-2019-11-01-only' +input-file: +- Microsoft.Compute/stable/2019-11-01/disk.json +``` + ### Tag: package-2019-07 These settings apply only when `--tag=package-2019-07` is specified on the command line. diff --git a/specification/compute/resource-manager/readme.python.md b/specification/compute/resource-manager/readme.python.md index 3555b6551350..3c71c18c7b4a 100644 --- a/specification/compute/resource-manager/readme.python.md +++ b/specification/compute/resource-manager/readme.python.md @@ -18,6 +18,8 @@ Generate all API versions currently shipped for this package ```yaml $(python) && $(multiapi) batch: + - tag: package-2019-12-01-only + - tag: package-2019-11-01-only - tag: package-2019-07-01-only - tag: package-2019-04-01-only - tag: package-2019-03-01-only @@ -33,6 +35,28 @@ batch: - tag: package-compute-2015-06 ``` +### Tag: package-2019-12-01-only and python + +These settings apply only when `--tag=package-2019-12-01-only --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2019-12-01-only' && $(python) +python: + namespace: azure.mgmt.compute.v2019_12_01 + output-folder: $(python-sdks-folder)/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01 +``` + +### Tag: package-2019-11-01-only and python + +These settings apply only when `--tag=package-2019-11-01-only --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2019-11-01-only' && $(python) +python: + namespace: azure.mgmt.compute.v2019_11_01 + output-folder: $(python-sdks-folder)/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_11_01 +``` + ### Tag: package-2019-07-01-only and python These settings apply only when `--tag=package-2019-07-01-only --python` is specified on the command line.