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

[authorization] python config #21047

Merged
merged 1 commit into from
Oct 11, 2022
Merged
Show file tree
Hide file tree
Changes from all 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
13 changes: 13 additions & 0 deletions specification/authorization/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,19 @@ input-file:
- Microsoft.Authorization/stable/2020-10-01/RoleManagementPolicyAssignment.json
```

### Tag: package-2022-04-01-only

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

``` yaml $(tag) == 'package-2022-04-01-only'
input-file:
- Microsoft.Authorization/stable/2022-04-01/authorization-DenyAssignmentCalls.json
- Microsoft.Authorization/stable/2022-04-01/authorization-ProviderOperationsCalls.json
- Microsoft.Authorization/stable/2022-04-01/authorization-RoleAssignmentsCalls.json
- Microsoft.Authorization/stable/2022-04-01/authorization-RoleDefinitionsCalls.json
- Microsoft.Authorization/stable/2022-04-01/common-types.json
```

### Tag: package-2022-04-01-preview-only

These settings apply only when `--tag=package-2022-04-01-preview-only` is specified on the command line.
Expand Down
10 changes: 10 additions & 0 deletions specification/authorization/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Generate all API versions currently shipped for this package
multiapi: true
clear-output-folder: true
batch:
- tag: package-2022-04-01-only
- tag: package-2021-12-01-preview-only
- tag: package-2021-07-01-preview-only
- tag: package-2021-03-01-preview-only
Expand All @@ -39,6 +40,15 @@ output-folder: $(python-sdks-folder)/authorization/azure-mgmt-authorization/azur
perform-load: false
```

### Tag: package-2022-04-01-only and python

These settings apply only when `--tag=package-2022-04-01-only --python` is specified on the command line.

``` yaml $(tag) == 'package-2022-04-01-only' && $(python)
namespace: azure.mgmt.authorization.v2022_04_01
output-folder: $(python-sdks-folder)/authorization/azure-mgmt-authorization/azure/mgmt/authorization/v2022_04_01
```

### Tag: package-2021-12-01-preview-only and python

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