Skip to content

Commit b9ce503

Browse files
authored
[storage] python config (#24217)
1 parent 0cfd102 commit b9ce503

File tree

2 files changed

+33
-8
lines changed

2 files changed

+33
-8
lines changed

specification/storage/resource-manager/readme.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,31 @@ directive:
614614
615615
```
616616

617+
### Tag: package-2018-03-preview-only
618+
619+
These settings apply only when `--tag=package-2018-03-preview-only` is specified on the command line.
620+
621+
``` yaml $(tag) == 'package-2018-03-preview-only'
622+
input-file:
623+
- Microsoft.Storage/preview/2018-03-01-preview/storage.json
624+
- Microsoft.Storage/preview/2018-03-01-preview/blob.json
625+
- Microsoft.Storage/preview/2018-03-01-preview/managementpolicy.json
626+
-
627+
directive:
628+
- suppress: R3018
629+
reason: Existing boolean properties
630+
approved-by: "@fearthecowboy"
631+
632+
- where:
633+
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"].post.operationId
634+
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"].post.operationId
635+
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"].post.operationId
636+
suppress: R1003
637+
reason: APIs return array of values, is not actually a 'list' operation
638+
approved-by: "@fearthecowboy"
639+
640+
```
641+
617642
### Tag: package-2018-02
618643

619644
These settings apply only when `--tag=package-2018-02` is specified on the command line.

specification/storage/resource-manager/readme.python.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ batch:
3333
- tag: package-2019-06
3434
- tag: package-2019-04
3535
- tag: package-2018-11
36-
- tag: package-2018-07
37-
- tag: package-2018-03
36+
- tag: package-2018-07-only
37+
- tag: package-2018-03-preview-only
3838
- tag: package-2018-02
3939
- tag: package-2017-10
4040
- tag: package-2017-06
@@ -162,22 +162,22 @@ namespace: azure.mgmt.storage.v2018_11_01
162162
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01
163163
```
164164

165-
### Tag: package-2018-07 and python
165+
### Tag: package-2018-07-only and python
166166

167-
These settings apply only when `--tag=package-2018-07 --python` is specified on the command line.
167+
These settings apply only when `--tag=package-2018-07-only --python` is specified on the command line.
168168
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
169169

170-
``` yaml $(tag) == 'package-2018-07'
170+
``` yaml $(tag) == 'package-2018-07-only'
171171
namespace: azure.mgmt.storage.v2018_07_01
172172
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01
173173
```
174174

175-
### Tag: package-2018-03 and python
175+
### Tag: package-2018-03-preview-only and python
176176

177-
These settings apply only when `--tag=package-2018-03 --python` is specified on the command line.
177+
These settings apply only when `--tag=package-2018-03-preview-only --python` is specified on the command line.
178178
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
179179

180-
``` yaml $(tag) == 'package-2018-03'
180+
``` yaml $(tag) == 'package-2018-03-preview-only'
181181
namespace: azure.mgmt.storage.v2018_03_01_preview
182182
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview
183183
```

0 commit comments

Comments
 (0)