-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Swagger Coverage/Completeness- for operation CheckNameAvailability (#3663) * Update service.json * CheckNameAvailability * FIxed Parameter name fixed couple of parameters name * Adds base for updating Microsoft.Network from version stable/2018-07-01 to version 2018-08-01 * Updates readme * Updates API version in new specs and examples * vtap update * VTAP changes * VTAP changes * Adding examples for VTAP resource * Update changes for Examples * Further fixes to examples * Add exception for vtap's RequiredPropertiesMissingInResourceModel in readme
- Loading branch information
1 parent
46f2423
commit 59a73c0
Showing
15 changed files
with
1,018 additions
and
1 deletion.
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
45 changes: 45 additions & 0 deletions
45
.../Microsoft.Network/stable/2018-08-01/examples/NetworkInterfaceTapConfigurationCreate.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,45 @@ | ||
{ | ||
"parameters" : { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "testrg", | ||
"networkInterfaceName": "mynic", | ||
"tapConfigurationName": "tapconfiguration1", | ||
"api-version": "2018-08-01", | ||
"tapConfigurationParameters": { | ||
"properties": { | ||
"virtualNetworkTap": { | ||
"id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" | ||
} | ||
} | ||
} | ||
}, | ||
"responses" : { | ||
"200" : { | ||
"body" : { | ||
"name": "tapConfiguration1", | ||
"id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/tapConfigurations/tapConfiguration1", | ||
"etag": "etag", | ||
"type": "Microsoft.Network/networkInterfaces/tapConfigurations", | ||
"properties": { | ||
"virtualNetworkTap": { | ||
"id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" | ||
} | ||
} | ||
} | ||
}, | ||
"201" : { | ||
"body" : { | ||
"name": "tapConfiguration1", | ||
"id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/tapConfigurations/tapConfiguration1", | ||
"etag": "etag", | ||
"type": "Microsoft.Network/networkInterfaces/tapConfigurations", | ||
"properties": { | ||
"virtualNetworkTap": { | ||
"id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
14 changes: 14 additions & 0 deletions
14
.../Microsoft.Network/stable/2018-08-01/examples/NetworkInterfaceTapConfigurationDelete.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": "2018-08-01", | ||
"subscriptionId" : "subid", | ||
"resourceGroupName": "rg1", | ||
"networkInterfaceName": "test-networkinterface", | ||
"tapConfigurationName": "test-tapconfiguration" | ||
}, | ||
"responses" : { | ||
"200" : { }, | ||
"202" : { }, | ||
"204" : { } | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...ger/Microsoft.Network/stable/2018-08-01/examples/NetworkInterfaceTapConfigurationGet.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,25 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "testrg", | ||
"networkInterfaceName": "mynic", | ||
"tapConfigurationName": "tapconfiguration1", | ||
"api-version": "2018-08-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": | ||
{ | ||
"name": "tapConfiguration1", | ||
"id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/tapConfigurations/tapConfiguration1", | ||
"etag": "etag", | ||
"type": "Microsoft.Network/networkInterfaces/tapConfigurations", | ||
"properties": { | ||
"virtualNetworkTap": { | ||
"id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...er/Microsoft.Network/stable/2018-08-01/examples/NetworkInterfaceTapConfigurationList.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,27 @@ | ||
{ | ||
"parameters" : { | ||
"api-version": "2018-08-01", | ||
"subscriptionId" : "subid", | ||
"resourceGroupName": "rg1", | ||
"networkInterfaceName": "mynic" | ||
}, | ||
"responses" : { | ||
"200" : { | ||
"body" : { | ||
"value": [ | ||
{ | ||
"name": "tapConfiguration1", | ||
"id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/tapConfigurations/tapConfiguration1", | ||
"etag": "etag", | ||
"type": "Microsoft.Network/networkInterfaces/tapConfigurations", | ||
"properties": { | ||
"virtualNetworkTap": { | ||
"id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
58 changes: 58 additions & 0 deletions
58
...esource-manager/Microsoft.Network/stable/2018-08-01/examples/VirtualNetworkTapCreate.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,58 @@ | ||
{ | ||
"parameters" : { | ||
"api-version": "2018-08-01", | ||
"subscriptionId" : "subid", | ||
"resourceGroupName": "rg1", | ||
"tapName": "test-vtap", | ||
"parameters": { | ||
"properties": { | ||
"destinationNetworkInterfaceIPConfiguration": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/ipconfig1" | ||
} | ||
}, | ||
"location": "centraluseuap" | ||
} | ||
}, | ||
"responses" : { | ||
"200" : { | ||
"body" : { | ||
"name": "testvtap", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap", | ||
"etag": "etag", | ||
"type": "Microsoft.Network/virtualNetworkTaps", | ||
"location": "centraluseuap", | ||
"properties": { | ||
"destinationNetworkInterfaceIPConfiguration": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" | ||
}, | ||
"destinationPort": 4789, | ||
"networkInterfaceTapConfigurations": [ | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"201" : { | ||
"body" : { | ||
"name": "testvtap", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap", | ||
"etag": "etag", | ||
"type": "Microsoft.Network/virtualNetworkTaps", | ||
"location": "centraluseuap", | ||
"properties": { | ||
"destinationNetworkInterfaceIPConfiguration": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" | ||
}, | ||
"destinationPort": 4789, | ||
"networkInterfaceTapConfigurations": [ | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...esource-manager/Microsoft.Network/stable/2018-08-01/examples/VirtualNetworkTapDelete.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,13 @@ | ||
{ | ||
"parameters" : { | ||
"api-version": "2018-08-01", | ||
"subscriptionId" : "subid", | ||
"resourceGroupName": "rg1", | ||
"tapName": "test-vtap" | ||
}, | ||
"responses" : { | ||
"200" : { }, | ||
"202" : { }, | ||
"204" : { } | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...k/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VirtualNetworkTapGet.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,30 @@ | ||
{ | ||
"parameters" : { | ||
"api-version": "2018-08-01", | ||
"subscriptionId" : "subid", | ||
"resourceGroupName" : "rg1", | ||
"tapName" : "testvtap" | ||
}, | ||
"responses" : { | ||
"200" : { | ||
"body" : { | ||
"name": "testvtap", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap", | ||
"etag": "etag", | ||
"type": "Microsoft.Network/virtualNetworkTaps", | ||
"location": "centraluseuap", | ||
"properties": { | ||
"destinationNetworkInterfaceIPConfiguration": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" | ||
}, | ||
"destinationPort": 4789, | ||
"networkInterfaceTapConfigurations": [ | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
.../resource-manager/Microsoft.Network/stable/2018-08-01/examples/VirtualNetworkTapList.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,51 @@ | ||
{ | ||
"parameters" : { | ||
"api-version": "2018-08-01", | ||
"subscriptionId" : "subid", | ||
"resourceGroupName": "rg1" | ||
}, | ||
"responses" : { | ||
"200" : { | ||
"body" : { | ||
"value": [ | ||
{ | ||
"name": "testvtap", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap", | ||
"etag": "etag", | ||
"type": "Microsoft.Network/virtualNetworkTaps", | ||
"location": "centraluseuap", | ||
"properties": { | ||
"destinationNetworkInterfaceIPConfiguration": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" | ||
}, | ||
"destinationPort": 4789, | ||
"networkInterfaceTapConfigurations": [ | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "testvtap2", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap2", | ||
"etag": "etag", | ||
"type": "Microsoft.Network/virtualNetworkTaps", | ||
"location": "centraluseuap", | ||
"properties": { | ||
"destinationNetworkInterfaceIPConfiguration": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" | ||
}, | ||
"destinationPort": 4789, | ||
"networkInterfaceTapConfigurations": [ | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface3/tapConfigurations/testtapConfiguration" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
50 changes: 50 additions & 0 deletions
50
...source-manager/Microsoft.Network/stable/2018-08-01/examples/VirtualNetworkTapListAll.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,50 @@ | ||
{ | ||
"parameters" : { | ||
"api-version": "2018-08-01", | ||
"subscriptionId" : "subid" | ||
}, | ||
"responses" : { | ||
"200" : { | ||
"body" : { | ||
"value": [ | ||
{ | ||
"name": "testvtap", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap", | ||
"etag": "etag", | ||
"type": "Microsoft.Network/virtualNetworkTaps", | ||
"location": "centraluseuap", | ||
"properties": { | ||
"destinationNetworkInterfaceIPConfiguration": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" | ||
}, | ||
"destinationPort": 4789, | ||
"networkInterfaceTapConfigurations": [ | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "testvtap2", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap2", | ||
"etag": "etag", | ||
"type": "Microsoft.Network/virtualNetworkTaps", | ||
"location": "centraluseuap", | ||
"properties": { | ||
"destinationNetworkInterfaceIPConfiguration": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" | ||
}, | ||
"destinationPort": 4789, | ||
"networkInterfaceTapConfigurations": [ | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface3/tapConfigurations/testtapConfiguration" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
...rce-manager/Microsoft.Network/stable/2018-08-01/examples/VirtualNetworkTapUpdateTags.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,39 @@ | ||
{ | ||
"parameters" : { | ||
"api-version": "2018-08-01", | ||
"subscriptionId" : "subid", | ||
"resourceGroupName": "rg1", | ||
"tapName": "test-vtap", | ||
"tapParameters": { | ||
"tags": { | ||
"tag1": "value1", | ||
"tag2": "value2" | ||
} | ||
} | ||
}, | ||
"responses" : { | ||
"200" : { | ||
"body" : { | ||
"name" : "test-vtap", | ||
"id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/test-vtap", | ||
"location" : "eastus", | ||
"tags": { | ||
"tag1": "value1", | ||
"tag2": "value2" | ||
}, | ||
"properties" : { | ||
"destinationNetworkInterfaceIPConfiguration": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" | ||
}, | ||
"destinationPort": 4789, | ||
"networkInterfaceTapConfigurations": [ | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" | ||
} | ||
] | ||
}, | ||
"type" : "Microsoft.Network/virtualNetworkTaps" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.