From 078068b4ee2caf1e56d505941205af7ffc424630 Mon Sep 17 00:00:00 2001 From: dihan Date: Mon, 7 Mar 2016 18:04:39 -0800 Subject: [PATCH 01/14] Stats API --- .../Commands.Network/Commands.Network.csproj | 5 ++ .../Common/NetworkResourceManagerProfile.cs | 9 ++- .../GetAzureExpressRouteARPTableCommand.cs | 80 +++++++++++++++++++ .../GetAzureExpressRouteRouteTableCommand.cs | 77 ++++++++++++++++++ .../Stats/GetAzureExpressRouteStatsCommand.cs | 73 +++++++++++++++++ .../Models/PSExpressRouteCircuitArpTable.cs | 6 +- .../PSExpressRouteCircuitRoutesTable.cs | 11 ++- ...PSExpressRouteCircuitRoutesTableSummary.cs | 22 +++++ .../Models/PSExpressRouteCircuitStats.cs | 20 +++++ 9 files changed, 297 insertions(+), 6 deletions(-) create mode 100644 src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteARPTableCommand.cs create mode 100644 src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteRouteTableCommand.cs create mode 100644 src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteStatsCommand.cs create mode 100644 src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuitRoutesTableSummary.cs create mode 100644 src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuitStats.cs diff --git a/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj b/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj index 4c98bff8a88a..bc3956280737 100644 --- a/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj +++ b/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj @@ -278,6 +278,8 @@ + + @@ -436,6 +438,9 @@ True True + + + diff --git a/src/ResourceManager/Network/Commands.Network/Common/NetworkResourceManagerProfile.cs b/src/ResourceManager/Network/Commands.Network/Common/NetworkResourceManagerProfile.cs index 9587d2a537e4..e76bd4b145e9 100644 --- a/src/ResourceManager/Network/Commands.Network/Common/NetworkResourceManagerProfile.cs +++ b/src/ResourceManager/Network/Commands.Network/Common/NetworkResourceManagerProfile.cs @@ -196,6 +196,10 @@ protected override void Configure() Mapper.CreateMap(); Mapper.CreateMap(); Mapper.CreateMap(); + Mapper.CreateMap(); + Mapper.CreateMap(); + Mapper.CreateMap(); + Mapper.CreateMap(); // MNM to CNM Mapper.CreateMap(); @@ -203,7 +207,10 @@ protected override void Configure() Mapper.CreateMap(); Mapper.CreateMap(); Mapper.CreateMap(); - + Mapper.CreateMap(); + Mapper.CreateMap(); + Mapper.CreateMap(); + Mapper.CreateMap(); // ExpressRouteCircuitPeering // CNM to MNM Mapper.CreateMap(); diff --git a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteARPTableCommand.cs b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteARPTableCommand.cs new file mode 100644 index 000000000000..b0021dc9b8eb --- /dev/null +++ b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteARPTableCommand.cs @@ -0,0 +1,80 @@ +using System.Collections.Generic; +using System.Management.Automation; +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; + using AutoMapper; + + public enum DevicePathEnum + { + primary, + secondary + } + + [Cmdlet(VerbsCommon.Get, "AzureRmExpressRouteCircuitARPTable"),OutputType(typeof(PSExpressRouteCircuitArpTable))] + public class GetAzureExpressRouteCircuitARPTableCommand : NetworkBaseCmdlet + { + [Alias("ResourceName")] + [Parameter( + Mandatory = false, + 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, + ValueFromPipeline = true, + HelpMessage = "The Name of ExpressRoute Circuit")] + [ValidateNotNullOrEmpty] + public string ExpressRouteCircuitName { get; set; } + + [Parameter( + Mandatory = false, + HelpMessage = "The PeeringType")] + [ValidateSet( + MNM.ExpressRouteCircuitPeeringType.AzurePrivatePeering, + MNM.ExpressRouteCircuitPeeringType.AzurePublicPeering, + MNM.ExpressRouteCircuitPeeringType.MicrosoftPeering, + IgnoreCase = true)] + public string PeeringType { get; set; } + + [Parameter( + Mandatory = true, + HelpMessage = "The DevicePath, can be either Primary or Secondary")] + [ValidateNotNullOrEmpty] + public string DevicePath { get; set; } + + public override void ExecuteCmdlet() + { + base.ExecuteCmdlet(); + DevicePathEnum path; + if (Enum.TryParse(DevicePath, true, out path)) + { + var arpTables = this.NetworkClient.NetworkManagementClient.ExpressRouteCircuits.ListArpTable(ResourceGroupName,ExpressRouteCircuitName,PeeringType,DevicePath); + + var psARPs = new List(); + + foreach (var arpTable in arpTables) + { + var psARP = Mapper.Map(arpTable); + psARPs.Add(psARP); + } + + WriteObject(psARPs, true); + } + } + } + +} diff --git a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteRouteTableCommand.cs b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteRouteTableCommand.cs new file mode 100644 index 000000000000..b724bfbac61b --- /dev/null +++ b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteRouteTableCommand.cs @@ -0,0 +1,77 @@ +using System.Collections.Generic; +using System.Management.Automation; +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; + using AutoMapper; + + [Cmdlet(VerbsCommon.Get, "AzureExpressRouteCircuitRouteTable"), OutputType(typeof(PSExpressRouteCircuitRoutesTable))] + public class GetAzureExpressRouteCircuitRouteTableCommand : NetworkBaseCmdlet + { + [Alias("ResourceName")] + [Parameter( + Mandatory = false, + 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, + ValueFromPipeline = true, + HelpMessage = "The Name of ExpressRoute Circuit")] + [ValidateNotNullOrEmpty] + public string ExpressRouteCircuitName { get; set; } + + [Parameter( + Mandatory = false, + HelpMessage = "The PeeringType")] + [ValidateSet( + MNM.ExpressRouteCircuitPeeringType.AzurePrivatePeering, + MNM.ExpressRouteCircuitPeeringType.AzurePublicPeering, + MNM.ExpressRouteCircuitPeeringType.MicrosoftPeering, + IgnoreCase = true)] + public string PeeringType { get; set; } + + [Parameter( + Mandatory = true, + HelpMessage = "The DevicePath, can be either Primary or Secondary")] + [ValidateNotNullOrEmpty] + public string DevicePath { get; set; } + + public override void ExecuteCmdlet() + { + base.ExecuteCmdlet(); + + DevicePathEnum path; + if (Enum.TryParse(DevicePath, true, out path)) + { + var routeTables = this.NetworkClient.NetworkManagementClient.ExpressRouteCircuits.ListRoutesTable(ResourceGroupName, ExpressRouteCircuitName, PeeringType, DevicePath); + + var psroutes = new List(); + + foreach (var routeTable in routeTables) + { + var psroute = Mapper.Map(routeTable); + psroutes.Add(psroute); + } + + WriteObject(psroutes, true); + } + } + } +} + + + diff --git a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteStatsCommand.cs b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteStatsCommand.cs new file mode 100644 index 000000000000..872a4d19d263 --- /dev/null +++ b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteStatsCommand.cs @@ -0,0 +1,73 @@ +using System.Collections.Generic; +using System.Management.Automation; +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; + + using AutoMapper; + + [Cmdlet(VerbsCommon.Get, "AzureRmExpressRouteCircuitStats"), OutputType(typeof(PSExpressRouteCircuitStats))] + public class GetAzureExpressRouteCircuitStatsCommand : NetworkBaseCmdlet + { + [Alias("ResourceName")] + [Parameter( + Mandatory = false, + 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, + ValueFromPipeline = true, + HelpMessage = "The Name of ExpressRoute Circuit")] + [ValidateNotNullOrEmpty] + public string ExpressRouteCircuitName { get; set; } + + [Parameter( + Mandatory = false, + HelpMessage = "The PeeringType")] + [ValidateSet( + MNM.ExpressRouteCircuitPeeringType.AzurePrivatePeering, + MNM.ExpressRouteCircuitPeeringType.AzurePublicPeering, + MNM.ExpressRouteCircuitPeeringType.MicrosoftPeering, + IgnoreCase = true)] + public string PeeringType { get; set; } + + public override void ExecuteCmdlet() + { + base.ExecuteCmdlet(); + + if (string.IsNullOrEmpty(PeeringType)) + { + var stats = this.NetworkClient.NetworkManagementClient.ExpressRouteCircuits.ListStats( + ResourceGroupName, + ExpressRouteCircuitName); + var psStats = Mapper.Map(stats); + WriteObject(psStats, true); + } + else + { + var stats = this.NetworkClient.NetworkManagementClient.ExpressRouteCircuits.ListPeeringStats( + ResourceGroupName, + ExpressRouteCircuitName, + PeeringType); + var psStats = Mapper.Map(stats); + WriteObject(psStats, true); + } + } + } +} + + diff --git a/src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuitArpTable.cs b/src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuitArpTable.cs index 822ab69eb299..4bf1581a7c83 100644 --- a/src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuitArpTable.cs +++ b/src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuitArpTable.cs @@ -17,7 +17,11 @@ namespace Microsoft.Azure.Commands.Network.Models { public class PSExpressRouteCircuitArpTable { - public string IPAddress { get; set; } + public int? Age { get; set; } + + public string InterfaceProperty { get; set; } + + 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 index 0b59143208ed..a863943f1f01 100644 --- a/src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuitRoutesTable.cs +++ b/src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuitRoutesTable.cs @@ -17,12 +17,15 @@ namespace Microsoft.Azure.Commands.Network.Models { public class PSExpressRouteCircuitRoutesTable { - public string AddressPrefix { get; set; } - public string NextHopType { get; set; } + public string LocPrf { get; set; } - public string NextHopIP { get; set; } + public string Network { get; set; } - public string AsPath { get; set; } + public string NextHop { get; set; } + + public string Path { get; set; } + + public int? Weight { get; set; } } } diff --git a/src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuitRoutesTableSummary.cs b/src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuitRoutesTableSummary.cs new file mode 100644 index 000000000000..2bd6862c66ab --- /dev/null +++ b/src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuitRoutesTableSummary.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Microsoft.Azure.Commands.Network.Models +{ + public class PSExpressRouteCircuitRoutesTableSummary + { + + public int? AsProperty { get; set; } + + public string Neighbor { get; set; } + + public string StatePfxRcd { get; set; } + + public string UpDown { get; set; } + + public int? V { get; set; } + } +} diff --git a/src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuitStats.cs b/src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuitStats.cs new file mode 100644 index 000000000000..f81be57ddd90 --- /dev/null +++ b/src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuitStats.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Microsoft.Azure.Commands.Network.Models +{ + public class PSExpressRouteCircuitStats + { + public ulong PrimaryBytesIn { get; set; } + + public ulong PrimaryBytesOut { get; set; } + + public ulong SecondaryBytesIn { get; set; } + + public ulong SecondaryBytesOut { get; set; } + + } +} From f25af0811fce7be2a5a88182ff1936fd879b8dfe Mon Sep 17 00:00:00 2001 From: dihan Date: Tue, 8 Mar 2016 13:08:08 -0800 Subject: [PATCH 02/14] Stats API --- .../Commands.Network/Commands.Network.csproj | 1 + .../GetAzureExpressRouteARPTableCommand.cs | 8 +-- .../GetAzureExpressRouteRouteTableCommand.cs | 7 +- ...ureExpressRouteRouteTableSummaryCommand.cs | 72 +++++++++++++++++++ 4 files changed, 81 insertions(+), 7 deletions(-) create mode 100644 src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteRouteTableSummaryCommand.cs diff --git a/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj b/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj index bc3956280737..68524d4b60f0 100644 --- a/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj +++ b/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj @@ -246,6 +246,7 @@ + diff --git a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteARPTableCommand.cs b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteARPTableCommand.cs index b0021dc9b8eb..b0965e08bea8 100644 --- a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteARPTableCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteARPTableCommand.cs @@ -7,6 +7,9 @@ namespace Microsoft.Azure.Commands.Network { using System; + using System.Collections; + using System.Linq; + using AutoMapper; public enum DevicePathEnum @@ -62,16 +65,13 @@ public override void ExecuteCmdlet() DevicePathEnum path; if (Enum.TryParse(DevicePath, true, out path)) { - var arpTables = this.NetworkClient.NetworkManagementClient.ExpressRouteCircuits.ListArpTable(ResourceGroupName,ExpressRouteCircuitName,PeeringType,DevicePath); - + var arpTables = this.NetworkClient.NetworkManagementClient.ExpressRouteCircuits.ListArpTable(ResourceGroupName, ExpressRouteCircuitName, PeeringType, DevicePath).Value.Cast().ToList(); var psARPs = new List(); - foreach (var arpTable in arpTables) { var psARP = Mapper.Map(arpTable); psARPs.Add(psARP); } - WriteObject(psARPs, true); } } diff --git a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteRouteTableCommand.cs b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteRouteTableCommand.cs index b724bfbac61b..067870e58c9d 100644 --- a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteRouteTableCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteRouteTableCommand.cs @@ -7,6 +7,8 @@ namespace Microsoft.Azure.Commands.Network { using System; + using System.Linq; + using AutoMapper; [Cmdlet(VerbsCommon.Get, "AzureExpressRouteCircuitRouteTable"), OutputType(typeof(PSExpressRouteCircuitRoutesTable))] @@ -53,12 +55,11 @@ public class GetAzureExpressRouteCircuitRouteTableCommand : NetworkBaseCmdlet public override void ExecuteCmdlet() { base.ExecuteCmdlet(); - + DevicePathEnum path; if (Enum.TryParse(DevicePath, true, out path)) { - var routeTables = this.NetworkClient.NetworkManagementClient.ExpressRouteCircuits.ListRoutesTable(ResourceGroupName, ExpressRouteCircuitName, PeeringType, DevicePath); - + var routeTables = this.NetworkClient.NetworkManagementClient.ExpressRouteCircuits.ListRoutesTable(ResourceGroupName, ExpressRouteCircuitName, PeeringType, DevicePath).Value.Cast().ToList(); var psroutes = new List(); foreach (var routeTable in routeTables) diff --git a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteRouteTableSummaryCommand.cs b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteRouteTableSummaryCommand.cs new file mode 100644 index 000000000000..7227890bc135 --- /dev/null +++ b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteRouteTableSummaryCommand.cs @@ -0,0 +1,72 @@ +using System.Collections.Generic; +using System.Management.Automation; +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; + using System.Collections; + using System.Linq; + + using AutoMapper; + + [Cmdlet(VerbsCommon.Get, "AzureRmExpressRouteCircuitARPTable"), OutputType(typeof(PSExpressRouteCircuitRoutesTableSummary))] + public class GetAzureExpressRouteRouteTableSummaryCommand : NetworkBaseCmdlet + { + [Alias("ResourceName")] + [Parameter( + Mandatory = false, + 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, + ValueFromPipeline = true, + HelpMessage = "The Name of ExpressRoute Circuit")] + [ValidateNotNullOrEmpty] + public string ExpressRouteCircuitName { get; set; } + + [Parameter( + Mandatory = false, + HelpMessage = "The PeeringType")] + [ValidateSet( + MNM.ExpressRouteCircuitPeeringType.AzurePrivatePeering, + MNM.ExpressRouteCircuitPeeringType.AzurePublicPeering, + MNM.ExpressRouteCircuitPeeringType.MicrosoftPeering, + IgnoreCase = true)] + public string PeeringType { get; set; } + + [Parameter( + Mandatory = true, + HelpMessage = "The DevicePath, can be either Primary or Secondary")] + [ValidateNotNullOrEmpty] + public string DevicePath { get; set; } + public override void ExecuteCmdlet() + { + base.ExecuteCmdlet(); + DevicePathEnum path; + if (Enum.TryParse(DevicePath, true, out path)) + { + var routeTables = this.NetworkClient.NetworkManagementClient.ExpressRouteCircuits.BeginListRoutesTableSummary(ResourceGroupName, ExpressRouteCircuitName, PeeringType, DevicePath).Value.Cast().ToList(); + var psRouteTables = new List(); + foreach (var arpTable in routeTables) + { + var psARP = Mapper.Map(arpTable); + psRouteTables.Add(psARP); + } + WriteObject(psRouteTables, true); + } + } + } +} From 63310b058d36f342f2b443a85a548ad32ec9fb38 Mon Sep 17 00:00:00 2001 From: dihan Date: Mon, 21 Mar 2016 19:30:47 -0700 Subject: [PATCH 03/14] Co-exist API --- .../NewAzureExpressRouteCircuitCommand.cs | 8 ++++++++ .../SetAzureExpressRouteCircuitCommand.cs | 8 ++++++++ .../Stats/GetAzureExpressRouteRouteTableSummaryCommand.cs | 2 +- .../Microsoft.Azure.Commands.Network.format.ps1xml | 6 +++++- .../Commands.Network/Models/PSExpressRouteCircuit.cs | 2 ++ 5 files changed, 24 insertions(+), 2 deletions(-) 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..22c7d6558073 100644 --- a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/SetAzureExpressRouteCircuitCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/SetAzureExpressRouteCircuitCommand.cs @@ -31,6 +31,12 @@ public class SetAzureExpressRouteCircuitCommand : ExpressRouteCircuitBaseCmdlet HelpMessage = "The ExpressRouteCircuit")] public PSExpressRouteCircuit ExpressRouteCircuit { get; set; } + [Parameter( + Mandatory = false, + ValueFromPipelineByPropertyName = true)] + [ValidateNotNullOrEmpty] + public bool? AllowClassicOperations { get; set; } + public override void ExecuteCmdlet() { base.ExecuteCmdlet(); @@ -44,6 +50,8 @@ public override void ExecuteCmdlet() var circuitModel = Mapper.Map(this.ExpressRouteCircuit); circuitModel.Tags = TagsConversionHelper.CreateTagDictionary(this.ExpressRouteCircuit.Tag, validate: true); + this.ExpressRouteCircuit.AllowClassicOperations = this.AllowClassicOperations; + // Execute the Create ExpressRouteCircuit call this.ExpressRouteCircuitClient.CreateOrUpdate(this.ExpressRouteCircuit.ResourceGroupName, this.ExpressRouteCircuit.Name, circuitModel); diff --git a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteRouteTableSummaryCommand.cs b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteRouteTableSummaryCommand.cs index 7227890bc135..2accebe73e53 100644 --- a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteRouteTableSummaryCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteRouteTableSummaryCommand.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.Commands.Network using AutoMapper; - [Cmdlet(VerbsCommon.Get, "AzureRmExpressRouteCircuitARPTable"), OutputType(typeof(PSExpressRouteCircuitRoutesTableSummary))] + [Cmdlet(VerbsCommon.Get, "AzureRmExpressRouteCircuitRouteTableSummary"), OutputType(typeof(PSExpressRouteCircuitRoutesTableSummary))] public class GetAzureExpressRouteRouteTableSummaryCommand : NetworkBaseCmdlet { [Alias("ResourceName")] 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; } From 784c02e443ac2a7d918f29001133b898d81161ee Mon Sep 17 00:00:00 2001 From: dihan Date: Mon, 21 Mar 2016 19:31:48 -0700 Subject: [PATCH 04/14] Co-exist API --- .../MigrateAzureExpressRouteCircuitCommand.cs | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/MigrateAzureExpressRouteCircuitCommand.cs diff --git a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/MigrateAzureExpressRouteCircuitCommand.cs b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/MigrateAzureExpressRouteCircuitCommand.cs new file mode 100644 index 000000000000..80d988728bed --- /dev/null +++ b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/MigrateAzureExpressRouteCircuitCommand.cs @@ -0,0 +1,52 @@ +// ---------------------------------------------------------------------------------- +// +// 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 +{ + [Cmdlet(VerbsCommon.Move, "AzureRmExpressRouteCircuit"), OutputType(typeof(PSExpressRouteCircuit))] + public class MigrateAzureExpressRouteCircuitCommand : ExpressRouteCircuitBaseCmdlet + { + [Alias("ResourceName")] + [Parameter( + Mandatory = false, + ValueFromPipelineByPropertyName = true, + HelpMessage = "The resource name.")] + [ValidateNotNullOrEmpty] + public virtual string Name { get; set; } + + [Parameter( + Mandatory = false, + ValueFromPipelineByPropertyName = true, + HelpMessage = "The resource group name.")] + [ValidateNotNullOrEmpty] + public virtual string ResourceGroupName { get; set; } + + public override void ExecuteCmdlet() + { + base.ExecuteCmdlet(); + } + } +} + + + + From 921e7c26485d03610ecf5068a8203a0a040592b3 Mon Sep 17 00:00:00 2001 From: dihan Date: Tue, 22 Mar 2016 16:02:35 -0700 Subject: [PATCH 05/14] Co-existence API --- .../ExpressRouteCircuitTests.ps1 | 3 + .../Commands.Network/Commands.Network.csproj | 7 +- .../MigrateAzureExpressRouteCircuitCommand.cs | 52 -------- .../MoveAzureExpressRouteCircuitCommand.cs | 116 ++++++++++++++++++ 4 files changed, 123 insertions(+), 55 deletions(-) delete mode 100644 src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/MigrateAzureExpressRouteCircuitCommand.cs create mode 100644 src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/MoveAzureExpressRouteCircuitCommand.cs diff --git a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ExpressRouteCircuitTests.ps1 b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ExpressRouteCircuitTests.ps1 index 0cc91c7d85c1..6020888830f7 100644 --- a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ExpressRouteCircuitTests.ps1 +++ b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ExpressRouteCircuitTests.ps1 @@ -75,6 +75,9 @@ function Test-ExpressRouteCircuitCRUD Assert-AreEqual "equinix" $getCircuit.ServiceProviderProperties.ServiceProviderName Assert-AreEqual "Silicon Valley" $getCircuit.ServiceProviderProperties.PeeringLocation Assert-AreEqual "1000" $getCircuit.ServiceProviderProperties.BandwidthInMbps + + #$getCircuit = Set-AzureRmExpressRouteCircuit -ExpressRouteCircuit $getCircuit -AllowClassicOperations $true + #Assert-AreEqual $true $getCircuit.AllowClassicOperations # Delete Circuit $delete = Remove-AzureRmExpressRouteCircuit -ResourceGroupName $rgname -name $circuitName -PassThru -Force diff --git a/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj b/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj index 68524d4b60f0..b01a546767e8 100644 --- a/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj +++ b/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj @@ -246,7 +246,8 @@ - + + @@ -439,8 +440,8 @@ True True - - + + diff --git a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/MigrateAzureExpressRouteCircuitCommand.cs b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/MigrateAzureExpressRouteCircuitCommand.cs deleted file mode 100644 index 80d988728bed..000000000000 --- a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/MigrateAzureExpressRouteCircuitCommand.cs +++ /dev/null @@ -1,52 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// 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 -{ - [Cmdlet(VerbsCommon.Move, "AzureRmExpressRouteCircuit"), OutputType(typeof(PSExpressRouteCircuit))] - public class MigrateAzureExpressRouteCircuitCommand : ExpressRouteCircuitBaseCmdlet - { - [Alias("ResourceName")] - [Parameter( - Mandatory = false, - ValueFromPipelineByPropertyName = true, - HelpMessage = "The resource name.")] - [ValidateNotNullOrEmpty] - public virtual string Name { get; set; } - - [Parameter( - Mandatory = false, - ValueFromPipelineByPropertyName = true, - HelpMessage = "The resource group name.")] - [ValidateNotNullOrEmpty] - public virtual string ResourceGroupName { get; set; } - - public override void ExecuteCmdlet() - { - base.ExecuteCmdlet(); - } - } -} - - - - 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; + } + } +} + + + + From cfcdf25cdcb0885739ab4efd632dbfb82c919821 Mon Sep 17 00:00:00 2001 From: dihan Date: Tue, 22 Mar 2016 23:59:30 -0700 Subject: [PATCH 06/14] Change Version for network --- .../Network/Commands.Network/Commands.Network.csproj | 2 +- .../SetAzureExpressRouteCircuitCommand.cs | 10 +--------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj b/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj index b01a546767e8..df7f9ab338a5 100644 --- a/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj +++ b/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj @@ -160,7 +160,7 @@ ..\..\..\packages\AutoMapper.3.1.1\lib\net40\AutoMapper.Net4.dll - ..\..\..\lib\Microsoft.Azure.Management.Storage.dll + ..\..\..\packages\Microsoft.Azure.Management.Storage.3.0.0\lib\net40\Microsoft.Azure.Management.Storage.dll diff --git a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/SetAzureExpressRouteCircuitCommand.cs b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/SetAzureExpressRouteCircuitCommand.cs index 22c7d6558073..172008100bb3 100644 --- a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/SetAzureExpressRouteCircuitCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/SetAzureExpressRouteCircuitCommand.cs @@ -31,12 +31,6 @@ public class SetAzureExpressRouteCircuitCommand : ExpressRouteCircuitBaseCmdlet HelpMessage = "The ExpressRouteCircuit")] public PSExpressRouteCircuit ExpressRouteCircuit { get; set; } - [Parameter( - Mandatory = false, - ValueFromPipelineByPropertyName = true)] - [ValidateNotNullOrEmpty] - public bool? AllowClassicOperations { get; set; } - public override void ExecuteCmdlet() { base.ExecuteCmdlet(); @@ -50,9 +44,7 @@ public override void ExecuteCmdlet() var circuitModel = Mapper.Map(this.ExpressRouteCircuit); circuitModel.Tags = TagsConversionHelper.CreateTagDictionary(this.ExpressRouteCircuit.Tag, validate: true); - this.ExpressRouteCircuit.AllowClassicOperations = this.AllowClassicOperations; - - // 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); From a82cdcd829e86e7c94d2eee1d6b33942cf96f3f2 Mon Sep 17 00:00:00 2001 From: dihan Date: Wed, 23 Mar 2016 11:58:46 -0700 Subject: [PATCH 07/14] udpate help file --- .../Commands.Network/Commands.Network.csproj | 2 +- ...rosoft.Azure.Commands.Network.dll-Help.xml | 137 ++++++++++++++++++ 2 files changed, 138 insertions(+), 1 deletion(-) diff --git a/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj b/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj index df7f9ab338a5..2b2912646ae6 100644 --- a/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj +++ b/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj @@ -442,7 +442,7 @@ - + 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 From 9985f1f60ef1a87e11c233487f358ace6d874dca Mon Sep 17 00:00:00 2001 From: dihan Date: Wed, 23 Mar 2016 14:30:27 -0700 Subject: [PATCH 08/14] update csproj to remove unneeded dll --- .../Network/Commands.Network/Commands.Network.csproj | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj b/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj index 2b2912646ae6..4ca816c0b17d 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 - - ..\..\..\packages\Microsoft.Azure.Management.Storage.3.0.0\lib\net40\Microsoft.Azure.Management.Storage.dll - From 2674ff7fea3ea664f3e365094bb17ebb70ba924d Mon Sep 17 00:00:00 2001 From: dihan Date: Wed, 23 Mar 2016 19:55:30 -0700 Subject: [PATCH 09/14] Update license header --- .../GetAzureExpressRouteARPTableCommand.cs | 19 ++++++++++++++++++- .../GetAzureExpressRouteRouteTableCommand.cs | 19 ++++++++++++++++++- ...ureExpressRouteRouteTableSummaryCommand.cs | 19 ++++++++++++++++++- .../Stats/GetAzureExpressRouteStatsCommand.cs | 19 ++++++++++++++++++- 4 files changed, 72 insertions(+), 4 deletions(-) diff --git a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteARPTableCommand.cs b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteARPTableCommand.cs index b0965e08bea8..59349e366e36 100644 --- a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteARPTableCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteARPTableCommand.cs @@ -1,5 +1,22 @@ -using System.Collections.Generic; +// ---------------------------------------------------------------------------------- +// +// 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.Collections; +using System.Collections.Generic; 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; diff --git a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteRouteTableCommand.cs b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteRouteTableCommand.cs index 067870e58c9d..2312b5337bed 100644 --- a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteRouteTableCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteRouteTableCommand.cs @@ -1,5 +1,22 @@ -using System.Collections.Generic; +// ---------------------------------------------------------------------------------- +// +// 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.Collections; +using System.Collections.Generic; 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; diff --git a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteRouteTableSummaryCommand.cs b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteRouteTableSummaryCommand.cs index 2accebe73e53..a26f0e6ca0d9 100644 --- a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteRouteTableSummaryCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteRouteTableSummaryCommand.cs @@ -1,5 +1,22 @@ -using System.Collections.Generic; +// ---------------------------------------------------------------------------------- +// +// 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.Collections; +using System.Collections.Generic; 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; diff --git a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteStatsCommand.cs b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteStatsCommand.cs index 872a4d19d263..24ad6658c04e 100644 --- a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteStatsCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteStatsCommand.cs @@ -1,5 +1,22 @@ -using System.Collections.Generic; +// ---------------------------------------------------------------------------------- +// +// 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.Collections; +using System.Collections.Generic; 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; From e5e8448426c3311fec64833e080227e1e676fed5 Mon Sep 17 00:00:00 2001 From: dihan Date: Wed, 23 Mar 2016 20:00:05 -0700 Subject: [PATCH 10/14] address comment --- .../ScenarioTests/ExpressRouteCircuitTests.ps1 | 2 -- .../Network/Commands.Network/Commands.Network.csproj | 4 ---- 2 files changed, 6 deletions(-) diff --git a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ExpressRouteCircuitTests.ps1 b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ExpressRouteCircuitTests.ps1 index 6020888830f7..3137e1e97880 100644 --- a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ExpressRouteCircuitTests.ps1 +++ b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ExpressRouteCircuitTests.ps1 @@ -76,8 +76,6 @@ function Test-ExpressRouteCircuitCRUD Assert-AreEqual "Silicon Valley" $getCircuit.ServiceProviderProperties.PeeringLocation Assert-AreEqual "1000" $getCircuit.ServiceProviderProperties.BandwidthInMbps - #$getCircuit = Set-AzureRmExpressRouteCircuit -ExpressRouteCircuit $getCircuit -AllowClassicOperations $true - #Assert-AreEqual $true $getCircuit.AllowClassicOperations # Delete Circuit $delete = Remove-AzureRmExpressRouteCircuit -ResourceGroupName $rgname -name $circuitName -PassThru -Force diff --git a/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj b/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj index 4ca816c0b17d..f89fe8c724da 100644 --- a/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj +++ b/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj @@ -244,7 +244,6 @@ - @@ -437,9 +436,6 @@ True True - - - From a1dfccc3506ba284771b7633d0850415a2c8420e Mon Sep 17 00:00:00 2001 From: dihan Date: Thu, 24 Mar 2016 11:36:45 -0700 Subject: [PATCH 11/14] Add test for new API and remove APIs not ship this release --- .../Commands.Network.Test.csproj | 3 + .../ScenarioTests/ExpressRouteCircuitTests.cs | 7 ++ .../ExpressRouteCircuitTests.ps1 | 57 +++++++++++ .../Commands.Network/Commands.Network.csproj | 4 - .../Common/NetworkResourceManagerProfile.cs | 9 +- .../GetAzureExpressRouteARPTableCommand.cs | 97 ------------------- .../GetAzureExpressRouteRouteTableCommand.cs | 95 ------------------ ...ureExpressRouteRouteTableSummaryCommand.cs | 89 ----------------- .../Stats/GetAzureExpressRouteStatsCommand.cs | 90 ----------------- .../Models/PSExpressRouteCircuitArpTable.cs | 28 ------ .../PSExpressRouteCircuitRoutesTable.cs | 31 ------ ...PSExpressRouteCircuitRoutesTableSummary.cs | 22 ----- .../Models/PSExpressRouteCircuitStats.cs | 20 ---- 13 files changed, 68 insertions(+), 484 deletions(-) delete mode 100644 src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteARPTableCommand.cs delete mode 100644 src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteRouteTableCommand.cs delete mode 100644 src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteRouteTableSummaryCommand.cs delete mode 100644 src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteStatsCommand.cs delete mode 100644 src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuitArpTable.cs delete mode 100644 src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuitRoutesTable.cs delete mode 100644 src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuitRoutesTableSummary.cs delete mode 100644 src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuitStats.cs 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..b113fe67bbd1 100644 --- a/src/ResourceManager/Network/Commands.Network.Test/Commands.Network.Test.csproj +++ b/src/ResourceManager/Network/Commands.Network.Test/Commands.Network.Test.csproj @@ -221,6 +221,9 @@ Always + + + Always PreserveNewest 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 3137e1e97880..66e9aa235c8b 100644 --- a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ExpressRouteCircuitTests.ps1 +++ b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ExpressRouteCircuitTests.ps1 @@ -12,6 +12,63 @@ # limitations under the License. # ---------------------------------------------------------------------------------- +<# +.SYNOPSIS +Tests ExpressRouteCircuitCRUD. +#> +function Test-ExpressRouteCircuitStageCRUD +{ + # Setup + $rgname = 'movecircuit' + $circuitName = Get-ResourceName + $rglocation = Get-ProviderLocation ResourceManagement + $resourceTypeParent = "Microsoft.Network/expressRouteCircuits" + $location = Get-ProviderLocation $resourceTypeParent + $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; + + # get Circuit + $getCircuit = Get-AzureRmExpressRouteCircuit -Name $circuitName -ResourceGroupName $rgname + + #verification + Assert-AreEqual $rgName $getCircuit.ResourceGroupName + Assert-AreEqual $circuitName $getCircuit.Name + Assert-NotNull $getCircuit.Location + Assert-NotNull $getCircuit.Etag + Assert-AreEqual 0 @($getCircuit.Peerings).Count + Assert-AreEqual "Standard_MeteredData" $getCircuit.Sku.Name + Assert-AreEqual "Standard" $getCircuit.Sku.Tier + Assert-AreEqual "MeteredData" $getCircuit.Sku.Family + + + # set + $getCircuit.AllowClassicOperations = $false + + $getCircuit = Set-AzureRmExpressRouteCircuit -ExpressRouteCircuit $getCircuit + + #move + Move-AzureRmExpressRouteCircuit -Name -ResourceGroupName -Location -ServiceKey + + # 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. diff --git a/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj b/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj index f89fe8c724da..931488d21b02 100644 --- a/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj +++ b/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj @@ -276,13 +276,9 @@ - - - - diff --git a/src/ResourceManager/Network/Commands.Network/Common/NetworkResourceManagerProfile.cs b/src/ResourceManager/Network/Commands.Network/Common/NetworkResourceManagerProfile.cs index e76bd4b145e9..9587d2a537e4 100644 --- a/src/ResourceManager/Network/Commands.Network/Common/NetworkResourceManagerProfile.cs +++ b/src/ResourceManager/Network/Commands.Network/Common/NetworkResourceManagerProfile.cs @@ -196,10 +196,6 @@ protected override void Configure() Mapper.CreateMap(); Mapper.CreateMap(); Mapper.CreateMap(); - Mapper.CreateMap(); - Mapper.CreateMap(); - Mapper.CreateMap(); - Mapper.CreateMap(); // MNM to CNM Mapper.CreateMap(); @@ -207,10 +203,7 @@ protected override void Configure() Mapper.CreateMap(); Mapper.CreateMap(); Mapper.CreateMap(); - Mapper.CreateMap(); - Mapper.CreateMap(); - Mapper.CreateMap(); - Mapper.CreateMap(); + // ExpressRouteCircuitPeering // CNM to MNM Mapper.CreateMap(); diff --git a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteARPTableCommand.cs b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteARPTableCommand.cs deleted file mode 100644 index 59349e366e36..000000000000 --- a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteARPTableCommand.cs +++ /dev/null @@ -1,97 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// 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.Collections; -using System.Collections.Generic; -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; - using System.Collections; - using System.Linq; - - using AutoMapper; - - public enum DevicePathEnum - { - primary, - secondary - } - - [Cmdlet(VerbsCommon.Get, "AzureRmExpressRouteCircuitARPTable"),OutputType(typeof(PSExpressRouteCircuitArpTable))] - public class GetAzureExpressRouteCircuitARPTableCommand : NetworkBaseCmdlet - { - [Alias("ResourceName")] - [Parameter( - Mandatory = false, - 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, - ValueFromPipeline = true, - HelpMessage = "The Name of ExpressRoute Circuit")] - [ValidateNotNullOrEmpty] - public string ExpressRouteCircuitName { get; set; } - - [Parameter( - Mandatory = false, - HelpMessage = "The PeeringType")] - [ValidateSet( - MNM.ExpressRouteCircuitPeeringType.AzurePrivatePeering, - MNM.ExpressRouteCircuitPeeringType.AzurePublicPeering, - MNM.ExpressRouteCircuitPeeringType.MicrosoftPeering, - IgnoreCase = true)] - public string PeeringType { get; set; } - - [Parameter( - Mandatory = true, - HelpMessage = "The DevicePath, can be either Primary or Secondary")] - [ValidateNotNullOrEmpty] - public string DevicePath { get; set; } - - public override void ExecuteCmdlet() - { - base.ExecuteCmdlet(); - DevicePathEnum path; - if (Enum.TryParse(DevicePath, true, out path)) - { - var arpTables = this.NetworkClient.NetworkManagementClient.ExpressRouteCircuits.ListArpTable(ResourceGroupName, ExpressRouteCircuitName, PeeringType, DevicePath).Value.Cast().ToList(); - var psARPs = new List(); - foreach (var arpTable in arpTables) - { - var psARP = Mapper.Map(arpTable); - psARPs.Add(psARP); - } - WriteObject(psARPs, true); - } - } - } - -} diff --git a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteRouteTableCommand.cs b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteRouteTableCommand.cs deleted file mode 100644 index 2312b5337bed..000000000000 --- a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteRouteTableCommand.cs +++ /dev/null @@ -1,95 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// 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.Collections; -using System.Collections.Generic; -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; - using System.Linq; - - using AutoMapper; - - [Cmdlet(VerbsCommon.Get, "AzureExpressRouteCircuitRouteTable"), OutputType(typeof(PSExpressRouteCircuitRoutesTable))] - public class GetAzureExpressRouteCircuitRouteTableCommand : NetworkBaseCmdlet - { - [Alias("ResourceName")] - [Parameter( - Mandatory = false, - 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, - ValueFromPipeline = true, - HelpMessage = "The Name of ExpressRoute Circuit")] - [ValidateNotNullOrEmpty] - public string ExpressRouteCircuitName { get; set; } - - [Parameter( - Mandatory = false, - HelpMessage = "The PeeringType")] - [ValidateSet( - MNM.ExpressRouteCircuitPeeringType.AzurePrivatePeering, - MNM.ExpressRouteCircuitPeeringType.AzurePublicPeering, - MNM.ExpressRouteCircuitPeeringType.MicrosoftPeering, - IgnoreCase = true)] - public string PeeringType { get; set; } - - [Parameter( - Mandatory = true, - HelpMessage = "The DevicePath, can be either Primary or Secondary")] - [ValidateNotNullOrEmpty] - public string DevicePath { get; set; } - - public override void ExecuteCmdlet() - { - base.ExecuteCmdlet(); - - DevicePathEnum path; - if (Enum.TryParse(DevicePath, true, out path)) - { - var routeTables = this.NetworkClient.NetworkManagementClient.ExpressRouteCircuits.ListRoutesTable(ResourceGroupName, ExpressRouteCircuitName, PeeringType, DevicePath).Value.Cast().ToList(); - var psroutes = new List(); - - foreach (var routeTable in routeTables) - { - var psroute = Mapper.Map(routeTable); - psroutes.Add(psroute); - } - - WriteObject(psroutes, true); - } - } - } -} - - - diff --git a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteRouteTableSummaryCommand.cs b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteRouteTableSummaryCommand.cs deleted file mode 100644 index a26f0e6ca0d9..000000000000 --- a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteRouteTableSummaryCommand.cs +++ /dev/null @@ -1,89 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// 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.Collections; -using System.Collections.Generic; -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; - using System.Collections; - using System.Linq; - - using AutoMapper; - - [Cmdlet(VerbsCommon.Get, "AzureRmExpressRouteCircuitRouteTableSummary"), OutputType(typeof(PSExpressRouteCircuitRoutesTableSummary))] - public class GetAzureExpressRouteRouteTableSummaryCommand : NetworkBaseCmdlet - { - [Alias("ResourceName")] - [Parameter( - Mandatory = false, - 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, - ValueFromPipeline = true, - HelpMessage = "The Name of ExpressRoute Circuit")] - [ValidateNotNullOrEmpty] - public string ExpressRouteCircuitName { get; set; } - - [Parameter( - Mandatory = false, - HelpMessage = "The PeeringType")] - [ValidateSet( - MNM.ExpressRouteCircuitPeeringType.AzurePrivatePeering, - MNM.ExpressRouteCircuitPeeringType.AzurePublicPeering, - MNM.ExpressRouteCircuitPeeringType.MicrosoftPeering, - IgnoreCase = true)] - public string PeeringType { get; set; } - - [Parameter( - Mandatory = true, - HelpMessage = "The DevicePath, can be either Primary or Secondary")] - [ValidateNotNullOrEmpty] - public string DevicePath { get; set; } - public override void ExecuteCmdlet() - { - base.ExecuteCmdlet(); - DevicePathEnum path; - if (Enum.TryParse(DevicePath, true, out path)) - { - var routeTables = this.NetworkClient.NetworkManagementClient.ExpressRouteCircuits.BeginListRoutesTableSummary(ResourceGroupName, ExpressRouteCircuitName, PeeringType, DevicePath).Value.Cast().ToList(); - var psRouteTables = new List(); - foreach (var arpTable in routeTables) - { - var psARP = Mapper.Map(arpTable); - psRouteTables.Add(psARP); - } - WriteObject(psRouteTables, true); - } - } - } -} diff --git a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteStatsCommand.cs b/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteStatsCommand.cs deleted file mode 100644 index 24ad6658c04e..000000000000 --- a/src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Stats/GetAzureExpressRouteStatsCommand.cs +++ /dev/null @@ -1,90 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// 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.Collections; -using System.Collections.Generic; -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; - - using AutoMapper; - - [Cmdlet(VerbsCommon.Get, "AzureRmExpressRouteCircuitStats"), OutputType(typeof(PSExpressRouteCircuitStats))] - public class GetAzureExpressRouteCircuitStatsCommand : NetworkBaseCmdlet - { - [Alias("ResourceName")] - [Parameter( - Mandatory = false, - 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, - ValueFromPipeline = true, - HelpMessage = "The Name of ExpressRoute Circuit")] - [ValidateNotNullOrEmpty] - public string ExpressRouteCircuitName { get; set; } - - [Parameter( - Mandatory = false, - HelpMessage = "The PeeringType")] - [ValidateSet( - MNM.ExpressRouteCircuitPeeringType.AzurePrivatePeering, - MNM.ExpressRouteCircuitPeeringType.AzurePublicPeering, - MNM.ExpressRouteCircuitPeeringType.MicrosoftPeering, - IgnoreCase = true)] - public string PeeringType { get; set; } - - public override void ExecuteCmdlet() - { - base.ExecuteCmdlet(); - - if (string.IsNullOrEmpty(PeeringType)) - { - var stats = this.NetworkClient.NetworkManagementClient.ExpressRouteCircuits.ListStats( - ResourceGroupName, - ExpressRouteCircuitName); - var psStats = Mapper.Map(stats); - WriteObject(psStats, true); - } - else - { - var stats = this.NetworkClient.NetworkManagementClient.ExpressRouteCircuits.ListPeeringStats( - ResourceGroupName, - ExpressRouteCircuitName, - PeeringType); - var psStats = Mapper.Map(stats); - WriteObject(psStats, true); - } - } - } -} - - 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 4bf1581a7c83..000000000000 --- a/src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuitArpTable.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 PSExpressRouteCircuitArpTable - { - public int? Age { get; set; } - - public string InterfaceProperty { get; set; } - - 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 a863943f1f01..000000000000 --- a/src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuitRoutesTable.cs +++ /dev/null @@ -1,31 +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 LocPrf { get; set; } - - public string Network { get; set; } - - public string NextHop { get; set; } - - public string Path { get; set; } - - public int? Weight { get; set; } - } -} diff --git a/src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuitRoutesTableSummary.cs b/src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuitRoutesTableSummary.cs deleted file mode 100644 index 2bd6862c66ab..000000000000 --- a/src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuitRoutesTableSummary.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Microsoft.Azure.Commands.Network.Models -{ - public class PSExpressRouteCircuitRoutesTableSummary - { - - public int? AsProperty { get; set; } - - public string Neighbor { get; set; } - - public string StatePfxRcd { get; set; } - - public string UpDown { get; set; } - - public int? V { get; set; } - } -} diff --git a/src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuitStats.cs b/src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuitStats.cs deleted file mode 100644 index f81be57ddd90..000000000000 --- a/src/ResourceManager/Network/Commands.Network/Models/PSExpressRouteCircuitStats.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Microsoft.Azure.Commands.Network.Models -{ - public class PSExpressRouteCircuitStats - { - public ulong PrimaryBytesIn { get; set; } - - public ulong PrimaryBytesOut { get; set; } - - public ulong SecondaryBytesIn { get; set; } - - public ulong SecondaryBytesOut { get; set; } - - } -} From 30263bcc7af4e3a1411abb7e136fd2ee2af16306 Mon Sep 17 00:00:00 2001 From: dihan Date: Thu, 24 Mar 2016 11:37:27 -0700 Subject: [PATCH 12/14] Add test --- .../TestExpressRouteCircuitStageCRUD.json | 862 ++++++++++++++++++ 1 file changed, 862 insertions(+) create mode 100644 src/ResourceManager/Network/Commands.Network.Test/SessionRecords/Commands.Network.Test.ScenarioTests.ExpressRouteCircuitTests/TestExpressRouteCircuitStageCRUD.json 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..b12e789ec5c9 --- /dev/null +++ b/src/ResourceManager/Network/Commands.Network.Test/SessionRecords/Commands.Network.Test.ScenarioTests.ExpressRouteCircuitTests/TestExpressRouteCircuitStageCRUD.json @@ -0,0 +1,862 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/providers/Microsoft.Network?api-version=2016-02-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yaz9hcGktdmVyc2lvbj0yMDE2LTAyLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/providers/Microsoft.Network\",\r\n \"namespace\": \"Microsoft.Network\",\r\n \"authorization\": {\r\n \"applicationId\": \"2cf9eb86-36b5-49dc-86ae-9a63135dfa8c\",\r\n \"roleDefinitionId\": \"13ba9ab4-19f0-4804-adc4-14ece36cc7a1\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"publicIPAddresses\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"networkInterfaces\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"loadBalancers\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"networkSecurityGroups\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"routeTables\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"virtualNetworkGateways\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ],\r\n \"capabilities\": \"None\"\r\n },\r\n {\r\n \"resourceType\": \"localNetworkGateways\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ],\r\n \"capabilities\": \"None\"\r\n },\r\n {\r\n \"resourceType\": \"connections\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ],\r\n \"capabilities\": \"None\"\r\n },\r\n {\r\n \"resourceType\": \"applicationGateways\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ],\r\n \"capabilities\": \"None\"\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operationResults\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/CheckDnsNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/usages\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"expressRouteCircuits\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ],\r\n \"capabilities\": \"None\"\r\n },\r\n {\r\n \"resourceType\": \"expressRouteServiceProviders\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"dnszones/A\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"dnszones/AAAA\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"dnszones/CNAME\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"dnszones/PTR\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"dnszones/MX\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"dnszones/TXT\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"dnszones/SRV\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"trafficmanagerprofiles\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-11-01\",\r\n \"2015-04-28-preview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"checkTrafficManagerNameAvailability\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-11-01\",\r\n \"2015-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "7463" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-request-id": [ + "9f203cab-49e4-4d19-b342-ba03850fa5b5" + ], + "x-ms-correlation-request-id": [ + "9f203cab-49e4-4d19-b342-ba03850fa5b5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T181121Z:9f203cab-49e4-4d19-b342-ba03850fa5b5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 24 Mar 2016 18:11:20 GMT" + ] + }, + "StatusCode": 200 + }, + { + "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": [ + "14998" + ], + "x-ms-request-id": [ + "1b9c649f-c7f0-4e9d-835b-c3a0eced2849" + ], + "x-ms-correlation-request-id": [ + "1b9c649f-c7f0-4e9d-835b-c3a0eced2849" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T181121Z:1b9c649f-c7f0-4e9d-835b-c3a0eced2849" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 24 Mar 2016 18:11:20 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": [ + "14996" + ], + "x-ms-request-id": [ + "0ed9dd37-8232-4532-9875-f445118ba1a6" + ], + "x-ms-correlation-request-id": [ + "0ed9dd37-8232-4532-9875-f445118ba1a6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T181146Z:0ed9dd37-8232-4532-9875-f445118ba1a6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 24 Mar 2016 18:11:45 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\": \"West US\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "29" + ], + "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": [ + "1198" + ], + "x-ms-request-id": [ + "b1d91feb-71d7-45f6-92dc-6de52e6f886b" + ], + "x-ms-correlation-request-id": [ + "b1d91feb-71d7-45f6-92dc-6de52e6f886b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T181121Z:b1d91feb-71d7-45f6-92dc-6de52e6f886b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 24 Mar 2016 18:11:21 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": [ + "14997" + ], + "x-ms-request-id": [ + "771bf9ea-d9db-49ef-8823-c59b53ca210e" + ], + "x-ms-correlation-request-id": [ + "771bf9ea-d9db-49ef-8823-c59b53ca210e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T181121Z:771bf9ea-d9db-49ef-8823-c59b53ca210e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 24 Mar 2016 18:11:21 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits/onesdk6401/?api-version=2016-03-30", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Jlc291cmNlR3JvdXBzL21vdmVjaXJjdWl0L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9leHByZXNzUm91dGVDaXJjdWl0cy9vbmVzZGs2NDAxLz9hcGktdmVyc2lvbj0yMDE2LTAzLTMw", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "402e67fe-f7ba-46e6-9e0a-3d83320a47ce" + ], + "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/onesdk6401' 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": [ + "d1d8f518-8131-4b05-9c23-487f55fc9c8e" + ], + "x-ms-correlation-request-id": [ + "d1d8f518-8131-4b05-9c23-487f55fc9c8e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T181122Z:d1d8f518-8131-4b05-9c23-487f55fc9c8e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 24 Mar 2016 18:11:22 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits/onesdk6401/?api-version=2016-03-30", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Jlc291cmNlR3JvdXBzL21vdmVjaXJjdWl0L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9leHByZXNzUm91dGVDaXJjdWl0cy9vbmVzZGs2NDAxLz9hcGktdmVyc2lvbj0yMDE2LTAzLTMw", + "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": [ + "5d1721c0-1f88-41c2-9e59-d174bc79d805" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Network.NetworkManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"SubscriptionNotRegistered\",\r\n \"message\": \"Subscription 18b0dc06-a2b8-4c0f-95af-550319fa5eac is not registered with NRP.\",\r\n \"details\": []\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "181" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "d9a05d6b-9fc3-43df-9279-0f06a443b758" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-failure-cause": [ + "service" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "8189e5e3-92ce-4c9e-8494-602a5d01e5e7" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T181146Z:8189e5e3-92ce-4c9e-8494-602a5d01e5e7" + ], + "Date": [ + "Thu, 24 Mar 2016 18:11:45 GMT" + ], + "Connection": [ + "close" + ] + }, + "StatusCode": 502 + }, + { + "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": [ + "bd406c90-cbce-4d89-8f60-15579cdc5c7e" + ], + "x-ms-correlation-request-id": [ + "bd406c90-cbce-4d89-8f60-15579cdc5c7e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T181146Z:bd406c90-cbce-4d89-8f60-15579cdc5c7e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 24 Mar 2016 18:11:45 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": [ + "14995" + ], + "x-ms-request-id": [ + "51a0d6df-9c68-4afd-858e-da913af6f3b6" + ], + "x-ms-correlation-request-id": [ + "51a0d6df-9c68-4afd-858e-da913af6f3b6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T181146Z:51a0d6df-9c68-4afd-858e-da913af6f3b6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 24 Mar 2016 18:11:45 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": [ + "14994" + ], + "x-ms-request-id": [ + "93c16366-c509-448d-a623-611594ee188f" + ], + "x-ms-correlation-request-id": [ + "93c16366-c509-448d-a623-611594ee188f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T181201Z:93c16366-c509-448d-a623-611594ee188f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 24 Mar 2016 18:12:01 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": [ + "14993" + ], + "x-ms-request-id": [ + "c8ed1a23-37d7-40bf-9a4a-8b04b32e21f2" + ], + "x-ms-correlation-request-id": [ + "c8ed1a23-37d7-40bf-9a4a-8b04b32e21f2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T181216Z:c8ed1a23-37d7-40bf-9a4a-8b04b32e21f2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 24 Mar 2016 18:12:16 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": [ + "14992" + ], + "x-ms-request-id": [ + "d9c01034-ef31-4149-af1a-9fe9faa14f49" + ], + "x-ms-correlation-request-id": [ + "d9c01034-ef31-4149-af1a-9fe9faa14f49" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T181232Z:d9c01034-ef31-4149-af1a-9fe9faa14f49" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 24 Mar 2016 18:12:31 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": [ + "f3f04f4d-1291-4a0a-99fc-b0fcbbf3536e" + ], + "x-ms-correlation-request-id": [ + "f3f04f4d-1291-4a0a-99fc-b0fcbbf3536e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T181247Z:f3f04f4d-1291-4a0a-99fc-b0fcbbf3536e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 24 Mar 2016 18:12:46 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": [ + "ca59bff2-70e3-4054-b9c5-c14697659038" + ], + "x-ms-correlation-request-id": [ + "ca59bff2-70e3-4054-b9c5-c14697659038" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T181302Z:ca59bff2-70e3-4054-b9c5-c14697659038" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 24 Mar 2016 18:13:01 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": [ + "606a35b8-9e59-4b30-a5b0-ddabd2d5bb3d" + ], + "x-ms-correlation-request-id": [ + "606a35b8-9e59-4b30-a5b0-ddabd2d5bb3d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T181317Z:606a35b8-9e59-4b30-a5b0-ddabd2d5bb3d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 24 Mar 2016 18:13:16 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": "{\r\n \"Error\": {\r\n \"Code\": \"ResourceGroupDeletionFailed\",\r\n \"Target\": null,\r\n \"Message\": \"Deletion of resource group 'movecircuit' failed because some resources could not be deleted. The tracking Id is 'bd406c90-cbce-4d89-8f60-15579cdc5c7e'. Please check audit logs for more details.\",\r\n \"Details\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "283" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14988" + ], + "x-ms-request-id": [ + "fc019999-76c9-4d8a-b1ce-9f9adfe794a6" + ], + "x-ms-correlation-request-id": [ + "fc019999-76c9-4d8a-b1ce-9f9adfe794a6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160324T181332Z:fc019999-76c9-4d8a-b1ce-9f9adfe794a6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 24 Mar 2016 18:13:31 GMT" + ] + }, + "StatusCode": 409 + } + ], + "Names": { + "Test-ExpressRouteCircuitStageCRUD": [ + "onesdk6401" + ] + }, + "Variables": { + "SubscriptionId": "18b0dc06-a2b8-4c0f-95af-550319fa5eac" + } +} \ No newline at end of file From 89c30706e111015bba310f2ba819a6129c664eb5 Mon Sep 17 00:00:00 2001 From: dihan Date: Thu, 24 Mar 2016 11:39:30 -0700 Subject: [PATCH 13/14] Update --- .../Commands.Network.Test/Commands.Network.Test.csproj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 b113fe67bbd1..4094cf5cc24e 100644 --- a/src/ResourceManager/Network/Commands.Network.Test/Commands.Network.Test.csproj +++ b/src/ResourceManager/Network/Commands.Network.Test/Commands.Network.Test.csproj @@ -221,13 +221,13 @@ Always - - - Always PreserveNewest + + Always + Always From b0270436bb1898003f2c05020fdc94ec06ace5a9 Mon Sep 17 00:00:00 2001 From: dihan Date: Thu, 24 Mar 2016 15:05:57 -0700 Subject: [PATCH 14/14] update test --- .../ExpressRouteCircuitTests.ps1 | 30 +- .../TestExpressRouteCircuitStageCRUD.json | 1249 +++++++++++++---- 2 files changed, 1013 insertions(+), 266 deletions(-) diff --git a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ExpressRouteCircuitTests.ps1 b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ExpressRouteCircuitTests.ps1 index 66e9aa235c8b..c83723fe4416 100644 --- a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ExpressRouteCircuitTests.ps1 +++ b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ExpressRouteCircuitTests.ps1 @@ -21,9 +21,8 @@ function Test-ExpressRouteCircuitStageCRUD # Setup $rgname = 'movecircuit' $circuitName = Get-ResourceName - $rglocation = Get-ProviderLocation ResourceManagement + $rglocation = "westus" $resourceTypeParent = "Microsoft.Network/expressRouteCircuits" - $location = Get-ProviderLocation $resourceTypeParent $location = "westus" try { @@ -31,29 +30,15 @@ function Test-ExpressRouteCircuitStageCRUD $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 = New-AzureRmExpressRouteCircuit -Name $circuitName -Location $location -ResourceGroupName $rgname -SkuTier Standard -SkuFamily MeteredData -ServiceProviderName "equinix test" -PeeringLocation "Silicon Valley Test" -BandwidthInMbps 50 -AllowClassicOperations $true; - # get Circuit - $getCircuit = Get-AzureRmExpressRouteCircuit -Name $circuitName -ResourceGroupName $rgname - - #verification - Assert-AreEqual $rgName $getCircuit.ResourceGroupName - Assert-AreEqual $circuitName $getCircuit.Name - Assert-NotNull $getCircuit.Location - Assert-NotNull $getCircuit.Etag - Assert-AreEqual 0 @($getCircuit.Peerings).Count - Assert-AreEqual "Standard_MeteredData" $getCircuit.Sku.Name - Assert-AreEqual "Standard" $getCircuit.Sku.Tier - Assert-AreEqual "MeteredData" $getCircuit.Sku.Family - - - # set - $getCircuit.AllowClassicOperations = $false - - $getCircuit = Set-AzureRmExpressRouteCircuit -ExpressRouteCircuit $getCircuit + $circuit = Get-AzureRmExpressRouteCircuit -Name $circuitName -ResourceGroupName $rgname + # set + $circuit.AllowClassicOperations = $false + $circuit = Set-AzureRmExpressRouteCircuit -ExpressRouteCircuit $circuit #move - Move-AzureRmExpressRouteCircuit -Name -ResourceGroupName -Location -ServiceKey + Move-AzureRmExpressRouteCircuit -Name $circuitName -ResourceGroupName $rgname -Location $location -ServiceKey $circuit.ServiceKey -Force # Delete Circuit $delete = Remove-AzureRmExpressRouteCircuit -ResourceGroupName $rgname -name $circuitName -PassThru -Force @@ -61,6 +46,7 @@ function Test-ExpressRouteCircuitStageCRUD $list = Get-AzureRmExpressRouteCircuit -ResourceGroupName $rgname Assert-AreEqual 0 @($list).Count + } finally { 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 index b12e789ec5c9..a8a7bae84d89 100644 --- 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 @@ -1,19 +1,19 @@ { "Entries": [ { - "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/providers/Microsoft.Network?api-version=2016-02-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yaz9hcGktdmVyc2lvbj0yMDE2LTAyLTAx", - "RequestMethod": "GET", + "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": "{\r\n \"id\": \"/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/providers/Microsoft.Network\",\r\n \"namespace\": \"Microsoft.Network\",\r\n \"authorization\": {\r\n \"applicationId\": \"2cf9eb86-36b5-49dc-86ae-9a63135dfa8c\",\r\n \"roleDefinitionId\": \"13ba9ab4-19f0-4804-adc4-14ece36cc7a1\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"publicIPAddresses\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"networkInterfaces\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"loadBalancers\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"networkSecurityGroups\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"routeTables\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"virtualNetworkGateways\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ],\r\n \"capabilities\": \"None\"\r\n },\r\n {\r\n \"resourceType\": \"localNetworkGateways\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ],\r\n \"capabilities\": \"None\"\r\n },\r\n {\r\n \"resourceType\": \"connections\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ],\r\n \"capabilities\": \"None\"\r\n },\r\n {\r\n \"resourceType\": \"applicationGateways\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ],\r\n \"capabilities\": \"None\"\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operationResults\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/CheckDnsNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/usages\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"expressRouteCircuits\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ],\r\n \"capabilities\": \"None\"\r\n },\r\n {\r\n \"resourceType\": \"expressRouteServiceProviders\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2016-03-30\",\r\n \"2015-06-15\",\r\n \"2015-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dnszones\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"dnszones/A\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"dnszones/AAAA\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"dnszones/CNAME\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"dnszones/PTR\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"dnszones/MX\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"dnszones/TXT\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"dnszones/SRV\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-05-04-preview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"trafficmanagerprofiles\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-11-01\",\r\n \"2015-04-28-preview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"checkTrafficManagerNameAvailability\",\r\n \"locations\": [\r\n \"global\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-11-01\",\r\n \"2015-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "7463" + "103" ], "Content-Type": [ "application/json; charset=utf-8" @@ -24,17 +24,20 @@ "Pragma": [ "no-cache" ], + "x-ms-failure-cause": [ + "gateway" + ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14999" + "14973" ], "x-ms-request-id": [ - "9f203cab-49e4-4d19-b342-ba03850fa5b5" + "f2f79b5d-e1d7-4f79-969c-0e19df5b07c0" ], "x-ms-correlation-request-id": [ - "9f203cab-49e4-4d19-b342-ba03850fa5b5" + "f2f79b5d-e1d7-4f79-969c-0e19df5b07c0" ], "x-ms-routing-request-id": [ - "WESTUS:20160324T181121Z:9f203cab-49e4-4d19-b342-ba03850fa5b5" + "WESTUS:20160324T220003Z:f2f79b5d-e1d7-4f79-969c-0e19df5b07c0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,10 +46,10 @@ "no-cache" ], "Date": [ - "Thu, 24 Mar 2016 18:11:20 GMT" + "Thu, 24 Mar 2016 22:00:03 GMT" ] }, - "StatusCode": 200 + "StatusCode": 404 }, { "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourcegroups/movecircuit?api-version=2016-02-01", @@ -61,10 +64,7 @@ "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "103" - ], - "Content-Type": [ - "application/json; charset=utf-8" + "0" ], "Expires": [ "-1" @@ -72,20 +72,17 @@ "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ - "gateway" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14998" + "14992" ], "x-ms-request-id": [ - "1b9c649f-c7f0-4e9d-835b-c3a0eced2849" + "96cc3305-ef34-46b7-9889-46b5b95aa46c" ], "x-ms-correlation-request-id": [ - "1b9c649f-c7f0-4e9d-835b-c3a0eced2849" + "96cc3305-ef34-46b7-9889-46b5b95aa46c" ], "x-ms-routing-request-id": [ - "WESTUS:20160324T181121Z:1b9c649f-c7f0-4e9d-835b-c3a0eced2849" + "WESTUS:20160324T220213Z:96cc3305-ef34-46b7-9889-46b5b95aa46c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -94,25 +91,82 @@ "no-cache" ], "Date": [ - "Thu, 24 Mar 2016 18:11:20 GMT" + "Thu, 24 Mar 2016 22:02:13 GMT" ] }, - "StatusCode": 404 + "StatusCode": 204 }, { "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourcegroups/movecircuit?api-version=2016-02-01", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Jlc291cmNlZ3JvdXBzL21vdmVjaXJjdWl0P2FwaS12ZXJzaW9uPTIwMTYtMDItMDE=", - "RequestMethod": "HEAD", + "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": "", + "ResponseBody": "{\r\n \"value\": []\r\n}", "ResponseHeaders": { "Content-Length": [ - "0" + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" ], "Expires": [ "-1" @@ -121,16 +175,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14996" + "14972" ], "x-ms-request-id": [ - "0ed9dd37-8232-4532-9875-f445118ba1a6" + "e9fe9cca-4961-495e-bf3b-525051090404" ], "x-ms-correlation-request-id": [ - "0ed9dd37-8232-4532-9875-f445118ba1a6" + "e9fe9cca-4961-495e-bf3b-525051090404" ], "x-ms-routing-request-id": [ - "WESTUS:20160324T181146Z:0ed9dd37-8232-4532-9875-f445118ba1a6" + "WESTUS:20160324T220004Z:e9fe9cca-4961-495e-bf3b-525051090404" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -139,31 +193,723 @@ "no-cache" ], "Date": [ - "Thu, 24 Mar 2016 18:11:45 GMT" + "Thu, 24 Mar 2016 22:00:04 GMT" ] }, - "StatusCode": 204 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourcegroups/movecircuit?api-version=2016-02-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Jlc291cmNlZ3JvdXBzL21vdmVjaXJjdWl0P2FwaS12ZXJzaW9uPTIwMTYtMDItMDE=", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"West US\"\r\n}", + "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": [ - "29" + "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.Resources.ResourceManagementClient/2.0.0.0" + "Microsoft.Azure.Management.Network.NetworkManagementClient/4.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}", + "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": [ - "175" + "963" ], "Content-Type": [ "application/json; charset=utf-8" @@ -174,17 +920,14 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "Retry-After": [ + "10" ], "x-ms-request-id": [ - "b1d91feb-71d7-45f6-92dc-6de52e6f886b" + "4ac6c25b-4b70-42ef-8e5a-8acdba913a57" ], - "x-ms-correlation-request-id": [ - "b1d91feb-71d7-45f6-92dc-6de52e6f886b" - ], - "x-ms-routing-request-id": [ - "WESTUS:20160324T181121Z:b1d91feb-71d7-45f6-92dc-6de52e6f886b" + "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" @@ -192,26 +935,51 @@ "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 18:11:21 GMT" + "Thu, 24 Mar 2016 22:00:38 GMT" ] }, - "StatusCode": 201 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/resources?api-version=2016-02-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Jlc291cmNlR3JvdXBzL21vdmVjaXJjdWl0L3Jlc291cmNlcz9hcGktdmVyc2lvbj0yMDE2LTAyLTAx", - "RequestMethod": "GET", - "RequestBody": "", + "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.Resources.ResourceManagementClient/2.0.0.0" + "Microsoft.Azure.Management.Network.NetworkManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": []\r\n}", + "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": [ - "12" + "686" ], "Content-Type": [ "application/json; charset=utf-8" @@ -222,17 +990,14 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14997" + "Retry-After": [ + "10" ], "x-ms-request-id": [ - "771bf9ea-d9db-49ef-8823-c59b53ca210e" + "029a37ed-6652-4a26-95f7-bc6a4b6b493f" ], - "x-ms-correlation-request-id": [ - "771bf9ea-d9db-49ef-8823-c59b53ca210e" - ], - "x-ms-routing-request-id": [ - "WESTUS:20160324T181121Z:771bf9ea-d9db-49ef-8823-c59b53ca210e" + "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" @@ -240,32 +1005,39 @@ "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 18:11:21 GMT" + "Thu, 24 Mar 2016 22:01:11 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits/onesdk6401/?api-version=2016-03-30", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Jlc291cmNlR3JvdXBzL21vdmVjaXJjdWl0L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9leHByZXNzUm91dGVDaXJjdWl0cy9vbmVzZGs2NDAxLz9hcGktdmVyc2lvbj0yMDE2LTAzLTMw", + "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": { - "x-ms-client-request-id": [ - "402e67fe-f7ba-46e6-9e0a-3d83320a47ce" - ], - "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/onesdk6401' under resource group 'movecircuit' was not found.\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "164" + "29" ], "Content-Type": [ "application/json; charset=utf-8" @@ -276,17 +1048,8 @@ "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ - "gateway" - ], "x-ms-request-id": [ - "d1d8f518-8131-4b05-9c23-487f55fc9c8e" - ], - "x-ms-correlation-request-id": [ - "d1d8f518-8131-4b05-9c23-487f55fc9c8e" - ], - "x-ms-routing-request-id": [ - "WESTUS:20160324T181122Z:d1d8f518-8131-4b05-9c23-487f55fc9c8e" + "ecbcbcc2-d044-4799-8386-fb91f54a3dd2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -294,38 +1057,39 @@ "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 18:11:22 GMT" + "Thu, 24 Mar 2016 22:00:36 GMT" ] }, - "StatusCode": 404 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourceGroups/movecircuit/providers/Microsoft.Network/expressRouteCircuits/onesdk6401/?api-version=2016-03-30", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Jlc291cmNlR3JvdXBzL21vdmVjaXJjdWl0L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9leHByZXNzUm91dGVDaXJjdWl0cy9vbmVzZGs2NDAxLz9hcGktdmVyc2lvbj0yMDE2LTAzLTMw", - "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}", + "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": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "414" - ], - "x-ms-client-request-id": [ - "5d1721c0-1f88-41c2-9e59-d174bc79d805" - ], - "accept-language": [ - "en-US" - ], "User-Agent": [ "Microsoft.Azure.Management.Network.NetworkManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"SubscriptionNotRegistered\",\r\n \"message\": \"Subscription 18b0dc06-a2b8-4c0f-95af-550319fa5eac is not registered with NRP.\",\r\n \"details\": []\r\n }\r\n}", + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "181" + "29" ], "Content-Type": [ "application/json; charset=utf-8" @@ -337,7 +1101,7 @@ "no-cache" ], "x-ms-request-id": [ - "d9a05d6b-9fc3-43df-9279-0f06a443b758" + "3d8fec84-924f-4b60-94d6-e0e4b469a431" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -349,41 +1113,38 @@ "Microsoft-HTTPAPI/2.0", "Microsoft-HTTPAPI/2.0" ], - "x-ms-failure-cause": [ - "service" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "x-ms-ratelimit-remaining-subscription-reads": [ + "14970" ], "x-ms-correlation-request-id": [ - "8189e5e3-92ce-4c9e-8494-602a5d01e5e7" + "ec5f8d5e-3a28-4a9d-9374-852ff1ad2400" ], "x-ms-routing-request-id": [ - "WESTUS:20160324T181146Z:8189e5e3-92ce-4c9e-8494-602a5d01e5e7" + "WESTUS:20160324T220108Z:ec5f8d5e-3a28-4a9d-9374-852ff1ad2400" ], "Date": [ - "Thu, 24 Mar 2016 18:11:45 GMT" - ], - "Connection": [ - "close" + "Thu, 24 Mar 2016 22:01:07 GMT" ] }, - "StatusCode": 502 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourcegroups/movecircuit?api-version=2016-02-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Jlc291cmNlZ3JvdXBzL21vdmVjaXJjdWl0P2FwaS12ZXJzaW9uPTIwMTYtMDItMDE=", - "RequestMethod": "DELETE", + "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.Resources.ResourceManagementClient/2.0.0.0" + "Microsoft.Azure.Management.Network.NetworkManagementClient/4.0.0.0" ] }, - "ResponseBody": "", + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "0" + "29" + ], + "Content-Type": [ + "application/json; charset=utf-8" ], "Expires": [ "-1" @@ -391,20 +1152,8 @@ "Pragma": [ "no-cache" ], - "Retry-After": [ - "15" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" - ], "x-ms-request-id": [ - "bd406c90-cbce-4d89-8f60-15579cdc5c7e" - ], - "x-ms-correlation-request-id": [ - "bd406c90-cbce-4d89-8f60-15579cdc5c7e" - ], - "x-ms-routing-request-id": [ - "WESTUS:20160324T181146Z:bd406c90-cbce-4d89-8f60-15579cdc5c7e" + "dfabbf6f-83db-47a8-ab6d-97cc196cc5c5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -412,26 +1161,39 @@ "Cache-Control": [ "no-cache" ], - "Date": [ - "Thu, 24 Mar 2016 18:11:45 GMT" + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" ], - "Location": [ - "https://management.azure.com/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1NT1ZFQ0lSQ1VJVC1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2016-02-01" + "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": 202 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1NT1ZFQ0lSQ1VJVC1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2016-02-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFOVDFaRlEwbFNRMVZKVkMxWFJWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbmRsYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wMi0wMQ==", - "RequestMethod": "GET", + "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-version": [ - "2016-02-01" + "x-ms-client-request-id": [ + "893f2e95-5e16-4017-97d8-41a9e04ac0d0" + ], + "accept-language": [ + "en-US" ], "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + "Microsoft.Azure.Management.Network.NetworkManagementClient/4.0.0.0" ] }, "ResponseBody": "", @@ -446,19 +1208,13 @@ "no-cache" ], "Retry-After": [ - "15" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14995" + "10" ], "x-ms-request-id": [ - "51a0d6df-9c68-4afd-858e-da913af6f3b6" - ], - "x-ms-correlation-request-id": [ - "51a0d6df-9c68-4afd-858e-da913af6f3b6" + "3924a26e-b4aa-4170-b2ca-2467b6a943ba" ], - "x-ms-routing-request-id": [ - "WESTUS:20160324T181146Z:51a0d6df-9c68-4afd-858e-da913af6f3b6" + "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" @@ -466,32 +1222,45 @@ "Cache-Control": [ "no-cache" ], - "Date": [ - "Thu, 24 Mar 2016 18:11:45 GMT" - ], "Location": [ - "https://management.azure.com/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1NT1ZFQ0lSQ1VJVC1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2016-02-01" + "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/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1NT1ZFQ0lSQ1VJVC1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2016-02-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFOVDFaRlEwbFNRMVZKVkMxWFJWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbmRsYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wMi0wMQ==", + "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": { - "x-ms-version": [ - "2016-02-01" - ], "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + "Microsoft.Azure.Management.Network.NetworkManagementClient/4.0.0.0" ] }, - "ResponseBody": "", + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "0" + "29" + ], + "Content-Type": [ + "application/json; charset=utf-8" ], "Expires": [ "-1" @@ -499,20 +1268,8 @@ "Pragma": [ "no-cache" ], - "Retry-After": [ - "15" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14994" - ], "x-ms-request-id": [ - "93c16366-c509-448d-a623-611594ee188f" - ], - "x-ms-correlation-request-id": [ - "93c16366-c509-448d-a623-611594ee188f" - ], - "x-ms-routing-request-id": [ - "WESTUS:20160324T181201Z:93c16366-c509-448d-a623-611594ee188f" + "8d522ad5-b301-482f-9b2c-02dbfd92f3b5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -520,32 +1277,48 @@ "Cache-Control": [ "no-cache" ], - "Date": [ - "Thu, 24 Mar 2016 18:12:01 GMT" + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" ], - "Location": [ - "https://management.azure.com/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1NT1ZFQ0lSQ1VJVC1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2016-02-01" + "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": 202 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1NT1ZFQ0lSQ1VJVC1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2016-02-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFOVDFaRlEwbFNRMVZKVkMxWFJWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbmRsYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wMi0wMQ==", + "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-version": [ - "2016-02-01" + "x-ms-client-request-id": [ + "21316ca6-d235-439b-8879-515f62348787" + ], + "accept-language": [ + "en-US" ], "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + "Microsoft.Azure.Management.Network.NetworkManagementClient/4.0.0.0" ] }, - "ResponseBody": "", + "ResponseBody": "{\r\n \"value\": []\r\n}", "ResponseHeaders": { "Content-Length": [ - "0" + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" ], "Expires": [ "-1" @@ -553,20 +1326,17 @@ "Pragma": [ "no-cache" ], - "Retry-After": [ - "15" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14993" + "14961" ], "x-ms-request-id": [ - "c8ed1a23-37d7-40bf-9a4a-8b04b32e21f2" + "bdb77495-2f39-4621-84d4-c33485b2d4b4" ], "x-ms-correlation-request-id": [ - "c8ed1a23-37d7-40bf-9a4a-8b04b32e21f2" + "bdb77495-2f39-4621-84d4-c33485b2d4b4" ], "x-ms-routing-request-id": [ - "WESTUS:20160324T181216Z:c8ed1a23-37d7-40bf-9a4a-8b04b32e21f2" + "WESTUS:20160324T220213Z:bdb77495-2f39-4621-84d4-c33485b2d4b4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -575,23 +1345,17 @@ "no-cache" ], "Date": [ - "Thu, 24 Mar 2016 18:12:16 GMT" - ], - "Location": [ - "https://management.azure.com/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1NT1ZFQ0lSQ1VJVC1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2016-02-01" + "Thu, 24 Mar 2016 22:02:12 GMT" ] }, - "StatusCode": 202 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1NT1ZFQ0lSQ1VJVC1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2016-02-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFOVDFaRlEwbFNRMVZKVkMxWFJWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbmRsYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wMi0wMQ==", - "RequestMethod": "GET", + "RequestUri": "/subscriptions/18b0dc06-a2b8-4c0f-95af-550319fa5eac/resourcegroups/movecircuit?api-version=2016-02-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMThiMGRjMDYtYTJiOC00YzBmLTk1YWYtNTUwMzE5ZmE1ZWFjL3Jlc291cmNlZ3JvdXBzL21vdmVjaXJjdWl0P2FwaS12ZXJzaW9uPTIwMTYtMDItMDE=", + "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { - "x-ms-version": [ - "2016-02-01" - ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] @@ -610,17 +1374,17 @@ "Retry-After": [ "15" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14992" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" ], "x-ms-request-id": [ - "d9c01034-ef31-4149-af1a-9fe9faa14f49" + "f0ecfdb9-768f-4c20-9fe0-0d3f5e79d6cf" ], "x-ms-correlation-request-id": [ - "d9c01034-ef31-4149-af1a-9fe9faa14f49" + "f0ecfdb9-768f-4c20-9fe0-0d3f5e79d6cf" ], "x-ms-routing-request-id": [ - "WESTUS:20160324T181232Z:d9c01034-ef31-4149-af1a-9fe9faa14f49" + "WESTUS:20160324T220213Z:f0ecfdb9-768f-4c20-9fe0-0d3f5e79d6cf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -629,7 +1393,7 @@ "no-cache" ], "Date": [ - "Thu, 24 Mar 2016 18:12:31 GMT" + "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" @@ -668,13 +1432,13 @@ "14991" ], "x-ms-request-id": [ - "f3f04f4d-1291-4a0a-99fc-b0fcbbf3536e" + "2a09946d-80e2-48e0-bf4a-82adf72e8533" ], "x-ms-correlation-request-id": [ - "f3f04f4d-1291-4a0a-99fc-b0fcbbf3536e" + "2a09946d-80e2-48e0-bf4a-82adf72e8533" ], "x-ms-routing-request-id": [ - "WESTUS:20160324T181247Z:f3f04f4d-1291-4a0a-99fc-b0fcbbf3536e" + "WESTUS:20160324T220213Z:2a09946d-80e2-48e0-bf4a-82adf72e8533" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -683,7 +1447,7 @@ "no-cache" ], "Date": [ - "Thu, 24 Mar 2016 18:12:46 GMT" + "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" @@ -722,13 +1486,13 @@ "14990" ], "x-ms-request-id": [ - "ca59bff2-70e3-4054-b9c5-c14697659038" + "52fc2aec-0008-44ac-8781-e37aa2ea8c60" ], "x-ms-correlation-request-id": [ - "ca59bff2-70e3-4054-b9c5-c14697659038" + "52fc2aec-0008-44ac-8781-e37aa2ea8c60" ], "x-ms-routing-request-id": [ - "WESTUS:20160324T181302Z:ca59bff2-70e3-4054-b9c5-c14697659038" + "WESTUS:20160324T220228Z:52fc2aec-0008-44ac-8781-e37aa2ea8c60" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -737,7 +1501,7 @@ "no-cache" ], "Date": [ - "Thu, 24 Mar 2016 18:13:01 GMT" + "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" @@ -776,13 +1540,13 @@ "14989" ], "x-ms-request-id": [ - "606a35b8-9e59-4b30-a5b0-ddabd2d5bb3d" + "e0060809-61e2-41cc-ba2b-8cd97e5d3290" ], "x-ms-correlation-request-id": [ - "606a35b8-9e59-4b30-a5b0-ddabd2d5bb3d" + "e0060809-61e2-41cc-ba2b-8cd97e5d3290" ], "x-ms-routing-request-id": [ - "WESTUS:20160324T181317Z:606a35b8-9e59-4b30-a5b0-ddabd2d5bb3d" + "WESTUS:20160324T220244Z:e0060809-61e2-41cc-ba2b-8cd97e5d3290" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -791,7 +1555,7 @@ "no-cache" ], "Date": [ - "Thu, 24 Mar 2016 18:13:16 GMT" + "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" @@ -812,13 +1576,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"Error\": {\r\n \"Code\": \"ResourceGroupDeletionFailed\",\r\n \"Target\": null,\r\n \"Message\": \"Deletion of resource group 'movecircuit' failed because some resources could not be deleted. The tracking Id is 'bd406c90-cbce-4d89-8f60-15579cdc5c7e'. Please check audit logs for more details.\",\r\n \"Details\": null\r\n }\r\n}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "283" - ], - "Content-Type": [ - "application/json; charset=utf-8" + "0" ], "Expires": [ "-1" @@ -830,13 +1591,13 @@ "14988" ], "x-ms-request-id": [ - "fc019999-76c9-4d8a-b1ce-9f9adfe794a6" + "3da84a87-6c31-4511-9a3a-8e763b23f61d" ], "x-ms-correlation-request-id": [ - "fc019999-76c9-4d8a-b1ce-9f9adfe794a6" + "3da84a87-6c31-4511-9a3a-8e763b23f61d" ], "x-ms-routing-request-id": [ - "WESTUS:20160324T181332Z:fc019999-76c9-4d8a-b1ce-9f9adfe794a6" + "WESTUS:20160324T220259Z:3da84a87-6c31-4511-9a3a-8e763b23f61d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -845,15 +1606,15 @@ "no-cache" ], "Date": [ - "Thu, 24 Mar 2016 18:13:31 GMT" + "Thu, 24 Mar 2016 22:02:59 GMT" ] }, - "StatusCode": 409 + "StatusCode": 200 } ], "Names": { "Test-ExpressRouteCircuitStageCRUD": [ - "onesdk6401" + "onesdk5223" ] }, "Variables": {