diff --git a/src/ResourceManager/Network/Commands.Network.Test/Commands.Network.Test.csproj b/src/ResourceManager/Network/Commands.Network.Test/Commands.Network.Test.csproj index 7a7f2ced3c76..4094cf5cc24e 100644 --- a/src/ResourceManager/Network/Commands.Network.Test/Commands.Network.Test.csproj +++ b/src/ResourceManager/Network/Commands.Network.Test/Commands.Network.Test.csproj @@ -225,6 +225,9 @@ PreserveNewest + + Always + Always diff --git a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ExpressRouteCircuitTests.cs b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ExpressRouteCircuitTests.cs index f8d982e4328c..6e2f348c876a 100644 --- a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ExpressRouteCircuitTests.cs +++ b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ExpressRouteCircuitTests.cs @@ -19,6 +19,13 @@ namespace Commands.Network.Test.ScenarioTests { public class ExpressRouteCircuitTests : Microsoft.WindowsAzure.Commands.Test.Utilities.Common.RMTestBase { + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestExpressRouteCircuitStageCRUD() + { + NetworkResourcesController.NewInstance.RunPsTest("Test-ExpressRouteCircuitStageCRUD"); + } + [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestExpressRouteCircuitCRUD() diff --git a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ExpressRouteCircuitTests.ps1 b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ExpressRouteCircuitTests.ps1 index 0cc91c7d85c1..c83723fe4416 100644 --- a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ExpressRouteCircuitTests.ps1 +++ b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ExpressRouteCircuitTests.ps1 @@ -12,6 +12,49 @@ # limitations under the License. # ---------------------------------------------------------------------------------- +<# +.SYNOPSIS +Tests ExpressRouteCircuitCRUD. +#> +function Test-ExpressRouteCircuitStageCRUD +{ + # Setup + $rgname = 'movecircuit' + $circuitName = Get-ResourceName + $rglocation = "westus" + $resourceTypeParent = "Microsoft.Network/expressRouteCircuits" + $location = "westus" + try + { + # Create the resource group + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation + + # Create the ExpressRouteCircuit + $circuit = New-AzureRmExpressRouteCircuit -Name $circuitName -Location $location -ResourceGroupName $rgname -SkuTier Standard -SkuFamily MeteredData -ServiceProviderName "equinix test" -PeeringLocation "Silicon Valley Test" -BandwidthInMbps 50 -AllowClassicOperations $true; + + $circuit = Get-AzureRmExpressRouteCircuit -Name $circuitName -ResourceGroupName $rgname + # set + $circuit.AllowClassicOperations = $false + $circuit = Set-AzureRmExpressRouteCircuit -ExpressRouteCircuit $circuit + + #move + Move-AzureRmExpressRouteCircuit -Name $circuitName -ResourceGroupName $rgname -Location $location -ServiceKey $circuit.ServiceKey -Force + + # Delete Circuit + $delete = Remove-AzureRmExpressRouteCircuit -ResourceGroupName $rgname -name $circuitName -PassThru -Force + Assert-AreEqual true $delete + + $list = Get-AzureRmExpressRouteCircuit -ResourceGroupName $rgname + Assert-AreEqual 0 @($list).Count + + } + finally + { + # Cleanup + Clean-ResourceGroup $rgname + } +} + <# .SYNOPSIS Tests ExpressRouteCircuitCRUD. @@ -75,6 +118,7 @@ function Test-ExpressRouteCircuitCRUD Assert-AreEqual "equinix" $getCircuit.ServiceProviderProperties.ServiceProviderName Assert-AreEqual "Silicon Valley" $getCircuit.ServiceProviderProperties.PeeringLocation Assert-AreEqual "1000" $getCircuit.ServiceProviderProperties.BandwidthInMbps + # Delete Circuit $delete = Remove-AzureRmExpressRouteCircuit -ResourceGroupName $rgname -name $circuitName -PassThru -Force diff --git a/src/ResourceManager/Network/Commands.Network.Test/SessionRecords/Commands.Network.Test.ScenarioTests.ExpressRouteCircuitTests/TestExpressRouteCircuitStageCRUD.json b/src/ResourceManager/Network/Commands.Network.Test/SessionRecords/Commands.Network.Test.ScenarioTests.ExpressRouteCircuitTests/TestExpressRouteCircuitStageCRUD.json new file mode 100644 index 000000000000..a8a7bae84d89 --- /dev/null +++ b/src/ResourceManager/Network/Commands.Network.Test/SessionRecords/Commands.Network.Test.ScenarioTests.ExpressRouteCircuitTests/TestExpressRouteCircuitStageCRUD.json @@ -0,0 +1,1623 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourcegroups/movecircuit?api-version=2016-02-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Jlc291cmNlZ3JvdXBzL21vdmVjaXJjdWl0P2FwaS12ZXJzaW9uPTIwMTYtMDItMDE=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "103" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14973" + ], + "x-ms-request-id": [ + "f2f79b5d-e1d7-4f79-969c-0e19df5b07c0" + ], + "x-ms-correlation-request-id": [ + "f2f79b5d-e1d7-4f79-969c-0e19df5b07c0" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T220003Z:f2f79b5d-e1d7-4f79-969c-0e19df5b07c0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 24 Mar 2016 22:00:03 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourcegroups/movecircuit?api-version=2016-02-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Jlc291cmNlZ3JvdXBzL21vdmVjaXJjdWl0P2FwaS12ZXJzaW9uPTIwMTYtMDItMDE=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14992" + ], + "x-ms-request-id": [ + "96cc3305-ef34-46b7-9889-46b5b95aa46c" + ], + "x-ms-correlation-request-id": [ + "96cc3305-ef34-46b7-9889-46b5b95aa46c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T220213Z:96cc3305-ef34-46b7-9889-46b5b95aa46c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 24 Mar 2016 22:02:13 GMT" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourcegroups/movecircuit?api-version=2016-02-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Jlc291cmNlZ3JvdXBzL21vdmVjaXJjdWl0P2FwaS12ZXJzaW9uPTIwMTYtMDItMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit\",\r\n \"name\": \"movecircuit\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "175" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-request-id": [ + "70663f00-b271-4afb-b728-ca420beecf6d" + ], + "x-ms-correlation-request-id": [ + "70663f00-b271-4afb-b728-ca420beecf6d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T220004Z:70663f00-b271-4afb-b728-ca420beecf6d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 24 Mar 2016 22:00:04 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/resources?api-version=2016-02-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Jlc291cmNlR3JvdXBzL21vdmVjaXJjdWl0L3Jlc291cmNlcz9hcGktdmVyc2lvbj0yMDE2LTAyLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14972" + ], + "x-ms-request-id": [ + "e9fe9cca-4961-495e-bf3b-525051090404" + ], + "x-ms-correlation-request-id": [ + "e9fe9cca-4961-495e-bf3b-525051090404" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T220004Z:e9fe9cca-4961-495e-bf3b-525051090404" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 24 Mar 2016 22:00:04 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits/onesdk5223/?api-version=2016-03-30", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Jlc291cmNlR3JvdXBzL21vdmVjaXJjdWl0L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9leHByZXNzUm91dGVDaXJjdWl0cy9vbmVzZGs1MjIzLz9hcGktdmVyc2lvbj0yMDE2LTAzLTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "26a2c01b-ac58-4e8f-af9e-b7ae2ca5a173" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Network.NetworkManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Network/expressRouteCircuits/onesdk5223' under resource group 'movecircuit' was not found.\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "164" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "6b72b490-95d8-49ab-8004-bea7a44e38f1" + ], + "x-ms-correlation-request-id": [ + "6b72b490-95d8-49ab-8004-bea7a44e38f1" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T220004Z:6b72b490-95d8-49ab-8004-bea7a44e38f1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 24 Mar 2016 22:00:04 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits/onesdk5223/?api-version=2016-03-30", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Jlc291cmNlR3JvdXBzL21vdmVjaXJjdWl0L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9leHByZXNzUm91dGVDaXJjdWl0cy9vbmVzZGs1MjIzLz9hcGktdmVyc2lvbj0yMDE2LTAzLTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Network.NetworkManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk5223\",\r\n \"id\": \"/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits/onesdk5223\",\r\n \"etag\": \"W/\\\"a8ed3470-9211-46df-a156-b51c6a886567\\\"\",\r\n \"type\": \"Microsoft.Network/expressRouteCircuits\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"46b7c6e2-4cec-4dfa-bd3e-dba552b62f3c\",\r\n \"peerings\": [],\r\n \"authorizations\": [],\r\n \"serviceProviderProperties\": {\r\n \"serviceProviderName\": \"equinix test\",\r\n \"peeringLocation\": \"Silicon Valley Test\",\r\n \"bandwidthInMbps\": 50\r\n },\r\n \"circuitProvisioningState\": \"Enabled\",\r\n \"allowClassicOperations\": true,\r\n \"serviceKey\": \"93e47bf4-d76a-460c-a65f-246ab63f9aa2\",\r\n \"serviceProviderProvisioningState\": \"NotProvisioned\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_MeteredData\",\r\n \"tier\": \"Standard\",\r\n \"family\": \"MeteredData\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "962" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "f649c218-3e4d-4f27-96b6-a1ce2061068b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14974" + ], + "x-ms-correlation-request-id": [ + "47d88f4a-e860-422f-a793-255202cd3fde" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T220036Z:47d88f4a-e860-422f-a793-255202cd3fde" + ], + "Date": [ + "Thu, 24 Mar 2016 22:00:36 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits/onesdk5223/?api-version=2016-03-30", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Jlc291cmNlR3JvdXBzL21vdmVjaXJjdWl0L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9leHByZXNzUm91dGVDaXJjdWl0cy9vbmVzZGs1MjIzLz9hcGktdmVyc2lvbj0yMDE2LTAzLTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4e81172c-4722-43aa-91f6-bae860a915d7" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Network.NetworkManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk5223\",\r\n \"id\": \"/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits/onesdk5223\",\r\n \"etag\": \"W/\\\"a8ed3470-9211-46df-a156-b51c6a886567\\\"\",\r\n \"type\": \"Microsoft.Network/expressRouteCircuits\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"46b7c6e2-4cec-4dfa-bd3e-dba552b62f3c\",\r\n \"peerings\": [],\r\n \"authorizations\": [],\r\n \"serviceProviderProperties\": {\r\n \"serviceProviderName\": \"equinix test\",\r\n \"peeringLocation\": \"Silicon Valley Test\",\r\n \"bandwidthInMbps\": 50\r\n },\r\n \"circuitProvisioningState\": \"Enabled\",\r\n \"allowClassicOperations\": true,\r\n \"serviceKey\": \"93e47bf4-d76a-460c-a65f-246ab63f9aa2\",\r\n \"serviceProviderProvisioningState\": \"NotProvisioned\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_MeteredData\",\r\n \"tier\": \"Standard\",\r\n \"family\": \"MeteredData\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "962" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "f0d0838e-74e2-4258-beca-ddb3ba6bdab9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14973" + ], + "x-ms-correlation-request-id": [ + "4f8cec6f-423b-45ee-8443-62e2d95f043e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T220037Z:4f8cec6f-423b-45ee-8443-62e2d95f043e" + ], + "Date": [ + "Thu, 24 Mar 2016 22:00:36 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits/onesdk5223/?api-version=2016-03-30", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Jlc291cmNlR3JvdXBzL21vdmVjaXJjdWl0L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9leHByZXNzUm91dGVDaXJjdWl0cy9vbmVzZGs1MjIzLz9hcGktdmVyc2lvbj0yMDE2LTAzLTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f23a8f38-f2a6-447b-b2e5-608174c75a2a" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Network.NetworkManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk5223\",\r\n \"id\": \"/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits/onesdk5223\",\r\n \"etag\": \"W/\\\"a8ed3470-9211-46df-a156-b51c6a886567\\\"\",\r\n \"type\": \"Microsoft.Network/expressRouteCircuits\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"46b7c6e2-4cec-4dfa-bd3e-dba552b62f3c\",\r\n \"peerings\": [],\r\n \"authorizations\": [],\r\n \"serviceProviderProperties\": {\r\n \"serviceProviderName\": \"equinix test\",\r\n \"peeringLocation\": \"Silicon Valley Test\",\r\n \"bandwidthInMbps\": 50\r\n },\r\n \"circuitProvisioningState\": \"Enabled\",\r\n \"allowClassicOperations\": true,\r\n \"serviceKey\": \"93e47bf4-d76a-460c-a65f-246ab63f9aa2\",\r\n \"serviceProviderProvisioningState\": \"NotProvisioned\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_MeteredData\",\r\n \"tier\": \"Standard\",\r\n \"family\": \"MeteredData\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "962" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "e3bcd8dd-1ca8-4e1c-8bed-4ea31284954d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14972" + ], + "x-ms-correlation-request-id": [ + "41d42778-5d56-49a9-bb1b-85b24463b32b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T220037Z:41d42778-5d56-49a9-bb1b-85b24463b32b" + ], + "Date": [ + "Thu, 24 Mar 2016 22:00:37 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits/onesdk5223/?api-version=2016-03-30", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Jlc291cmNlR3JvdXBzL21vdmVjaXJjdWl0L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9leHByZXNzUm91dGVDaXJjdWl0cy9vbmVzZGs1MjIzLz9hcGktdmVyc2lvbj0yMDE2LTAzLTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5f44dd0f-88c9-4e35-84b5-072f969dc1ae" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Network.NetworkManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk5223\",\r\n \"id\": \"/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits/onesdk5223\",\r\n \"etag\": \"W/\\\"a8ed3470-9211-46df-a156-b51c6a886567\\\"\",\r\n \"type\": \"Microsoft.Network/expressRouteCircuits\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"46b7c6e2-4cec-4dfa-bd3e-dba552b62f3c\",\r\n \"peerings\": [],\r\n \"authorizations\": [],\r\n \"serviceProviderProperties\": {\r\n \"serviceProviderName\": \"equinix test\",\r\n \"peeringLocation\": \"Silicon Valley Test\",\r\n \"bandwidthInMbps\": 50\r\n },\r\n \"circuitProvisioningState\": \"Enabled\",\r\n \"allowClassicOperations\": true,\r\n \"serviceKey\": \"93e47bf4-d76a-460c-a65f-246ab63f9aa2\",\r\n \"serviceProviderProvisioningState\": \"NotProvisioned\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_MeteredData\",\r\n \"tier\": \"Standard\",\r\n \"family\": \"MeteredData\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "962" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "6a7f14d1-8b64-499e-841b-d5ae07357195" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14971" + ], + "x-ms-correlation-request-id": [ + "4f6bb697-e624-469b-a1e1-15375e58a12a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T220037Z:4f6bb697-e624-469b-a1e1-15375e58a12a" + ], + "Date": [ + "Thu, 24 Mar 2016 22:00:37 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits/onesdk5223/?api-version=2016-03-30", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Jlc291cmNlR3JvdXBzL21vdmVjaXJjdWl0L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9leHByZXNzUm91dGVDaXJjdWl0cy9vbmVzZGs1MjIzLz9hcGktdmVyc2lvbj0yMDE2LTAzLTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Network.NetworkManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk5223\",\r\n \"id\": \"/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits/onesdk5223\",\r\n \"etag\": \"W/\\\"75796909-d779-49f4-ab30-30ddc4a449fb\\\"\",\r\n \"type\": \"Microsoft.Network/expressRouteCircuits\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"46b7c6e2-4cec-4dfa-bd3e-dba552b62f3c\",\r\n \"peerings\": [],\r\n \"authorizations\": [],\r\n \"serviceProviderProperties\": {\r\n \"serviceProviderName\": \"equinix test\",\r\n \"peeringLocation\": \"Silicon Valley Test\",\r\n \"bandwidthInMbps\": 50\r\n },\r\n \"circuitProvisioningState\": \"Enabled\",\r\n \"allowClassicOperations\": false,\r\n \"serviceKey\": \"93e47bf4-d76a-460c-a65f-246ab63f9aa2\",\r\n \"serviceProviderProvisioningState\": \"NotProvisioned\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_MeteredData\",\r\n \"tier\": \"Standard\",\r\n \"family\": \"MeteredData\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "963" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "bf21e03a-a16c-4863-aa2e-6adef6db8522" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14969" + ], + "x-ms-correlation-request-id": [ + "55ed5337-ba3e-4467-b917-d10066a01a4c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T220108Z:55ed5337-ba3e-4467-b917-d10066a01a4c" + ], + "Date": [ + "Thu, 24 Mar 2016 22:01:07 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits/onesdk5223/?api-version=2016-03-30", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Jlc291cmNlR3JvdXBzL21vdmVjaXJjdWl0L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9leHByZXNzUm91dGVDaXJjdWl0cy9vbmVzZGs1MjIzLz9hcGktdmVyc2lvbj0yMDE2LTAzLTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "dc61b182-5a3f-45dd-909b-f1f2c6331383" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Network.NetworkManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk5223\",\r\n \"id\": \"/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits/onesdk5223\",\r\n \"etag\": \"W/\\\"75796909-d779-49f4-ab30-30ddc4a449fb\\\"\",\r\n \"type\": \"Microsoft.Network/expressRouteCircuits\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"46b7c6e2-4cec-4dfa-bd3e-dba552b62f3c\",\r\n \"peerings\": [],\r\n \"authorizations\": [],\r\n \"serviceProviderProperties\": {\r\n \"serviceProviderName\": \"equinix test\",\r\n \"peeringLocation\": \"Silicon Valley Test\",\r\n \"bandwidthInMbps\": 50\r\n },\r\n \"circuitProvisioningState\": \"Enabled\",\r\n \"allowClassicOperations\": false,\r\n \"serviceKey\": \"93e47bf4-d76a-460c-a65f-246ab63f9aa2\",\r\n \"serviceProviderProvisioningState\": \"NotProvisioned\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_MeteredData\",\r\n \"tier\": \"Standard\",\r\n \"family\": \"MeteredData\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "963" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "60236a2a-cbf5-46fc-a0dd-b84db1b56616" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14968" + ], + "x-ms-correlation-request-id": [ + "8998afbd-f96c-49c7-83b7-62bbda069df7" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T220109Z:8998afbd-f96c-49c7-83b7-62bbda069df7" + ], + "Date": [ + "Thu, 24 Mar 2016 22:01:08 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits/onesdk5223/?api-version=2016-03-30", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Jlc291cmNlR3JvdXBzL21vdmVjaXJjdWl0L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9leHByZXNzUm91dGVDaXJjdWl0cy9vbmVzZGs1MjIzLz9hcGktdmVyc2lvbj0yMDE2LTAzLTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "8453f218-fdf8-498c-9ab4-d319b60f6830" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Network.NetworkManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk5223\",\r\n \"id\": \"/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits/onesdk5223\",\r\n \"etag\": \"W/\\\"75796909-d779-49f4-ab30-30ddc4a449fb\\\"\",\r\n \"type\": \"Microsoft.Network/expressRouteCircuits\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"46b7c6e2-4cec-4dfa-bd3e-dba552b62f3c\",\r\n \"peerings\": [],\r\n \"authorizations\": [],\r\n \"serviceProviderProperties\": {\r\n \"serviceProviderName\": \"equinix test\",\r\n \"peeringLocation\": \"Silicon Valley Test\",\r\n \"bandwidthInMbps\": 50\r\n },\r\n \"circuitProvisioningState\": \"Enabled\",\r\n \"allowClassicOperations\": false,\r\n \"serviceKey\": \"93e47bf4-d76a-460c-a65f-246ab63f9aa2\",\r\n \"serviceProviderProvisioningState\": \"NotProvisioned\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_MeteredData\",\r\n \"tier\": \"Standard\",\r\n \"family\": \"MeteredData\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "963" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "b8eec1d1-78eb-4f92-8fce-fda50c60414c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14967" + ], + "x-ms-correlation-request-id": [ + "e3623e19-4470-42ff-ba39-b177fc2fa9c9" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T220109Z:e3623e19-4470-42ff-ba39-b177fc2fa9c9" + ], + "Date": [ + "Thu, 24 Mar 2016 22:01:08 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits/onesdk5223/?api-version=2016-03-30", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Jlc291cmNlR3JvdXBzL21vdmVjaXJjdWl0L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9leHByZXNzUm91dGVDaXJjdWl0cy9vbmVzZGs1MjIzLz9hcGktdmVyc2lvbj0yMDE2LTAzLTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Network.NetworkManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk5223\",\r\n \"id\": \"/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits/onesdk5223\",\r\n \"etag\": \"W/\\\"e9385221-3c9b-4c2e-80ef-61ee864e77ac\\\"\",\r\n \"type\": \"Microsoft.Network/expressRouteCircuits\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"46b7c6e2-4cec-4dfa-bd3e-dba552b62f3c\",\r\n \"peerings\": [],\r\n \"authorizations\": [],\r\n \"serviceProviderProperties\": {\r\n \"serviceProviderName\": \"equinix test\",\r\n \"peeringLocation\": \"Silicon Valley Test\",\r\n \"bandwidthInMbps\": 50\r\n },\r\n \"circuitProvisioningState\": \"Enabled\",\r\n \"allowClassicOperations\": false,\r\n \"serviceKey\": \"93e47bf4-d76a-460c-a65f-246ab63f9aa2\",\r\n \"serviceProviderProvisioningState\": \"NotProvisioned\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_MeteredData\",\r\n \"tier\": \"Standard\",\r\n \"family\": \"MeteredData\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "963" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "4622f137-984e-4a2c-9146-94844f070ca9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14965" + ], + "x-ms-correlation-request-id": [ + "cf5286e0-0981-4b6d-81aa-12643da25334" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T220141Z:cf5286e0-0981-4b6d-81aa-12643da25334" + ], + "Date": [ + "Thu, 24 Mar 2016 22:01:40 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits/onesdk5223/?api-version=2016-03-30", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Jlc291cmNlR3JvdXBzL21vdmVjaXJjdWl0L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9leHByZXNzUm91dGVDaXJjdWl0cy9vbmVzZGs1MjIzLz9hcGktdmVyc2lvbj0yMDE2LTAzLTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "65fa5c35-4495-4d98-b616-53d20cf6c87a" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Network.NetworkManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk5223\",\r\n \"id\": \"/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits/onesdk5223\",\r\n \"etag\": \"W/\\\"e9385221-3c9b-4c2e-80ef-61ee864e77ac\\\"\",\r\n \"type\": \"Microsoft.Network/expressRouteCircuits\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"46b7c6e2-4cec-4dfa-bd3e-dba552b62f3c\",\r\n \"peerings\": [],\r\n \"authorizations\": [],\r\n \"serviceProviderProperties\": {\r\n \"serviceProviderName\": \"equinix test\",\r\n \"peeringLocation\": \"Silicon Valley Test\",\r\n \"bandwidthInMbps\": 50\r\n },\r\n \"circuitProvisioningState\": \"Enabled\",\r\n \"allowClassicOperations\": false,\r\n \"serviceKey\": \"93e47bf4-d76a-460c-a65f-246ab63f9aa2\",\r\n \"serviceProviderProvisioningState\": \"NotProvisioned\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_MeteredData\",\r\n \"tier\": \"Standard\",\r\n \"family\": \"MeteredData\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "963" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "822e7ba6-b328-41e5-a0c8-d696425aed71" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14964" + ], + "x-ms-correlation-request-id": [ + "97770cb8-8c95-4943-8b43-69bda3d26051" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T220141Z:97770cb8-8c95-4943-8b43-69bda3d26051" + ], + "Date": [ + "Thu, 24 Mar 2016 22:01:41 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits/onesdk5223/?api-version=2016-03-30", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Jlc291cmNlR3JvdXBzL21vdmVjaXJjdWl0L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9leHByZXNzUm91dGVDaXJjdWl0cy9vbmVzZGs1MjIzLz9hcGktdmVyc2lvbj0yMDE2LTAzLTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "27a04c35-5e5d-44c4-9886-148c52779baf" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Network.NetworkManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk5223\",\r\n \"id\": \"/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits/onesdk5223\",\r\n \"etag\": \"W/\\\"e9385221-3c9b-4c2e-80ef-61ee864e77ac\\\"\",\r\n \"type\": \"Microsoft.Network/expressRouteCircuits\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"46b7c6e2-4cec-4dfa-bd3e-dba552b62f3c\",\r\n \"peerings\": [],\r\n \"authorizations\": [],\r\n \"serviceProviderProperties\": {\r\n \"serviceProviderName\": \"equinix test\",\r\n \"peeringLocation\": \"Silicon Valley Test\",\r\n \"bandwidthInMbps\": 50\r\n },\r\n \"circuitProvisioningState\": \"Enabled\",\r\n \"allowClassicOperations\": false,\r\n \"serviceKey\": \"93e47bf4-d76a-460c-a65f-246ab63f9aa2\",\r\n \"serviceProviderProvisioningState\": \"NotProvisioned\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_MeteredData\",\r\n \"tier\": \"Standard\",\r\n \"family\": \"MeteredData\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "963" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "ba627d35-988a-4d80-806c-39cd4a5f5048" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14963" + ], + "x-ms-correlation-request-id": [ + "f0d7d114-3c03-4a16-afb7-bc95fe34a2e6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T220142Z:f0d7d114-3c03-4a16-afb7-bc95fe34a2e6" + ], + "Date": [ + "Thu, 24 Mar 2016 22:01:41 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits/onesdk5223/?api-version=2016-03-30", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Jlc291cmNlR3JvdXBzL21vdmVjaXJjdWl0L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9leHByZXNzUm91dGVDaXJjdWl0cy9vbmVzZGs1MjIzLz9hcGktdmVyc2lvbj0yMDE2LTAzLTMw", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard_MeteredData\",\r\n \"tier\": \"Standard\",\r\n \"family\": \"MeteredData\"\r\n },\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"allowClassicOperations\": true,\r\n \"authorizations\": [],\r\n \"peerings\": [],\r\n \"serviceProviderProperties\": {\r\n \"serviceProviderName\": \"equinix test\",\r\n \"peeringLocation\": \"Silicon Valley Test\",\r\n \"bandwidthInMbps\": 50\r\n }\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "414" + ], + "x-ms-client-request-id": [ + "48f12f4d-3eef-4812-add0-c5a1f9109bd8" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Network.NetworkManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk5223\",\r\n \"id\": \"/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits/onesdk5223\",\r\n \"etag\": \"W/\\\"c91fec1b-66a0-465a-8320-c14d5190bbca\\\"\",\r\n \"type\": \"Microsoft.Network/expressRouteCircuits\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"46b7c6e2-4cec-4dfa-bd3e-dba552b62f3c\",\r\n \"peerings\": [],\r\n \"authorizations\": [],\r\n \"serviceProviderProperties\": {\r\n \"serviceProviderName\": \"equinix test\",\r\n \"peeringLocation\": \"Silicon Valley Test\",\r\n \"bandwidthInMbps\": 50\r\n },\r\n \"circuitProvisioningState\": \"Disabled\",\r\n \"allowClassicOperations\": true,\r\n \"serviceKey\": \"00000000-0000-0000-0000-000000000000\",\r\n \"serviceProviderProvisioningState\": \"NotProvisioned\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_MeteredData\",\r\n \"tier\": \"Standard\",\r\n \"family\": \"MeteredData\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "962" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "10" + ], + "x-ms-request-id": [ + "778d1afa-7ba1-47db-9225-9169cff38203" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/providers/Microsoft.Network/locations/westus.validation/operations/778d1afa-7ba1-47db-9225-9169cff38203?api-version=2016-03-30" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "407f561d-70b5-4824-9424-bc4ef4d44f1c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T220006Z:407f561d-70b5-4824-9424-bc4ef4d44f1c" + ], + "Date": [ + "Thu, 24 Mar 2016 22:00:05 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits/onesdk5223/?api-version=2016-03-30", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Jlc291cmNlR3JvdXBzL21vdmVjaXJjdWl0L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9leHByZXNzUm91dGVDaXJjdWl0cy9vbmVzZGs1MjIzLz9hcGktdmVyc2lvbj0yMDE2LTAzLTMw", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard_MeteredData\",\r\n \"tier\": \"Standard\",\r\n \"family\": \"MeteredData\"\r\n },\r\n \"etag\": \"W/\\\"a8ed3470-9211-46df-a156-b51c6a886567\\\"\",\r\n \"id\": \"/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits/onesdk5223\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"allowClassicOperations\": false,\r\n \"circuitProvisioningState\": \"Enabled\",\r\n \"serviceProviderProvisioningState\": \"NotProvisioned\",\r\n \"authorizations\": [],\r\n \"peerings\": [],\r\n \"serviceKey\": \"93e47bf4-d76a-460c-a65f-246ab63f9aa2\",\r\n \"serviceProviderProperties\": {\r\n \"serviceProviderName\": \"equinix test\",\r\n \"peeringLocation\": \"Silicon Valley Test\",\r\n \"bandwidthInMbps\": 50\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "824" + ], + "x-ms-client-request-id": [ + "03109830-afb8-49b0-953b-1ad123788968" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Network.NetworkManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk5223\",\r\n \"id\": \"/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits/onesdk5223\",\r\n \"etag\": \"W/\\\"599d2367-0c6e-4bbd-9138-6373a2b085ce\\\"\",\r\n \"type\": \"Microsoft.Network/expressRouteCircuits\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"46b7c6e2-4cec-4dfa-bd3e-dba552b62f3c\",\r\n \"peerings\": [],\r\n \"authorizations\": [],\r\n \"serviceProviderProperties\": {\r\n \"serviceProviderName\": \"equinix test\",\r\n \"peeringLocation\": \"Silicon Valley Test\",\r\n \"bandwidthInMbps\": 50\r\n },\r\n \"circuitProvisioningState\": \"Disabled\",\r\n \"allowClassicOperations\": false,\r\n \"serviceKey\": \"93e47bf4-d76a-460c-a65f-246ab63f9aa2\",\r\n \"serviceProviderProvisioningState\": \"NotProvisioned\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_MeteredData\",\r\n \"tier\": \"Standard\",\r\n \"family\": \"MeteredData\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "963" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "10" + ], + "x-ms-request-id": [ + "4ac6c25b-4b70-42ef-8e5a-8acdba913a57" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/providers/Microsoft.Network/locations/westus.validation/operations/4ac6c25b-4b70-42ef-8e5a-8acdba913a57?api-version=2016-03-30" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "6a8341c3-b101-4de8-b741-083bdff3f6a9" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T220038Z:6a8341c3-b101-4de8-b741-083bdff3f6a9" + ], + "Date": [ + "Thu, 24 Mar 2016 22:00:38 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits/onesdk5223/?api-version=2016-03-30", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Jlc291cmNlR3JvdXBzL21vdmVjaXJjdWl0L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9leHByZXNzUm91dGVDaXJjdWl0cy9vbmVzZGs1MjIzLz9hcGktdmVyc2lvbj0yMDE2LTAzLTMw", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"authorizations\": [],\r\n \"peerings\": [],\r\n \"serviceKey\": \"93e47bf4-d76a-460c-a65f-246ab63f9aa2\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "159" + ], + "x-ms-client-request-id": [ + "5b665f52-7125-4f8b-8887-851c423cf661" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Network.NetworkManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"onesdk5223\",\r\n \"id\": \"/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits/onesdk5223\",\r\n \"etag\": \"W/\\\"a0d52198-e766-4eab-a9af-0d753b8b3588\\\"\",\r\n \"type\": \"Microsoft.Network/expressRouteCircuits\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"46b7c6e2-4cec-4dfa-bd3e-dba552b62f3c\",\r\n \"peerings\": [],\r\n \"authorizations\": [],\r\n \"circuitProvisioningState\": \"Disabled\",\r\n \"allowClassicOperations\": false,\r\n \"serviceKey\": \"93e47bf4-d76a-460c-a65f-246ab63f9aa2\",\r\n \"serviceProviderProvisioningState\": \"NotProvisioned\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "686" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "10" + ], + "x-ms-request-id": [ + "029a37ed-6652-4a26-95f7-bc6a4b6b493f" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/providers/Microsoft.Network/locations/westus.validation/operations/029a37ed-6652-4a26-95f7-bc6a4b6b493f?api-version=2016-03-30" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "c2a3054b-cf3d-4086-a22e-e9a63f0ca7c2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T220111Z:c2a3054b-cf3d-4086-a22e-e9a63f0ca7c2" + ], + "Date": [ + "Thu, 24 Mar 2016 22:01:11 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/providers/Microsoft.Network/locations/westus.validation/operations/778d1afa-7ba1-47db-9225-9169cff38203?api-version=2016-03-30", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9sb2NhdGlvbnMvd2VzdHVzLnZhbGlkYXRpb24vb3BlcmF0aW9ucy83NzhkMWFmYS03YmExLTQ3ZGItOTIyNS05MTY5Y2ZmMzgyMDM/YXBpLXZlcnNpb249MjAxNi0wMy0zMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Network.NetworkManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "29" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "ecbcbcc2-d044-4799-8386-fb91f54a3dd2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14975" + ], + "x-ms-correlation-request-id": [ + "c4223198-445b-4887-bba0-2c5b256bd1d0" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T220036Z:c4223198-445b-4887-bba0-2c5b256bd1d0" + ], + "Date": [ + "Thu, 24 Mar 2016 22:00:36 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/providers/Microsoft.Network/locations/westus.validation/operations/4ac6c25b-4b70-42ef-8e5a-8acdba913a57?api-version=2016-03-30", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9sb2NhdGlvbnMvd2VzdHVzLnZhbGlkYXRpb24vb3BlcmF0aW9ucy80YWM2YzI1Yi00YjcwLTQyZWYtOGU1YS04YWNkYmE5MTNhNTc/YXBpLXZlcnNpb249MjAxNi0wMy0zMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Network.NetworkManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "29" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "3d8fec84-924f-4b60-94d6-e0e4b469a431" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14970" + ], + "x-ms-correlation-request-id": [ + "ec5f8d5e-3a28-4a9d-9374-852ff1ad2400" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T220108Z:ec5f8d5e-3a28-4a9d-9374-852ff1ad2400" + ], + "Date": [ + "Thu, 24 Mar 2016 22:01:07 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/providers/Microsoft.Network/locations/westus.validation/operations/029a37ed-6652-4a26-95f7-bc6a4b6b493f?api-version=2016-03-30", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9sb2NhdGlvbnMvd2VzdHVzLnZhbGlkYXRpb24vb3BlcmF0aW9ucy8wMjlhMzdlZC02NjUyLTRhMjYtOTVmNy1iYzZhNGI2YjQ5M2Y/YXBpLXZlcnNpb249MjAxNi0wMy0zMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Network.NetworkManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "29" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "dfabbf6f-83db-47a8-ab6d-97cc196cc5c5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14966" + ], + "x-ms-correlation-request-id": [ + "2eea96e8-e917-4dca-ab3e-7ff9297235f1" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T220141Z:2eea96e8-e917-4dca-ab3e-7ff9297235f1" + ], + "Date": [ + "Thu, 24 Mar 2016 22:01:40 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits/onesdk5223/?api-version=2016-03-30", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Jlc291cmNlR3JvdXBzL21vdmVjaXJjdWl0L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9leHByZXNzUm91dGVDaXJjdWl0cy9vbmVzZGs1MjIzLz9hcGktdmVyc2lvbj0yMDE2LTAzLTMw", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "893f2e95-5e16-4017-97d8-41a9e04ac0d0" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Network.NetworkManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "10" + ], + "x-ms-request-id": [ + "3924a26e-b4aa-4170-b2ca-2467b6a943ba" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/providers/Microsoft.Network/locations/westus.validation/operations/3924a26e-b4aa-4170-b2ca-2467b6a943ba?api-version=2016-03-30" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/providers/Microsoft.Network/locations/westus.validation/operationResults/3924a26e-b4aa-4170-b2ca-2467b6a943ba?api-version=2016-03-30" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-correlation-request-id": [ + "907d60df-afac-47e5-913c-a8eac89f1f90" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T220142Z:907d60df-afac-47e5-913c-a8eac89f1f90" + ], + "Date": [ + "Thu, 24 Mar 2016 22:01:42 GMT" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/providers/Microsoft.Network/locations/westus.validation/operations/3924a26e-b4aa-4170-b2ca-2467b6a943ba?api-version=2016-03-30", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9sb2NhdGlvbnMvd2VzdHVzLnZhbGlkYXRpb24vb3BlcmF0aW9ucy8zOTI0YTI2ZS1iNGFhLTQxNzAtYjJjYS0yNDY3YjZhOTQzYmE/YXBpLXZlcnNpb249MjAxNi0wMy0zMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Network.NetworkManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "29" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "8d522ad5-b301-482f-9b2c-02dbfd92f3b5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14962" + ], + "x-ms-correlation-request-id": [ + "14e6058c-0a4a-47ec-b754-d37f1cb09a2c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T220213Z:14e6058c-0a4a-47ec-b754-d37f1cb09a2c" + ], + "Date": [ + "Thu, 24 Mar 2016 22:02:12 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits?api-version=2016-03-30", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Jlc291cmNlR3JvdXBzL21vdmVjaXJjdWl0L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9leHByZXNzUm91dGVDaXJjdWl0cz9hcGktdmVyc2lvbj0yMDE2LTAzLTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "21316ca6-d235-439b-8879-515f62348787" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Network.NetworkManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14961" + ], + "x-ms-request-id": [ + "bdb77495-2f39-4621-84d4-c33485b2d4b4" + ], + "x-ms-correlation-request-id": [ + "bdb77495-2f39-4621-84d4-c33485b2d4b4" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T220213Z:bdb77495-2f39-4621-84d4-c33485b2d4b4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 24 Mar 2016 22:02:12 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourcegroups/movecircuit?api-version=2016-02-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Jlc291cmNlZ3JvdXBzL21vdmVjaXJjdWl0P2FwaS12ZXJzaW9uPTIwMTYtMDItMDE=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-request-id": [ + "f0ecfdb9-768f-4c20-9fe0-0d3f5e79d6cf" + ], + "x-ms-correlation-request-id": [ + "f0ecfdb9-768f-4c20-9fe0-0d3f5e79d6cf" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T220213Z:f0ecfdb9-768f-4c20-9fe0-0d3f5e79d6cf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 24 Mar 2016 22:02:13 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1NT1ZFQ0lSQ1VJVC1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2016-02-01" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1NT1ZFQ0lSQ1VJVC1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2016-02-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFOVDFaRlEwbFNRMVZKVkMxWFJWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbmRsYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wMi0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2016-02-01" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14991" + ], + "x-ms-request-id": [ + "2a09946d-80e2-48e0-bf4a-82adf72e8533" + ], + "x-ms-correlation-request-id": [ + "2a09946d-80e2-48e0-bf4a-82adf72e8533" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T220213Z:2a09946d-80e2-48e0-bf4a-82adf72e8533" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 24 Mar 2016 22:02:13 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1NT1ZFQ0lSQ1VJVC1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2016-02-01" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1NT1ZFQ0lSQ1VJVC1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2016-02-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFOVDFaRlEwbFNRMVZKVkMxWFJWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbmRsYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wMi0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2016-02-01" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14990" + ], + "x-ms-request-id": [ + "52fc2aec-0008-44ac-8781-e37aa2ea8c60" + ], + "x-ms-correlation-request-id": [ + "52fc2aec-0008-44ac-8781-e37aa2ea8c60" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T220228Z:52fc2aec-0008-44ac-8781-e37aa2ea8c60" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 24 Mar 2016 22:02:28 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1NT1ZFQ0lSQ1VJVC1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2016-02-01" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1NT1ZFQ0lSQ1VJVC1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2016-02-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFOVDFaRlEwbFNRMVZKVkMxWFJWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbmRsYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wMi0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2016-02-01" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14989" + ], + "x-ms-request-id": [ + "e0060809-61e2-41cc-ba2b-8cd97e5d3290" + ], + "x-ms-correlation-request-id": [ + "e0060809-61e2-41cc-ba2b-8cd97e5d3290" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T220244Z:e0060809-61e2-41cc-ba2b-8cd97e5d3290" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 24 Mar 2016 22:02:43 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1NT1ZFQ0lSQ1VJVC1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2016-02-01" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1NT1ZFQ0lSQ1VJVC1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2016-02-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFOVDFaRlEwbFNRMVZKVkMxWFJWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbmRsYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wMi0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2016-02-01" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14988" + ], + "x-ms-request-id": [ + "3da84a87-6c31-4511-9a3a-8e763b23f61d" + ], + "x-ms-correlation-request-id": [ + "3da84a87-6c31-4511-9a3a-8e763b23f61d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T220259Z:3da84a87-6c31-4511-9a3a-8e763b23f61d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 24 Mar 2016 22:02:59 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-ExpressRouteCircuitStageCRUD": [ + "onesdk5223" + ] + }, + "Variables": { + "SubscriptionId": "18b0dc06-a2b8-4c0f-95af-550319fa5eac" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj b/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj index 4c98bff8a88a..931488d21b02 100644 --- a/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj +++ b/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj @@ -159,9 +159,6 @@ ..\..\..\packages\AutoMapper.3.1.1\lib\net40\AutoMapper.Net4.dll - - ..\..\..\lib\Microsoft.Azure.Management.Storage.dll - @@ -246,6 +243,7 @@ + @@ -281,8 +279,6 @@ - - diff --git a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/MoveAzureExpressRouteCircuitCommand.cs b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/MoveAzureExpressRouteCircuitCommand.cs new file mode 100644 index 000000000000..b4116de7ac1b --- /dev/null +++ b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/MoveAzureExpressRouteCircuitCommand.cs @@ -0,0 +1,116 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using AutoMapper; +using Microsoft.Azure.Commands.Tags.Model; +using Microsoft.Azure.Management.Network; +using Microsoft.Azure.Commands.Network.Models; +using MNM = Microsoft.Azure.Management.Network.Models; + +namespace Microsoft.Azure.Commands.Network +{ + using System.Collections; + + [Cmdlet(VerbsCommon.Move, "AzureRmExpressRouteCircuit"), OutputType(typeof(PSExpressRouteCircuit))] + public class MoveAzureExpressRouteCircuitCommand : ExpressRouteCircuitBaseCmdlet + { + [Alias("ResourceName")] + [Parameter( + Mandatory = true, + ValueFromPipelineByPropertyName = true, + HelpMessage = "The resource name.")] + [ValidateNotNullOrEmpty] + public virtual string Name { get; set; } + + [Parameter( + Mandatory = true, + ValueFromPipelineByPropertyName = true, + HelpMessage = "The resource group name.")] + [ValidateNotNullOrEmpty] + public virtual string ResourceGroupName { get; set; } + + [Parameter( + Mandatory = true, + ValueFromPipelineByPropertyName = true, + HelpMessage = "The location.")] + [ValidateNotNullOrEmpty] + public virtual string Location { get; set; } + + [Parameter( + Mandatory = true, + ValueFromPipelineByPropertyName = true, + HelpMessage = "The location.")] + [ValidateNotNullOrEmpty] + public virtual string ServiceKey { get; set; } + + [Parameter( + Mandatory = false, + ValueFromPipelineByPropertyName = true, + HelpMessage = "An array of hashtables which represents resource tags.")] + public Hashtable[] Tag { get; set; } + + [Parameter( + Mandatory = false, + HelpMessage = "Do not ask for confirmation if you want to overrite a resource")] + public SwitchParameter Force { get; set; } + + public override void ExecuteCmdlet() + { + base.ExecuteCmdlet(); + + if (this.IsExpressRouteCircuitPresent(this.ResourceGroupName, this.Name)) + { + ConfirmAction( + Force.IsPresent, + string.Format(Microsoft.Azure.Commands.Network.Properties.Resources.OverwritingResource, Name), + Microsoft.Azure.Commands.Network.Properties.Resources.OverwritingResourceMessage, + Name, + () => CreateExpressRouteCircuit()); + + WriteObject(this.GetExpressRouteCircuit(this.ResourceGroupName, this.Name)); + } + else + { + var ExpressRouteCircuit = CreateExpressRouteCircuit(); + + WriteObject(ExpressRouteCircuit); + } + } + + private PSExpressRouteCircuit CreateExpressRouteCircuit() + { + var circuit = new PSExpressRouteCircuit(); + circuit.Name = this.Name; + circuit.ServiceKey = this.ServiceKey; + circuit.ResourceGroupName = this.ResourceGroupName; + circuit.Location = this.Location; + + // Map to the sdk object + var circuitModel = Mapper.Map(circuit); + circuitModel.Tags = TagsConversionHelper.CreateTagDictionary(this.Tag, validate: true); + + // Execute the Create ExpressRouteCircuit call + this.ExpressRouteCircuitClient.CreateOrUpdate(this.ResourceGroupName, this.Name, circuitModel); + + var getExpressRouteCircuit = this.GetExpressRouteCircuit(this.ResourceGroupName, this.Name); + return getExpressRouteCircuit; + } + } +} + + + + diff --git a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/NewAzureExpressRouteCircuitCommand.cs b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/NewAzureExpressRouteCircuitCommand.cs index 74e4dea6082d..2ce9024925d4 100644 --- a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/NewAzureExpressRouteCircuitCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/NewAzureExpressRouteCircuitCommand.cs @@ -95,6 +95,13 @@ public class NewAzureExpressRouteCircuitCommand : ExpressRouteCircuitBaseCmdlet [ValidateNotNullOrEmpty] public List Authorization { get; set; } + [Parameter( + Mandatory = false, + ValueFromPipelineByPropertyName = true)] + [ValidateNotNullOrEmpty] + public bool? AllowClassicOperations { get; set; } + + [Parameter( Mandatory = false, ValueFromPipelineByPropertyName = true, @@ -158,6 +165,7 @@ private PSExpressRouteCircuit CreateExpressRouteCircuit() circuit.Peerings = this.Peering; circuit.Authorizations = new List(); circuit.Authorizations = this.Authorization; + circuit.AllowClassicOperations = this.AllowClassicOperations; // Map to the sdk object var circuitModel = Mapper.Map(circuit); diff --git a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/SetAzureExpressRouteCircuitCommand.cs b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/SetAzureExpressRouteCircuitCommand.cs index 7d53ff1e2fe7..172008100bb3 100644 --- a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/SetAzureExpressRouteCircuitCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/SetAzureExpressRouteCircuitCommand.cs @@ -44,7 +44,7 @@ public override void ExecuteCmdlet() var circuitModel = Mapper.Map(this.ExpressRouteCircuit); circuitModel.Tags = TagsConversionHelper.CreateTagDictionary(this.ExpressRouteCircuit.Tag, validate: true); - // Execute the Create ExpressRouteCircuit call + // Execute the Create ExpressRouteCircuit call this.ExpressRouteCircuitClient.CreateOrUpdate(this.ExpressRouteCircuit.ResourceGroupName, this.ExpressRouteCircuit.Name, circuitModel); var getExpressRouteCircuit = this.GetExpressRouteCircuit(this.ExpressRouteCircuit.ResourceGroupName, this.ExpressRouteCircuit.Name); diff --git a/src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.Network.dll-Help.xml b/src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.Network.dll-Help.xml index 19a69de103bb..d9e8774e931d 100644 --- a/src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.Network.dll-Help.xml +++ b/src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.Network.dll-Help.xml @@ -25509,6 +25509,143 @@ PS C:\> $Cert = Set-AzureRmApplicationGatewaySslCertificate –ApplicationGat + + + Move-AzureRmExpressRouteCircuit + + + + + + + Move + AzureRmExpressRouteCircuit + + + + + + + + Move-AzureRmExpressRouteCircuit + + Name + + + + String + + + ResourceGroupName + + + + String + + + Location + + + + String + + + ServiceKey + + + + String + + + + + + Name + + + + String + + String + + + + + + ResourceGroupName + + + + String + + String + + + + + + Location + + + + String + + String + + + + + + ServiceKey + + + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Set-AzureRmExpressRouteCircuit diff --git a/src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.Network.format.ps1xml b/src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.Network.format.ps1xml index 1b07735b03bb..b294042a2c34 100644 --- a/src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.Network.format.ps1xml +++ b/src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.Network.format.ps1xml @@ -1019,7 +1019,11 @@ AuthorizationsText - + + + + AllowClassicOperations + diff --git a/src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuit.cs b/src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuit.cs index 6a0fce8d26db..dd9a1dc3ca4a 100644 --- a/src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuit.cs +++ b/src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuit.cs @@ -20,6 +20,8 @@ namespace Microsoft.Azure.Commands.Network.Models public class PSExpressRouteCircuit : PSTopLevelResource { + public bool? AllowClassicOperations { get; set; } + public string CircuitProvisioningState { get; set; } public string ServiceProviderProvisioningState { get; set; } diff --git a/src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuitArpTable.cs b/src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuitArpTable.cs deleted file mode 100644 index 822ab69eb299..000000000000 --- a/src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuitArpTable.cs +++ /dev/null @@ -1,24 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -namespace Microsoft.Azure.Commands.Network.Models -{ - public class PSExpressRouteCircuitArpTable - { - public string IPAddress { get; set; } - - public string MacAddress { get; set; } - } -} diff --git a/src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuitRoutesTable.cs b/src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuitRoutesTable.cs deleted file mode 100644 index 0b59143208ed..000000000000 --- a/src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuitRoutesTable.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -namespace Microsoft.Azure.Commands.Network.Models -{ - public class PSExpressRouteCircuitRoutesTable - { - public string AddressPrefix { get; set; } - - public string NextHopType { get; set; } - - public string NextHopIP { get; set; } - - public string AsPath { get; set; } - } -}