-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Vtapfinal #3684
Merged
sergey-shandar
merged 12 commits into
Azure:Network-September-Release
from
karthikananth:vtapfinal
Aug 30, 2018
Merged
Vtapfinal #3684
Changes from 9 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
5ba2af3
Swagger Coverage/Completeness- for operation CheckNameAvailability (#…
vivekkothakota a913be0
Adds base for updating Microsoft.Network from version stable/2018-07-…
EvgenyAgafonchikov 41f35a8
Updates readme
EvgenyAgafonchikov 4756434
Updates API version in new specs and examples
EvgenyAgafonchikov 5d12417
vtap update
karthikananth 161a2a6
VTAP changes
karthikananth 3da9ee7
VTAP changes
karthikananth c5b3e4e
merge changes for vtap resource
karthikananth cea67db
Adding examples for VTAP resource
karthikananth fb03b72
Update changes for Examples
chandrasekarsrinivasan 0c9b72c
Further fixes to examples
chandrasekarsrinivasan ebbcd71
Add exception for vtap's RequiredPropertiesMissingInResourceModel in …
chandrasekarsrinivasan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
47 changes: 47 additions & 0 deletions
47
.../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,47 @@ | ||
{ | ||
"parameters" : { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "testrg", | ||
"networkInterfaceName": "mynic", | ||
"tapConfigurationName": "tapconfiguration1", | ||
"api-version": "2018-08-01", | ||
"parameters": { | ||
"properties": { | ||
"virtualNetworkTap": { | ||
"id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" | ||
} | ||
}, | ||
"location": "centraluseuap" | ||
}, | ||
"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": { | ||
"provisioningState": "Succeeded", | ||
"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": { | ||
"provisioningState": "Succeeded", | ||
"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" : { } | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...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,26 @@ | ||
{ | ||
"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": { | ||
"provisioningState": "Succeeded", | ||
"virtualNetworkTap": { | ||
"id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...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,28 @@ | ||
{ | ||
"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": { | ||
"provisioningState": "Succeeded", | ||
"virtualNetworkTap": { | ||
"id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
60 changes: 60 additions & 0 deletions
60
...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,60 @@ | ||
{ | ||
"parameters" : { | ||
"api-version": "2018-08-01", | ||
"subscriptionId" : "subid", | ||
"resourceGroupName": "rg1", | ||
"virtualNetworkTapName": "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": { | ||
"provisioningState": "Succeeded", | ||
"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": { | ||
"provisioningState": "Succeeded", | ||
"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", | ||
"virtualNetworkTapName": "test-vtap" | ||
}, | ||
"responses" : { | ||
"200" : { }, | ||
"202" : { }, | ||
"204" : { } | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...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,31 @@ | ||
{ | ||
"parameters" : { | ||
"api-version": "2018-08-01", | ||
"subscriptionId" : "subid", | ||
"resourceGroupName" : "rg1", | ||
"virtualNetworkTapName" : "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": { | ||
"provisioningState": "Succeeded", | ||
"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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
53 changes: 53 additions & 0 deletions
53
.../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,53 @@ | ||
{ | ||
"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": { | ||
"provisioningState": "Succeeded", | ||
"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": { | ||
"provisioningState": "Succeeded", | ||
"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" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
52 changes: 52 additions & 0 deletions
52
...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,52 @@ | ||
{ | ||
"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": { | ||
"provisioningState": "Succeeded", | ||
"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": { | ||
"provisioningState": "Succeeded", | ||
"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" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
...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,40 @@ | ||
{ | ||
"parameters" : { | ||
"api-version": "2018-08-01", | ||
"subscriptionId" : "subid", | ||
"resourceGroupName": "rg1", | ||
"virtualNetworkTapName": "test-vtap", | ||
"parameters": { | ||
"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" : { | ||
"provisioningState": "Succeeded", | ||
"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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are not valid examples.
"responses"
should be outside of parameters.