Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update readme.python.md #23478

Merged
merged 6 commits into from
Apr 10, 2023
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions specification/security/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,24 @@ tag: package-composite-v3

The following packages may be composed from multiple api-versions.

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

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

```yaml $(tag) == 'package-preview-2023-03-only'
input-file:
- Microsoft.Security/preview/2023-03-01-preview/securityConnectors.json
```

### Tag: package-preview-2023-01-only

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

```yaml $(tag) == 'package-preview-2023-01-only'
input-file:
- Microsoft.Security/preview/2023-01-01-preview/securityOperators.json
```

### Tag: package-preview-2023-03

These settings apply only when `--tag=package-preview-2023-03` is specified on the command line.
Expand Down
47 changes: 46 additions & 1 deletion specification/security/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,18 @@ Generate all API versions currently shipped for this package

```yaml $(python)
clear-output-folder: true
default-api-version: "2022-05-01"
default-api-version: "2023-01-01"
multiapi: true
batch:
- tag: package-preview-2023-03-only
- tag: package-preview-2023-02
- tag: package-preview-2023-01-only
- tag: package-2023-01
- tag: package-preview-2023-01
- tag: package-preview-2022-08
- tag: package-preview-2022-07
- tag: package-2022-05
- tag: package-preview-2022-11
- tag: package-preview-2022-05
- tag: package-2022-03
- tag: package-2022-01-only
Expand Down Expand Up @@ -72,6 +77,16 @@ output-folder: $(python-sdks-folder)/security/azure-mgmt-security/azure/mgmt/sec
perform-load: false
```

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

These settings apply only when `--tag=package-preview-2023-03-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-preview-2023-03-only' && $(python)
namespace: azure.mgmt.security.v2023_03_01_preview
output-folder: $(python-sdks-folder)/security/azure-mgmt-security/azure/mgmt/security/v2023_03_01_preview
```

### Tag: package-preview-2023-02 and python

These settings apply only when `--tag=package-preview-2023-02 --python` is specified on the command line.
Expand All @@ -82,6 +97,16 @@ namespace: azure.mgmt.security.v2023_02_01_preview
output-folder: $(python-sdks-folder)/security/azure-mgmt-security/azure/mgmt/security/v2023_02_01_preview
```

### Tag: package-preview-2023-01-only and python

These settings apply only when `--tag=package-preview-2023-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-preview-2023-01-only' && $(python)
namespace: azure.mgmt.security.v2023_01_01_preview
output-folder: $(python-sdks-folder)/security/azure-mgmt-security/azure/mgmt/security/v2023_01_01_preview
```

### Tag: package-preview-2022-08 and python

These settings apply only when `--tag=package-preview-2022-08 --python` is specified on the command line.
Expand All @@ -102,6 +127,16 @@ namespace: azure.mgmt.security.v2022_07_01_preview
output-folder: $(python-sdks-folder)/security/azure-mgmt-security/azure/mgmt/security/v2022_07_01_preview
```

### Tag: package-2023-01 and python

These settings apply only when `--tag=package-2023-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-2023-01' && $(python)
namespace: azure.mgmt.security.v2023_01_01
output-folder: $(python-sdks-folder)/security/azure-mgmt-security/azure/mgmt/security/v2023_01_01
```

### Tag: package-2022-05 and python

These settings apply only when `--tag=package-2022-05 --python` is specified on the command line.
Expand All @@ -112,6 +147,16 @@ namespace: azure.mgmt.security.v2022_05_01
output-folder: $(python-sdks-folder)/security/azure-mgmt-security/azure/mgmt/security/v2022_05_01
```

### Tag: package-preview-2022-11 and python

These settings apply only when `--tag=package-preview-2022-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-preview-2022-11' && $(python)
namespace: azure.mgmt.security.v2022_11_20_preview
output-folder: $(python-sdks-folder)/security/azure-mgmt-security/azure/mgmt/security/v2022_11_20_preview
```

### Tag: package-preview-2022-05 and python

These settings apply only when `--tag=package-preview-2022-05 --python` is specified on the command line.
Expand Down