Skip to content

Commit

Permalink
update storage python.md for track2 (#9068)
Browse files Browse the repository at this point in the history
* update storage python.md for track2

* keep python:

* Update readme.python.md

Co-authored-by: Zim Kalinowski <zikalino@microsoft.com>
  • Loading branch information
00Kai0 and Zim Kalinowski authored Apr 15, 2020
1 parent 9b5a0fe commit c4f5a89
Showing 1 changed file with 66 additions and 14 deletions.
80 changes: 66 additions & 14 deletions specification/storage/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,44 @@

These settings apply only when `--python` is specified on the command line.

```yaml $(python)
```yaml !$(track2)
python:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
package-name: azure-mgmt-storage
payload-flattening-threshold: 2
clear-output-folder: true
no-namespace-folders: true
```
``` yaml $(track2)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
package-name: azure-mgmt-storage
no-namespace-folders: true
```
### Python multi-api
Generate all API versions currently shipped for this package
```yaml $(python) && $(multiapi)
```yaml $(multiapi) && !$(track2)
batch:
- tag: package-2019-06
- tag: package-2019-04
- tag: package-2018-11
- tag: package-2018-07
- tag: package-2018-03
- tag: package-2018-02
- tag: package-2017-10
- tag: package-2017-06
- tag: package-2016-12
- tag: package-2016-01
- tag: package-2015-06
```
```yaml $(multiapi) && $(track2)
clear-output-folder: true
batch:
- tag: package-2019-06
- tag: package-2019-04
Expand All @@ -29,14 +52,23 @@ batch:
- tag: package-2016-12
- tag: package-2016-01
- tag: package-2015-06
- multiapiscript: true
```
``` yaml $(multiapiscript)
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storage/azure/mgmt/storage/
clear-output-folder: false
perform-load: false
```
### Tag: package-2019-06 and python
These settings apply only when `--tag=package-2019-06 --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-06' && $(python)
``` yaml $(tag) == 'package-2019-06'
namespace: azure.mgmt.storage.v2019_06_01
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01
python:
namespace: azure.mgmt.storage.v2019_06_01
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01
Expand All @@ -46,7 +78,9 @@ python:
These settings apply only when `--tag=package-2019-04 --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-04' && $(python)
``` yaml $(tag) == 'package-2019-04'
namespace: azure.mgmt.storage.v2019_04_01
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01
python:
namespace: azure.mgmt.storage.v2019_04_01
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01
Expand All @@ -57,7 +91,9 @@ python:
These settings apply only when `--tag=package-2018-11 --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-2018-11' && $(python)
``` yaml $(tag) == 'package-2018-11'
namespace: azure.mgmt.storage.v2018_11_01
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01
python:
namespace: azure.mgmt.storage.v2018_11_01
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01
Expand All @@ -68,7 +104,9 @@ python:
These settings apply only when `--tag=package-2018-07 --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-2018-07' && $(python)
``` yaml $(tag) == 'package-2018-07'
namespace: azure.mgmt.storage.v2018_07_01
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01
python:
namespace: azure.mgmt.storage.v2018_07_01
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01
Expand All @@ -79,7 +117,9 @@ python:
These settings apply only when `--tag=package-2018-03 --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-2018-03' && $(python)
``` yaml $(tag) == 'package-2018-03'
namespace: azure.mgmt.storage.v2018_03_01_preview
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview
python:
namespace: azure.mgmt.storage.v2018_03_01_preview
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview
Expand All @@ -90,7 +130,9 @@ python:
These settings apply only when `--tag=package-2018-02 --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-2018-02' && $(python)
``` yaml $(tag) == 'package-2018-02'
namespace: azure.mgmt.storage.v2018_02_01
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01
python:
namespace: azure.mgmt.storage.v2018_02_01
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01
Expand All @@ -101,7 +143,9 @@ python:
These settings apply only when `--tag=package-2017-10 --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-2017-10' && $(python)
``` yaml $(tag) == 'package-2017-10'
namespace: azure.mgmt.storage.v2017_10_01
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01
python:
namespace: azure.mgmt.storage.v2017_10_01
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01
Expand All @@ -112,7 +156,9 @@ python:
These settings apply only when `--tag=package-2017-06 --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-2017-06' && $(python)
``` yaml $(tag) == 'package-2017-06'
namespace: azure.mgmt.storage.v2017_06_01
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01
python:
namespace: azure.mgmt.storage.v2017_06_01
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01
Expand All @@ -123,7 +169,9 @@ python:
These settings apply only when `--tag=package-2016-12 --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-2016-12' && $(python)
``` yaml $(tag) == 'package-2016-12'
namespace: azure.mgmt.storage.v2016_12_01
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01
python:
namespace: azure.mgmt.storage.v2016_12_01
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01
Expand All @@ -134,7 +182,9 @@ python:
These settings apply only when `--tag=package-2016-01 --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-2016-01' && $(python)
``` yaml $(tag) == 'package-2016-01'
namespace: azure.mgmt.storage.v2016_01_01
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01
python:
namespace: azure.mgmt.storage.v2016_01_01
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01
Expand All @@ -145,7 +195,9 @@ python:
These settings apply only when `--tag=package-2015-06 --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-2015-06' && $(python)
``` yaml $(tag) == 'package-2015-06'
namespace: azure.mgmt.storage.v2015_06_15
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15
python:
namespace: azure.mgmt.storage.v2015_06_15
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15
Expand Down

0 comments on commit c4f5a89

Please sign in to comment.