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

Vtapfinal #3684

Merged
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"location" : "eastus",
"properties" : {
"provisioningState" : "Succeeded",
"ipConfigurations" : [{
"ipConfigurations" : [
{
"name" : "ipconfig1",
"id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1",
"properties" : {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@
{
"id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1"
}
],
"virtualNetworkTaps": [
{
"id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/vTAP1"
},
{
"id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/vTAP2"
}
]
}
}
Expand Down
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"
}
}
}
}
}
}

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" : { }
}
}
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"
}
}
}
}
}
}
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"
}
}
}
]
}
}
}
}
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"
}
]
}
}
}
}
}
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" : { }
}
}
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"
}
]
}
}
}
}
}
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"
}
]
}
}
]
}
}
}
}
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"
}
]
}
}
]
}
}
}
}
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"
}
}
}
}
Loading