Skip to content

Commit

Permalink
[storage] python config (#24217)
Browse files Browse the repository at this point in the history
  • Loading branch information
msyyc authored Jun 1, 2023
1 parent 0cfd102 commit b9ce503
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 8 deletions.
25 changes: 25 additions & 0 deletions specification/storage/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,31 @@ directive:
```

### Tag: package-2018-03-preview-only

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

``` yaml $(tag) == 'package-2018-03-preview-only'
input-file:
- Microsoft.Storage/preview/2018-03-01-preview/storage.json
- Microsoft.Storage/preview/2018-03-01-preview/blob.json
- Microsoft.Storage/preview/2018-03-01-preview/managementpolicy.json
-
directive:
- suppress: R3018
reason: Existing boolean properties
approved-by: "@fearthecowboy"
- where:
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"].post.operationId
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"].post.operationId
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"].post.operationId
suppress: R1003
reason: APIs return array of values, is not actually a 'list' operation
approved-by: "@fearthecowboy"
```

### Tag: package-2018-02

These settings apply only when `--tag=package-2018-02` is specified on the command line.
Expand Down
16 changes: 8 additions & 8 deletions specification/storage/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ batch:
- tag: package-2019-06
- tag: package-2019-04
- tag: package-2018-11
- tag: package-2018-07
- tag: package-2018-03
- tag: package-2018-07-only
- tag: package-2018-03-preview-only
- tag: package-2018-02
- tag: package-2017-10
- tag: package-2017-06
Expand Down Expand Up @@ -162,22 +162,22 @@ namespace: azure.mgmt.storage.v2018_11_01
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01
```

### Tag: package-2018-07 and python
### Tag: package-2018-07-only and python

These settings apply only when `--tag=package-2018-07 --python` is specified on the command line.
These settings apply only when `--tag=package-2018-07-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-2018-07'
``` yaml $(tag) == 'package-2018-07-only'
namespace: azure.mgmt.storage.v2018_07_01
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01
```

### Tag: package-2018-03 and python
### Tag: package-2018-03-preview-only and python

These settings apply only when `--tag=package-2018-03 --python` is specified on the command line.
These settings apply only when `--tag=package-2018-03-preview-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-2018-03'
``` yaml $(tag) == 'package-2018-03-preview-only'
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 Down

0 comments on commit b9ce503

Please sign in to comment.