Skip to content

[network] 2021-02-01-preview-only tag configuration for Python #16375

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

Merged
merged 10 commits into from
Oct 20, 2021
Merged
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
Original file line number Diff line number Diff line change
@@ -47,21 +47,23 @@
},
{
"$ref": "#/parameters/NetworkManagerNameParameter"
},
{
"name": "parameters",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/ActiveConfigurationParameter"
},
"description": "Active Configuration Parameter."
}
],
"post": {
"tags": [
"NetworkManagerActiveConnectivityConfigurations"
],
"parameters": [
{
"name": "parameters",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/ActiveConfigurationParameter"
},
"description": "Active Configuration Parameter."
}
],
"operationId": "ActiveConnectivityConfigurations_List",
"description": "Lists active connectivity configurations in a network manager.",
"responses": {
@@ -98,21 +100,23 @@
},
{
"$ref": "#/parameters/NetworkManagerNameParameter"
},
{
"name": "parameters",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/ActiveConfigurationParameter"
},
"description": "Active Configuration Parameter."
}
],
"post": {
"tags": [
"NetworkManagerActiveConfigurations"
],
"parameters": [
{
"name": "parameters",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/ActiveConfigurationParameter"
},
"description": "Active Configuration Parameter."
}
],
"operationId": "ActiveSecurityAdminRules_List",
"description": "Lists active security admin rules in a network manager.",
"responses": {
@@ -149,21 +153,23 @@
},
{
"$ref": "#/parameters/NetworkManagerNameParameter"
},
{
"name": "parameters",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/ActiveConfigurationParameter"
},
"description": "Active Configuration Parameter."
}
],
"post": {
"tags": [
"NetworkManagerActiveSecurityUserRules"
],
"parameters": [
{
"name": "parameters",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/ActiveConfigurationParameter"
},
"description": "Active Configuration Parameter."
}
],
"operationId": "ActiveSecurityUserRules_List",
"description": "Lists Active Security User Rules in a network manager.",
"responses": {
Original file line number Diff line number Diff line change
@@ -47,21 +47,23 @@
},
{
"$ref": "./network.json#/parameters/ApiVersionParameter"
},
{
"name": "parameters",
"in": "body",
"required": true,
"schema": {
"$ref": "./networkManagerGroup.json#/definitions/QueryRequestOptions"
},
"description": "Parameters supplied to list correct page."
}
],
"post": {
"tags": [
"NetworkManagerEffectiveConnectivityConfiguration"
],
"parameters": [
{
"name": "parameters",
"in": "body",
"required": true,
"schema": {
"$ref": "./networkManagerGroup.json#/definitions/QueryRequestOptions"
},
"description": "Parameters supplied to list correct page."
}
],
"operationId": "EffectiveConnectivityConfigurations_List",
"description": "List all effective connectivity configurations applied on a virtual network.",
"responses": {
@@ -98,21 +100,23 @@
},
{
"$ref": "./network.json#/parameters/ApiVersionParameter"
},
{
"name": "parameters",
"in": "body",
"required": true,
"schema": {
"$ref": "./networkManagerGroup.json#/definitions/QueryRequestOptions"
},
"description": "Parameters supplied to list correct page."
}
],
"post": {
"tags": [
"NetworkManagerEffectiveSecurityAdminRules"
],
"parameters": [
{
"name": "parameters",
"in": "body",
"required": true,
"schema": {
"$ref": "./networkManagerGroup.json#/definitions/QueryRequestOptions"
},
"description": "Parameters supplied to list correct page."
}
],
"operationId": "NetworkManagerEffectiveSecurityAdminRules_List",
"description": "List all effective security admin rules applied on a virtual network.",
"responses": {
16 changes: 16 additions & 0 deletions specification/network/resource-manager/readme.md
Original file line number Diff line number Diff line change
@@ -205,6 +205,22 @@ input-file:

```

### Tag: package-2021-02-preview-only

These settings apply only when `--tag=2021-02-preview-only` is specified on the command line.

``` yaml $(tag) == 'package-2021-02-preview-only'
input-file:
- Microsoft.Network/preview/2021-02-01-preview/networkManager.json
- Microsoft.Network/preview/2021-02-01-preview/networkManagerActiveConfiguration.json
- Microsoft.Network/preview/2021-02-01-preview/networkManagerConnectivityConfiguration.json
- Microsoft.Network/preview/2021-02-01-preview/networkManagerEffectiveConfiguration.json
- Microsoft.Network/preview/2021-02-01-preview/networkManagerGroup.json
- Microsoft.Network/preview/2021-02-01-preview/networkManagerSecurityUserConfiguration.json
- Microsoft.Network/preview/2021-02-01-preview/networkManagerSecurityAdminConfiguration.json
- Microsoft.Network/preview/2021-02-01-preview/networkSecurityPerimeter.json
```

### Tag: package-2021-02-preview

These settings apply only when `--tag=2021-02-preview` is specified on the command line.
13 changes: 13 additions & 0 deletions specification/network/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
@@ -19,6 +19,7 @@ clear-output-folder: true
batch:
- tag: package-2021-03
- tag: package-2021-02
- tag: package-2021-02-preview-only
- tag: package-2020-11
- tag: package-2020-08
- tag: package-2020-07
@@ -53,13 +54,25 @@ batch:
- tag: package-2016-09
- tag: package-2015-06split
- multiapiscript: true

```

``` yaml $(multiapiscript)
output-folder: $(python-sdks-folder)/network/azure-mgmt-network/azure/mgmt/network/
clear-output-folder: false
perform-load: false
```

### Tag: package-2021-02-preview-only and python

These settings apply only when `--tag=package-2021-02-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-2021-02-preview-only'
namespace: azure.mgmt.network.v2021_02_01_preview
output-folder: $(python-sdks-folder)/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01_preview
```

### Tag: package-2021-03 and python

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