-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add VirtualHubBgpConnections, VirtualHubIpConfigurations, NetworkVirt…
…ualApplianceSites child resources (#9357) * Adds base for updating Microsoft.Network from version stable/2020-03-01 to version 2020-05-01 * Updates readme * Updates API version in new specs and examples * Final changes * Fix formatting issues * Fix merge and formatting issues * Fix formatiing * Ipconfig properties * Fix build errors * Lint check * Fix semantics errors * Address review comments * Fix prettier and nextLink checks * Fix dots * Address errors * Fix Ipconfig version Co-authored-by: dexiang-ms <[email protected]>
- Loading branch information
1 parent
514a878
commit 0499403
Showing
26 changed files
with
1,783 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
...nager/Microsoft.Network/stable/2020-05-01/examples/NetworkVirtualApplianceSiteDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-05-01", | ||
"siteName": "site1", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"networkVirtualApplianceName": "nva" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
...-manager/Microsoft.Network/stable/2020-05-01/examples/NetworkVirtualApplianceSiteGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-05-01", | ||
"siteName": "site1", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"networkVirtualApplianceName": "nva" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "site1", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/virtualApplianceSites/site1", | ||
"etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"addressPrefix": "192.168.1.0/24", | ||
"o365Policy": { | ||
"breakOutCategories": { | ||
"allow": true, | ||
"optimize": true, | ||
"default": true | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...manager/Microsoft.Network/stable/2020-05-01/examples/NetworkVirtualApplianceSiteList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-05-01", | ||
"siteName": "site1", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"networkVirtualApplianceName": "nva" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "site1", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/virtualApplianceSites/site1", | ||
"etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"addressPrefix": "192.168.1.0/24", | ||
"o365Policy": { | ||
"breakOutCategories": { | ||
"allow": true, | ||
"optimize": true, | ||
"default": true | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
59 changes: 59 additions & 0 deletions
59
...-manager/Microsoft.Network/stable/2020-05-01/examples/NetworkVirtualApplianceSitePut.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-05-01", | ||
"siteName": "site1", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"networkVirtualApplianceName": "nva", | ||
"parameters": { | ||
"properties": { | ||
"addressPrefix": "192.168.1.0/24", | ||
"o365Policy": { | ||
"breakOutCategories": { | ||
"allow": true, | ||
"optimize": true, | ||
"default": true | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "site1", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/virtualApplianceSites/site1", | ||
"etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"addressPrefix": "192.168.1.0/24", | ||
"o365Policy": { | ||
"breakOutCategories": { | ||
"allow": true, | ||
"optimize": true, | ||
"default": true | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"name": "site1", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/virtualApplianceSites/site1", | ||
"etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"addressPrefix": "192.168.1.0/24", | ||
"o365Policy": { | ||
"breakOutCategories": { | ||
"allow": true, | ||
"optimize": true, | ||
"default": true | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...e-manager/Microsoft.Network/stable/2020-05-01/examples/NetworkVirtualApplianceSkuGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-05-01", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"skuName": "ciscoSdwan" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "ciscoSdwan", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualApplianceSkus/ciscoSdwan", | ||
"type": "Microsoft.Network/networkVirtualApplianceSkus", | ||
"etag": "w/\\00000000-0000-0000-0000-000000000000\\", | ||
"properties": { | ||
"vendor": "Cisco", | ||
"availableVersions": [ | ||
"11.12" | ||
], | ||
"availableScaleUnits": [ | ||
{ | ||
"scaleUnit": "1", | ||
"instanceCount": 2 | ||
}, | ||
{ | ||
"scaleUnit": "2", | ||
"instanceCount": 2 | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...-manager/Microsoft.Network/stable/2020-05-01/examples/NetworkVirtualApplianceSkuList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-05-01", | ||
"subscriptionId": "subid" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "ciscoSdwan", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualApplianceSkus/ciscoSdwan", | ||
"type": "Microsoft.Network/networkVirtualApplianceSkus", | ||
"etag": "w/\\00000000-0000-0000-0000-000000000000\\", | ||
"properties": { | ||
"vendor": "Cisco", | ||
"availableVersions": [ | ||
"11.12" | ||
], | ||
"availableScaleUnits": [ | ||
{ | ||
"scaleUnit": "1", | ||
"instanceCount": 2 | ||
}, | ||
{ | ||
"scaleUnit": "2", | ||
"instanceCount": 2 | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
...e-manager/Microsoft.Network/stable/2020-05-01/examples/VirtualHubBgpConnectionDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-05-01", | ||
"connectionName": "conn1", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"virtualHubName": "hub1" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...urce-manager/Microsoft.Network/stable/2020-05-01/examples/VirtualHubBgpConnectionGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-05-01", | ||
"connectionName": "conn1", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"virtualHubName": "hub1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "conn1", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/bgpConnections/conn1", | ||
"etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"peerIp": "192.168.1.5", | ||
"peerAsn": 20000, | ||
"connectionState": "Connected" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.