Skip to content

Commit

Permalink
Compute update python readme (Azure#8554)
Browse files Browse the repository at this point in the history
* updated readmes for python sdk

* additional change
  • Loading branch information
Zim Kalinowski authored and tasharm-0412 committed Mar 4, 2020
1 parent cb303ee commit 6f8df49
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
18 changes: 18 additions & 0 deletions specification/compute/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand Down
24 changes: 24 additions & 0 deletions specification/compute/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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=<path to the root directory of your azure-sdk-for-python clone>`.

``` 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=<path to the root directory of your azure-sdk-for-python clone>`.

``` 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.
Expand Down

0 comments on commit 6f8df49

Please sign in to comment.