diff --git a/src/ClientRuntime/ClientRuntime.sln b/src/ClientRuntime/ClientRuntime.sln index 7bb148f2ee43..65c50d6c50cb 100644 --- a/src/ClientRuntime/ClientRuntime.sln +++ b/src/ClientRuntime/ClientRuntime.sln @@ -19,6 +19,12 @@ Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Rest.ClientRuntim EndProject Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Rest.ClientRuntime.Tests", "Microsoft.Rest.ClientRuntime.Tests\Microsoft.Rest.ClientRuntime.Tests.xproj", "{24009A5E-85EC-4EF9-8C22-9F563DF6250F}" EndProject +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Rest.ClientRuntime.E2E.Tests", "Microsoft.Rest.ClientRuntime.E2E.Tests\Microsoft.Rest.ClientRuntime.E2E.Tests.xproj", "{4E9AEB40-026F-4BA1-A2DB-C8E252305157}" +EndProject +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "HttpRecorder", "..\TestFramework\Microsoft.Azure.Test.HttpRecorder\HttpRecorder.xproj", "{5D12D45A-E55F-410E-B8AF-9DC90E81B237}" +EndProject +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "TestFramework", "..\TestFramework\Microsoft.Rest.ClientRuntime.Azure.TestFramework\TestFramework.xproj", "{C4C4E1C8-B99D-4D90-8C27-6D0C0A268BA5}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -57,6 +63,18 @@ Global {24009A5E-85EC-4EF9-8C22-9F563DF6250F}.Debug|Any CPU.Build.0 = Debug|Any CPU {24009A5E-85EC-4EF9-8C22-9F563DF6250F}.Release|Any CPU.ActiveCfg = Release|Any CPU {24009A5E-85EC-4EF9-8C22-9F563DF6250F}.Release|Any CPU.Build.0 = Release|Any CPU + {4E9AEB40-026F-4BA1-A2DB-C8E252305157}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4E9AEB40-026F-4BA1-A2DB-C8E252305157}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4E9AEB40-026F-4BA1-A2DB-C8E252305157}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4E9AEB40-026F-4BA1-A2DB-C8E252305157}.Release|Any CPU.Build.0 = Release|Any CPU + {5D12D45A-E55F-410E-B8AF-9DC90E81B237}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5D12D45A-E55F-410E-B8AF-9DC90E81B237}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5D12D45A-E55F-410E-B8AF-9DC90E81B237}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5D12D45A-E55F-410E-B8AF-9DC90E81B237}.Release|Any CPU.Build.0 = Release|Any CPU + {C4C4E1C8-B99D-4D90-8C27-6D0C0A268BA5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C4C4E1C8-B99D-4D90-8C27-6D0C0A268BA5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C4C4E1C8-B99D-4D90-8C27-6D0C0A268BA5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C4C4E1C8-B99D-4D90-8C27-6D0C0A268BA5}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/src/ClientRuntime/Microsoft.Rest.ClientRuntime.E2E.Tests/Microsoft.Rest.ClientRuntime.E2E.Tests.xproj b/src/ClientRuntime/Microsoft.Rest.ClientRuntime.E2E.Tests/Microsoft.Rest.ClientRuntime.E2E.Tests.xproj new file mode 100644 index 000000000000..d2375757323d --- /dev/null +++ b/src/ClientRuntime/Microsoft.Rest.ClientRuntime.E2E.Tests/Microsoft.Rest.ClientRuntime.E2E.Tests.xproj @@ -0,0 +1,22 @@ + + + + 14.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + + 4e9aeb40-026f-4ba1-a2db-c8e252305157 + Microsoft.Rest.ClientRuntime.E2E.Tests + .\obj + .\bin\ + v4.6 + + + 2.0 + + + + + + \ No newline at end of file diff --git a/src/ClientRuntime/Microsoft.Rest.ClientRuntime.E2E.Tests/Properties/AssemblyInfo.cs b/src/ClientRuntime/Microsoft.Rest.ClientRuntime.E2E.Tests/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..97bdb11d3c80 --- /dev/null +++ b/src/ClientRuntime/Microsoft.Rest.ClientRuntime.E2E.Tests/Properties/AssemblyInfo.cs @@ -0,0 +1,19 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Microsoft.Rest.ClientRuntime.E2E.Tests")] +[assembly: AssemblyTrademark("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("4e9aeb40-026f-4ba1-a2db-c8e252305157")] diff --git a/src/ClientRuntime/Microsoft.Rest.ClientRuntime.E2E.Tests/ScenarioTests/E2ETestBase.cs b/src/ClientRuntime/Microsoft.Rest.ClientRuntime.E2E.Tests/ScenarioTests/E2ETestBase.cs new file mode 100644 index 000000000000..130b4c94707d --- /dev/null +++ b/src/ClientRuntime/Microsoft.Rest.ClientRuntime.E2E.Tests/ScenarioTests/E2ETestBase.cs @@ -0,0 +1,751 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. + +namespace Microsoft.Rest.ClientRuntime.E2E.Tests.ScenarioTests +{ + using Microsoft.Azure.Management.Compute; + using Microsoft.Azure.Management.Compute.Models; + using Microsoft.Azure.Management.Network; + using Microsoft.Azure.Management.Network.Models; + using Microsoft.Azure.Management.Resources; + using Microsoft.Azure.Management.Resources.Models; + using Microsoft.Azure.Management.Storage; + using Microsoft.Azure.Management.Storage.Models; + using Microsoft.Azure.Test.HttpRecorder; + using Microsoft.Rest.ClientRuntime.Azure.TestFramework; + using Microsoft.Rest.ClientRuntime.E2E.Tests.TestAssets; + using System; + using System.Collections.Generic; + using System.Diagnostics; + using System.Linq; + using System.Net; + using System.Reflection; + using Xunit; + + public class E2ETestBase + { + const string DEFAULT_LOCATION = "SoutheastAsia"; + + string TEST_PREFIX; + + MockContext _mockContext; + ResourceManagementClient _resourceClient; + MyComputeClient _computeClient; + StorageManagementClient _storageClient; + NetworkManagementClient _networkClient; + + ImageReference m_windowsImageReference, m_linuxImageReference; + + /// + /// Constructor for E2ETestBase class + /// + /// + public E2ETestBase(string testPrefix = "") + { + TEST_PREFIX = testPrefix; + } + + protected MockContext MockContext + { + get + { + return _mockContext; + + } + + set + { + _mockContext = value; + } + } + protected ResourceManagementClient ResourceClient + { + get + { + if(_resourceClient == null) + { + var handle = new RecordedDelegatingHandler + { + StatusCodeToReturn = HttpStatusCode.OK, + IsPassThrough = true + }; + + _resourceClient = MockContext.GetServiceClient(handlers: handle); + } + + return _resourceClient; + } + } + + protected MyComputeClient ComputeClient + { + get + { + if(_computeClient == null) + { + var handle = new RecordedDelegatingHandler + { + StatusCodeToReturn = HttpStatusCode.OK, + IsPassThrough = true + }; + _computeClient = MockContext.GetServiceClient(handlers: handle); + } + + return _computeClient; + } + } + + protected StorageManagementClient StorageClient + { + get + { + if (_storageClient == null) + { + var handle = new RecordedDelegatingHandler + { + StatusCodeToReturn = HttpStatusCode.OK, + IsPassThrough = true + }; + + _storageClient = MockContext.GetServiceClient(handlers: handle); + } + + return _storageClient; + } + } + + protected NetworkManagementClient NetworkClient + { + get + { + if (_networkClient == null) + { + var handle = new RecordedDelegatingHandler + { + StatusCodeToReturn = HttpStatusCode.OK, + IsPassThrough = true + }; + + _networkClient = MockContext.GetServiceClient(handlers: handle); + } + + return _networkClient; + } + } + + protected StorageAccount CreateStorageAccount(ResourceGroup resGroup, string storageAccountName) + { + StorageAccount storageAccountOutput = null; + string rgName = resGroup.Name; + + try + { + var storageAccountList = StorageClient.StorageAccounts.ListByResourceGroup(rgName); + if (storageAccountList.Any()) + { + storageAccountOutput = storageAccountList.Where((sa) => sa.Name.Equals(storageAccountName, StringComparison.OrdinalIgnoreCase)).FirstOrDefault(); + } + } + catch { } + + if (storageAccountOutput == null) + { + var stoInput = new StorageAccountCreateParameters + { + Location = DEFAULT_LOCATION, + AccountType = AccountType.StandardGRS + }; + + storageAccountOutput = StorageClient.StorageAccounts.Create(rgName, + storageAccountName, stoInput); + bool created = false; + while (!created) + { + Microsoft.Rest.ClientRuntime.Azure.TestFramework.TestUtilities.Wait(TimeSpan.FromSeconds(10)); + var stos = StorageClient.StorageAccounts.ListByResourceGroup(rgName); + created = + stos.Any( + t => + StringComparer.OrdinalIgnoreCase.Equals(t.Name, storageAccountName)); + } + + storageAccountOutput = StorageClient.StorageAccounts.GetProperties(rgName, storageAccountName); + } + + return storageAccountOutput; + } + + protected ResourceGroup CreateResourceGroup(string rgName) + { + ResourceGroup resourceGroup = null; + try + { + resourceGroup = ResourceClient.ResourceGroups.Get(rgName); + } + catch { } + + if (resourceGroup == null) + { + resourceGroup = ResourceClient.ResourceGroups.CreateOrUpdate( + rgName, + new ResourceGroup + { + Location = DEFAULT_LOCATION, + Tags = new Dictionary() { { rgName, DateTime.UtcNow.ToString("u") } } + }); + } + return resourceGroup; + } + + public static string GenerateName(string prefix = null, + [System.Runtime.CompilerServices.CallerMemberName] + string methodName="GenerateName_failed") + { + return HttpMockServer.GetAssetName(methodName, prefix); + } + + protected ImageReference GetPlatformVMImage(bool useWindowsImage) + { + if (useWindowsImage) + { + if (m_windowsImageReference == null) + { + m_windowsImageReference = FindVMImage("MicrosoftWindowsServer", "WindowsServer", "2012-R2-Datacenter"); + } + return m_windowsImageReference; + } + + if (m_linuxImageReference == null) + { + // If this sku disappears, query latest with + // GET https://management.azure.com/subscriptions//providers/Microsoft.Compute/locations/SoutheastAsia/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus?api-version=2015-06-15 + m_linuxImageReference = FindVMImage("Canonical", "UbuntuServer", "15.10"); + } + return m_linuxImageReference; + } + + protected ImageReference FindVMImage(string publisher, string offer, string sku) + { + var query = new Microsoft.Rest.Azure.OData.ODataQuery(); + query.Top = 1; + var images = ComputeClient.VirtualMachineImages.List( + location: DEFAULT_LOCATION, publisherName: publisher, offer: offer, skus: sku, + odataQuery: query); + var image = images.First(); + return new ImageReference + { + Publisher = publisher, + Offer = offer, + Sku = sku, + Version = image.Name + }; + } + + protected VirtualMachine CreateVirtualMachine( + string rgName, string vmName, string asName, string storageAccountName, ImageReference imageRef, + out VirtualMachine inputVM, + Action vmCustomizer = null, + bool createWithPublicIpAddress = false, + bool waitOperation = true, + bool hasManagedDisks = false) + { + + VirtualMachine vm = null; + try + { + vm = ComputeClient.VirtualMachines.Get(rgName, vmName); + } + catch(Exception ex) + { + Debug.WriteLine(ex.ToString()); + } + + try + { + if (vm == null) + { + // Create the resource Group, it might have been already created during StorageAccount creation. + var resourceGroup = ResourceClient.ResourceGroups.Get(rgName); + + PublicIPAddress getPublicIpAddressResponse = createWithPublicIpAddress ? null : CreatePublicIP(rgName); + + // Do not add Dns server for managed disks, as they cannot resolve managed disk url ( https://md-xyz ) without + // explicitly setting up the rules for resolution. The VMs upon booting would need to contact the + // DNS server to access the VMStatus agent blob. Without proper Dns resolution, The VMs cannot access the + // VMStatus agent blob and there by fail to boot. + bool addDnsServer = !hasManagedDisks; + Subnet subnetResponse = CreateVNET(rgName, addDnsServer); + + NetworkInterface nicResponse = CreateNIC( + rgName, + subnetResponse, + getPublicIpAddressResponse != null ? getPublicIpAddressResponse.IpAddress : null); + + string asetId = CreateAvailabilitySet(rgName, asName, hasManagedDisks); + + inputVM = CreateDefaultVMInput(rgName, vmName, storageAccountName, imageRef, asetId, nicResponse.Id, hasManagedDisks); + + string expectedVMReferenceId = GetVMReferenceId(ComputeClient.SubscriptionId, rgName, inputVM.Name); + + VirtualMachine createOrUpdateResponse = null; + if (waitOperation) + { + createOrUpdateResponse = ComputeClient.VirtualMachines.CreateOrUpdate(rgName, inputVM.Name, inputVM); + } + else + { + createOrUpdateResponse = ComputeClient.VirtualMachines.BeginCreateOrUpdate(rgName, inputVM.Name, inputVM); + } + + Assert.True(createOrUpdateResponse.Name == inputVM.Name); + Assert.True(createOrUpdateResponse.Location == inputVM.Location.ToLower().Replace(" ", "") || + createOrUpdateResponse.Location.ToLower() == inputVM.Location.ToLower()); + + Assert.True( + createOrUpdateResponse.AvailabilitySet.Id + .ToLowerInvariant() == asetId.ToLowerInvariant()); + //ValidateVM(inputVM, createOrUpdateResponse, expectedVMReferenceId, hasManagedDisks); + + // CONSIDER dropping this Get and ValidateVM call. Nothing changes in the VM model after it's accepted. + // There might have been intent to track the async operation to completion and then check the VM is + // still this and okay, but that's not what the code above does and still doesn't make much sense. + vm = ComputeClient.VirtualMachines.Get(rgName, inputVM.Name); + //ValidateVM(inputVM, vm, expectedVMReferenceId, hasManagedDisks); + } + + inputVM = vm; + } + catch + { + //ResourceClient.ResourceGroups.Delete(rgName); + throw; + } + + return vm; + } + + protected void ValidateVM(VirtualMachine vm, VirtualMachine vmOut, string expectedVMReferenceId, bool hasManagedDisks = false) + { + Assert.True(vmOut.LicenseType == vm.LicenseType); + + Assert.True(!string.IsNullOrEmpty(vmOut.ProvisioningState)); + + Assert.True(vmOut.HardwareProfile.VmSize + == vm.HardwareProfile.VmSize); + + Assert.NotNull(vmOut.StorageProfile.OsDisk); + + if (vm.StorageProfile.OsDisk != null) + { + Assert.True(vmOut.StorageProfile.OsDisk.Name + == vm.StorageProfile.OsDisk.Name); + + Assert.True(vmOut.StorageProfile.OsDisk.Caching + == vm.StorageProfile.OsDisk.Caching); + + Assert.NotNull(vmOut.StorageProfile.OsDisk.Vhd); + Assert.Equal(vm.StorageProfile.OsDisk.Vhd.Uri, vmOut.StorageProfile.OsDisk.Vhd.Uri); + if (vm.StorageProfile.OsDisk.Image != null && vm.StorageProfile.OsDisk.Image.Uri != null) + { + Assert.Equal(vm.StorageProfile.OsDisk.Image.Uri, vmOut.StorageProfile.OsDisk.Image.Uri); + } + } + + if (vm.StorageProfile.DataDisks != null && + vm.StorageProfile.DataDisks.Any()) + { + foreach (var dataDisk in vm.StorageProfile.DataDisks) + { + var dataDiskOut = vmOut.StorageProfile.DataDisks.FirstOrDefault( + d => dataDisk.Lun == d.Lun); + + Assert.NotNull(dataDiskOut); + Assert.Equal(dataDiskOut.DiskSizeGB, dataDisk.DiskSizeGB); + Assert.Equal(dataDiskOut.CreateOption, dataDisk.CreateOption); + if (dataDisk.Caching != null) + { + Assert.Equal(dataDiskOut.Caching, dataDisk.Caching); + } + + if (dataDisk.Name != null) + { + Assert.Equal(dataDiskOut.Name, dataDisk.Name); + } + + // Disabling resharper null-ref check as it doesn't seem to understand the not-null assert above. + // ReSharper disable PossibleNullReferenceException + + + Assert.NotNull(dataDiskOut.Vhd); + Assert.NotNull(dataDiskOut.Vhd.Uri); + if (dataDisk.Image != null && dataDisk.Image.Uri != null) + { + Assert.NotNull(dataDiskOut.Image); + Assert.Equal(dataDisk.Image.Uri, dataDiskOut.Image.Uri); + } + // ReSharper enable PossibleNullReferenceException + } + } + } + + + protected PublicIPAddress CreatePublicIP(string rgName) + { + // Create publicIP + string publicIpName = "pip5913"; + string domainNameLabel = "dn5913"; + + PublicIPAddress publicIp = null; + + try + { + publicIp = NetworkClient.PublicIPAddresses.Get(rgName, publicIpName); + } + catch { } + + if(publicIp == null) + { + publicIp = new PublicIPAddress() + { + Location = DEFAULT_LOCATION, + Tags = new Dictionary() + { + {"key", "value"} + }, + PublicIPAllocationMethod = IPAllocationMethod.Dynamic, + DnsSettings = new PublicIPAddressDnsSettings() + { + DomainNameLabel = domainNameLabel + } + }; + + var putPublicIpAddressResponse = NetworkClient.PublicIPAddresses.CreateOrUpdate(rgName, publicIpName, publicIp); + var getPublicIpAddressResponse = NetworkClient.PublicIPAddresses.Get(rgName, publicIpName); + + publicIp = getPublicIpAddressResponse; + } + + return publicIp; + } + + protected string CreateAvailabilitySet(string rgName, string asName, bool hasManagedDisks = false) + { + // Setup availability set + AvailabilitySet inputAvailabilitySet = null; + + try + { + inputAvailabilitySet = ComputeClient.AvailabilitySets.Get(rgName, asName); + } + catch { } + + if(inputAvailabilitySet == null) + { + var aSet = new AvailabilitySet + { + Location = DEFAULT_LOCATION, + Tags = new Dictionary() + { + {"RG", "rg"}, + {"testTag", "1"} + }, + PlatformFaultDomainCount = hasManagedDisks ? 2 : 3, + PlatformUpdateDomainCount = 5, + }; + + // Create an Availability Set and then create a VM inside this availability set + var asCreateOrUpdateResponse = ComputeClient.AvailabilitySets.CreateOrUpdate( + rgName, + asName, + aSet + ); + + inputAvailabilitySet = asCreateOrUpdateResponse; + } + + var asetId = GetAvailabilitySetRef(ComputeClient.SubscriptionId, rgName, inputAvailabilitySet.Name); + return asetId; + } + + protected Subnet CreateVNET(string rgName, bool addDnsServer = true) + { + // Create Vnet + // Populate parameter for Put Vnet + string vnetName = "vn5913"; + string subnetName = "sn5913"; + + Subnet subnet = null; + + try + { + subnet = NetworkClient.Subnets.Get(rgName, vnetName, subnetName); + } + catch { } + + + if (subnet == null) + { + var vnet = new VirtualNetwork() + { + Location = DEFAULT_LOCATION, + AddressSpace = new AddressSpace() + { + AddressPrefixes = new List() + { + "10.0.0.0/16", + } + }, + DhcpOptions = !addDnsServer ? null : new DhcpOptions() + { + DnsServers = new List() + { + "10.1.1.1", + "10.1.2.4" + } + }, + Subnets = new List() + { + new Subnet() + { + Name = subnetName, + AddressPrefix = "10.0.0.0/24", + } + } + }; + var putVnetResponse = NetworkClient.VirtualNetworks.CreateOrUpdate(rgName, vnetName, vnet); + var getSubnetResponse = NetworkClient.Subnets.Get(rgName, vnetName, subnetName); + subnet = getSubnetResponse; + } + return subnet; + } + + protected VirtualNetwork CreateVNETWithSubnets(string rgName, int subnetCount = 2) + { + // Create Vnet + // Populate parameter for Put Vnet + string vnetName = GenerateName("vn"); + + var vnet = new VirtualNetwork() + { + Location = DEFAULT_LOCATION, + AddressSpace = new AddressSpace() + { + AddressPrefixes = new List() + { + "10.0.0.0/16", + } + }, + DhcpOptions = new DhcpOptions() + { + DnsServers = new List() + { + "10.1.1.1", + "10.1.2.4" + } + }, + }; + + vnet.Subnets = new List(); + for (int i = 1; i <= subnetCount; i++) + { + Subnet subnet = new Subnet() + { + Name = GenerateName("sn" + i), + AddressPrefix = "10.0." + i + ".0/24", + }; + vnet.Subnets.Add(subnet); + } + + var putVnetResponse = NetworkClient.VirtualNetworks.CreateOrUpdate(rgName, vnetName, vnet); + return putVnetResponse; + } + + protected NetworkSecurityGroup CreateNsg(string rgName, string nsgName = null) + { + nsgName = nsgName ?? GenerateName("nsg"); + var nsgParameters = new NetworkSecurityGroup() + { + Location = DEFAULT_LOCATION + }; + + var putNSgResponse = NetworkClient.NetworkSecurityGroups.CreateOrUpdate(rgName, nsgName, nsgParameters); + var getNsgResponse = NetworkClient.NetworkSecurityGroups.Get(rgName, nsgName); + + return getNsgResponse; + } + + protected NetworkInterface CreateNIC(string rgName, Subnet subnet, string publicIPaddress, string nicname = null, NetworkSecurityGroup nsg = null) + { + // Create Nic + nicname = "nic5913"; + string ipConfigName = "ip5913"; + NetworkInterface netInterface = null; + try + { + netInterface = NetworkClient.NetworkInterfaces.Get(rgName, nicname); + } + catch { } + + if(netInterface == null) + { + var nicParameters = new NetworkInterface() + { + Location = DEFAULT_LOCATION, + Tags = new Dictionary() + { + { "key" ,"value" } + }, + IpConfigurations = new List() + { + new NetworkInterfaceIPConfiguration() + { + Name = ipConfigName, + PrivateIPAllocationMethod = IPAllocationMethod.Dynamic, + Subnet = subnet, + } + }, + NetworkSecurityGroup = nsg + }; + + if (publicIPaddress != null) + { + nicParameters.IpConfigurations[0].PublicIPAddress = new Microsoft.Azure.Management.Network.Models.PublicIPAddress() { Id = publicIPaddress }; + } + + var putNicResponse = NetworkClient.NetworkInterfaces.CreateOrUpdate(rgName, nicname, nicParameters); + var getNicResponse = NetworkClient.NetworkInterfaces.Get(rgName, nicname); + netInterface = getNicResponse; + } + return netInterface; + } + + protected NetworkInterface CreateMultiIpConfigNIC(string rgName, Subnet subnet, string nicname) + { + // Create Nic + nicname = nicname ?? GenerateName("nic"); + + string ipConfigName = GenerateName("ip"); + string ipConfigName2 = GenerateName("ip2"); + + var nicParameters = new NetworkInterface() + { + Location = DEFAULT_LOCATION, + Tags = new Dictionary() + { + { "key" ,"value" } + }, + IpConfigurations = new List() + { + new NetworkInterfaceIPConfiguration() + { + Name = ipConfigName, + Primary = true, + PrivateIPAllocationMethod = IPAllocationMethod.Dynamic, + Subnet = subnet, + }, + + new NetworkInterfaceIPConfiguration() + { + Name = ipConfigName2, + Primary = false, + PrivateIPAllocationMethod = IPAllocationMethod.Dynamic, + Subnet = subnet, + } + } + }; + + var putNicResponse = NetworkClient.NetworkInterfaces.CreateOrUpdate(rgName, nicname, nicParameters); + var getNicResponse = NetworkClient.NetworkInterfaces.Get(rgName, nicname); + return getNicResponse; + } + + protected VirtualMachine CreateDefaultVMInput(string rgName, string vmName, string storageAccountName, ImageReference imageRef, string asetId, string nicId, bool hasManagedDisks = false) + { + // Generate Container name to hold disk VHds + string containerName = "cont5913"; + var vhdContainer = "https://" + storageAccountName + ".blob.core.windows.net/" + containerName; + var vhduri = vhdContainer + string.Format("/{0}.vhd", "vhd5913"); + var osVhduri = vhdContainer + string.Format("/os{0}.vhd", "vhdcont5913"); + + var vm = new VirtualMachine + { + Location = DEFAULT_LOCATION, + Tags = new Dictionary() { { "RG", "rg" }, { "testTag", "1" } }, + AvailabilitySet = new Microsoft.Azure.Management.Compute.Models.SubResource() { Id = asetId }, + HardwareProfile = new HardwareProfile + { + VmSize = VirtualMachineSizeTypes.StandardA0 + }, + StorageProfile = new StorageProfile + { + ImageReference = imageRef, + OsDisk = new OSDisk + { + Caching = CachingTypes.None, + CreateOption = DiskCreateOptionTypes.FromImage, + Name = "test", + Vhd = hasManagedDisks ? null : new VirtualHardDisk + { + Uri = osVhduri + } + } + }, + NetworkProfile = new NetworkProfile + { + NetworkInterfaces = new List + { + new NetworkInterfaceReference + { + Id = nicId + } + } + }, + OsProfile = new OSProfile + { + AdminUsername = "Foo12", + AdminPassword = "BaR@123" + rgName, + ComputerName = "test" + } + }; + + typeof(Microsoft.Azure.Management.Compute.Models.Resource).GetRuntimeProperty("Name").SetValue(vm, vmName); + typeof(Microsoft.Azure.Management.Compute.Models.Resource).GetRuntimeProperty("Type").SetValue(vm, GenerateName("Microsoft.Compute/virtualMachines")); + return vm; + } + + public static string GetVMReferenceId(string subId, string resourceGrpName, string vmName) + { + return GetEntityReferenceId(subId, resourceGrpName, ApiConstants.VirtualMachines, vmName); + } + + public static string GetAvailabilitySetRef(string subId, string resourceGrpName, string availabilitySetName) + { + return GetEntityReferenceId(subId, resourceGrpName, ApiConstants.AvailabilitySets, availabilitySetName); + } + + private static string GetEntityReferenceId(string subId, string resourceGrpName, string controllerName, string entityName) + { + return string.Format("/{0}/{1}/{2}/{3}/{4}/{5}/{6}/{7}", + ApiConstants.Subscriptions, subId, ApiConstants.ResourceGroups, resourceGrpName, + ApiConstants.Providers, ApiConstants.ResourceProviderNamespace, controllerName, + entityName); + } + + } + + public static class ApiConstants + { + public const string + Subscriptions = "subscriptions", + ResourceGroups = "resourceGroups", + Providers = "providers", + VirtualMachines = "virtualMachines", + AvailabilitySets = "availabilitySets", + ResourceProviderNamespace = "Microsoft.Compute"; + } + + public static class Constants + { + public const string StorageAccountBlobUriTemplate = "https://{0}.blob.core.windows.net/"; + } +} diff --git a/src/ClientRuntime/Microsoft.Rest.ClientRuntime.E2E.Tests/ScenarioTests/VMTests.cs b/src/ClientRuntime/Microsoft.Rest.ClientRuntime.E2E.Tests/ScenarioTests/VMTests.cs new file mode 100644 index 000000000000..705f0486f099 --- /dev/null +++ b/src/ClientRuntime/Microsoft.Rest.ClientRuntime.E2E.Tests/ScenarioTests/VMTests.cs @@ -0,0 +1,90 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. + +namespace Microsoft.Rest.ClientRuntime.E2E.Tests.ScenarioTests +{ + using Microsoft.Azure.Management.Compute; + using Microsoft.Azure.Management.Compute.Models; + using Microsoft.Azure.Management.Resources; + using Microsoft.Azure.Management.Resources.Models; + using Microsoft.Azure.Management.Storage.Models; + using Microsoft.Rest.ClientRuntime.Azure.TestFramework; + using Microsoft.Rest.ClientRuntime.E2E.Tests.TestAssets; + using Rest.Azure; + using System.Net; + using Xunit; + using System.Threading.Tasks; + using System.Diagnostics; + using System; + using System.Net.Http; + + public class VMTests : E2ETestBase + { + const string prefix = "e2etests"; + const string resourcePrefix = "res"; + const string storagePrefix = "sto"; + const string networkPrefix = "net"; + const string vmPrefix = "vm"; + + /// + /// Constructor for Test class + /// + public VMTests() : base(prefix) + { } + + [Fact] + public void UpdateVM_DoNotSerializeProtected() + { + string guidString = "f978ade9"; //We need to be under 24 char for storage, so making it shorter for almost all names + string resourceGroupName = string.Format("{0}-{1}-{2}", prefix, resourcePrefix, guidString); + string storageName = string.Format("{0}{1}{2}", prefix, storagePrefix, guidString); + string vmName = string.Format("{0}-{1}-{2}", prefix, vmPrefix, guidString); + + VirtualMachine vm1; + ResourceGroup resGroup = null; + + using (base.MockContext = MockContext.Start(this.GetType().FullName)) + { + try + { + string newVmId = "5C6F1669-C183-4BFC-9BBB-138E0892E917"; + string asName = "as5913"; + resGroup = CreateResourceGroup(resourceGroupName); + StorageAccount storageAccount = CreateStorageAccount(resGroup, storageName); + ImageReference imageRef = GetPlatformVMImage(useWindowsImage: true); + VirtualMachine vm = CreateVirtualMachine(resGroup.Name, vmName, asName, storageAccount.Name, imageRef, out vm1); + + //Create a new VM and Update VmId protected Property + MyVm myNewVm = new MyVm(vm); + myNewVm.UpdateVm(newVmId); + VirtualMachine updatedVm = myNewVm as VirtualMachine; + + // Update VM + AzureOperationResponse putResponse = Task>.Run(async () => + { + return await ComputeClient.VirtualMachines.BeginCreateOrUpdateWithHttpMessagesAsync(resGroup.Name, updatedVm.Name, updatedVm).ConfigureAwait(false); + }).GetAwaiter().GetResult(); + + //Get Request Content and verify it does not contain VmId property + string requestContentStr = ComputeClient.GetRequestContent(); + Assert.False(requestContentStr.Contains("VmId")); + + //Get VM Object + VirtualMachine getVm = putResponse.Body; + + // Verify the vmPutResponse does not contain updated VmId + Assert.NotEqual(newVmId, getVm.VmId); + } + catch(Exception ex) + { + Debug.WriteLine(ex.ToString()); + throw; + } + finally + { + ResourceClient.ResourceGroups.Delete(resGroup.Name); + } + } + } + } +} diff --git a/src/ClientRuntime/Microsoft.Rest.ClientRuntime.E2E.Tests/SessionRecords/Microsoft.Rest.ClientRuntime.E2E.Tests.ScenarioTests.VMTests/UpdateVM_DoNotSerializeProtected.json b/src/ClientRuntime/Microsoft.Rest.ClientRuntime.E2E.Tests/SessionRecords/Microsoft.Rest.ClientRuntime.E2E.Tests.ScenarioTests.VMTests/UpdateVM_DoNotSerializeProtected.json new file mode 100644 index 000000000000..a4008aa32025 --- /dev/null +++ b/src/ClientRuntime/Microsoft.Rest.ClientRuntime.E2E.Tests/SessionRecords/Microsoft.Rest.ClientRuntime.E2E.Tests.ScenarioTests.VMTests/UpdateVM_DoNotSerializeProtected.json @@ -0,0 +1,3598 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/e2etests-res-f978ade9?api-version=2015-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL2UyZXRlc3RzLXJlcy1mOTc4YWRlOT9hcGktdmVyc2lvbj0yMDE1LTExLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "fd14f653-a6e8-49e5-be09-a18b1ce1046b" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0-preview" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'e2etests-res-f978ade9' could not be found.\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "113" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:53:26 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-request-id": [ + "6eb02ac9-4ed7-43e8-8abc-c0d6732c6eda" + ], + "x-ms-correlation-request-id": [ + "6eb02ac9-4ed7-43e8-8abc-c0d6732c6eda" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235326Z:6eb02ac9-4ed7-43e8-8abc-c0d6732c6eda" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/e2etests-res-f978ade9?api-version=2015-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL2UyZXRlc3RzLXJlcy1mOTc4YWRlOT9hcGktdmVyc2lvbj0yMDE1LTExLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4574e0cc-0be4-4548-ab90-938fb89a2dc2" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0-preview" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9\",\r\n \"name\": \"e2etests-res-f978ade9\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {\r\n \"e2etests-res-f978ade9\": \"2017-03-16 23:53:26Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:54:53 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14995" + ], + "x-ms-request-id": [ + "78d08f1f-ecf4-4c09-97cb-e85d24b61ed3" + ], + "x-ms-correlation-request-id": [ + "78d08f1f-ecf4-4c09-97cb-e85d24b61ed3" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235453Z:78d08f1f-ecf4-4c09-97cb-e85d24b61ed3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/e2etests-res-f978ade9?api-version=2015-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL2UyZXRlc3RzLXJlcy1mOTc4YWRlOT9hcGktdmVyc2lvbj0yMDE1LTExLTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"SoutheastAsia\",\r\n \"tags\": {\r\n \"e2etests-res-f978ade9\": \"2017-03-16 23:53:26Z\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "107" + ], + "x-ms-client-request-id": [ + "19abaaa0-6abf-4907-b0e9-cbe9a8ad44b9" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0-preview" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9\",\r\n \"name\": \"e2etests-res-f978ade9\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {\r\n \"e2etests-res-f978ade9\": \"2017-03-16 23:53:26Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "258" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:53:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "f65b60b5-87e1-4c4b-9ac4-27bc4c357940" + ], + "x-ms-correlation-request-id": [ + "f65b60b5-87e1-4c4b-9ac4-27bc4c357940" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235330Z:f65b60b5-87e1-4c4b-9ac4-27bc4c357940" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Storage/storageAccounts?api-version=2015-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL2UyZXRlc3RzLXJlcy1mOTc4YWRlOS9wcm92aWRlcnMvTWljcm9zb2Z0LlN0b3JhZ2Uvc3RvcmFnZUFjY291bnRzP2FwaS12ZXJzaW9uPTIwMTUtMDYtMTU=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b70fec28-5665-46b6-a1c9-4c36ba6dfc14" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Storage.StorageManagementClient/4.1.0-preview" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:53:32 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-Azure-Storage-Resource-Provider/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "d6a4350c-4444-4959-8092-16a1f04bfb23" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "d6a4350c-4444-4959-8092-16a1f04bfb23" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235332Z:d6a4350c-4444-4959-8092-16a1f04bfb23" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Storage/storageAccounts?api-version=2015-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL2UyZXRlc3RzLXJlcy1mOTc4YWRlOS9wcm92aWRlcnMvTWljcm9zb2Z0LlN0b3JhZ2Uvc3RvcmFnZUFjY291bnRzP2FwaS12ZXJzaW9uPTIwMTUtMDYtMTU=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f69a9bb9-e80a-440c-879e-8619cecf124d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Storage.StorageManagementClient/4.1.0-preview" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Storage/storageAccounts/e2etestsstof978ade9\",\r\n \"location\": \"southeastasia\",\r\n \"name\": \"e2etestsstof978ade9\",\r\n \"properties\": {\r\n \"accountType\": \"Standard_GRS\",\r\n \"creationTime\": \"2017-03-16T23:53:36.5990647Z\",\r\n \"primaryEndpoints\": {\r\n \"blob\": \"https://e2etestsstof978ade9.blob.core.windows.net/\",\r\n \"file\": \"https://e2etestsstof978ade9.file.core.windows.net/\",\r\n \"queue\": \"https://e2etestsstof978ade9.queue.core.windows.net/\",\r\n \"table\": \"https://e2etestsstof978ade9.table.core.windows.net/\"\r\n },\r\n \"primaryLocation\": \"southeastasia\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"secondaryLocation\": \"eastasia\",\r\n \"statusOfPrimary\": \"available\",\r\n \"statusOfSecondary\": \"available\"\r\n },\r\n \"tags\": {},\r\n \"type\": \"Microsoft.Storage/storageAccounts\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:54:46 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-Azure-Storage-Resource-Provider/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "ebe82478-d0c6-408e-b5a0-2bbee1c2761d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14994" + ], + "x-ms-correlation-request-id": [ + "ebe82478-d0c6-408e-b5a0-2bbee1c2761d" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235447Z:ebe82478-d0c6-408e-b5a0-2bbee1c2761d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Storage/storageAccounts/e2etestsstof978ade9?api-version=2015-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL2UyZXRlc3RzLXJlcy1mOTc4YWRlOS9wcm92aWRlcnMvTWljcm9zb2Z0LlN0b3JhZ2Uvc3RvcmFnZUFjY291bnRzL2UyZXRlc3Rzc3RvZjk3OGFkZTk/YXBpLXZlcnNpb249MjAxNS0wNi0xNQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"SoutheastAsia\",\r\n \"properties\": {\r\n \"accountType\": \"Standard_GRS\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "95" + ], + "x-ms-client-request-id": [ + "f19d9318-0d20-4206-a663-588881290e8a" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Storage.StorageManagementClient/4.1.0-preview" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:53:36 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Storage/operations/a04bce7c-3d8e-457b-a3c9-d7f09a15a7cc?monitor=true&api-version=2015-06-15" + ], + "Retry-After": [ + "17" + ], + "Server": [ + "Microsoft-Azure-Storage-Resource-Provider/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "aeeb0050-14db-43fc-a850-5d8102c3489b" + ], + "x-ms-correlation-request-id": [ + "aeeb0050-14db-43fc-a850-5d8102c3489b" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235336Z:aeeb0050-14db-43fc-a850-5d8102c3489b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Storage/operations/a04bce7c-3d8e-457b-a3c9-d7f09a15a7cc?monitor=true&api-version=2015-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZS9vcGVyYXRpb25zL2EwNGJjZTdjLTNkOGUtNDU3Yi1hM2M5LWQ3ZjA5YTE1YTdjYz9tb25pdG9yPXRydWUmYXBpLXZlcnNpb249MjAxNS0wNi0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Storage.StorageManagementClient/4.1.0-preview" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:54:06 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Storage/operations/a04bce7c-3d8e-457b-a3c9-d7f09a15a7cc?monitor=true&api-version=2015-06-15" + ], + "Retry-After": [ + "17" + ], + "Server": [ + "Microsoft-Azure-Storage-Resource-Provider/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-request-id": [ + "be3388d8-aadf-46a1-98d9-faaeb2b44be9" + ], + "x-ms-correlation-request-id": [ + "be3388d8-aadf-46a1-98d9-faaeb2b44be9" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235406Z:be3388d8-aadf-46a1-98d9-faaeb2b44be9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Storage/operations/a04bce7c-3d8e-457b-a3c9-d7f09a15a7cc?monitor=true&api-version=2015-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZS9vcGVyYXRpb25zL2EwNGJjZTdjLTNkOGUtNDU3Yi1hM2M5LWQ3ZjA5YTE1YTdjYz9tb25pdG9yPXRydWUmYXBpLXZlcnNpb249MjAxNS0wNi0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Storage.StorageManagementClient/4.1.0-preview" + ] + }, + "ResponseBody": "{\r\n \"location\": \"SoutheastAsia\",\r\n \"properties\": {\r\n \"accountType\": \"Standard_GRS\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:54:36 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-Azure-Storage-Resource-Provider/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "05284167-ecfe-442a-97c1-578d0df19c86" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14995" + ], + "x-ms-correlation-request-id": [ + "05284167-ecfe-442a-97c1-578d0df19c86" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235437Z:05284167-ecfe-442a-97c1-578d0df19c86" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Storage/storageAccounts/e2etestsstof978ade9?api-version=2015-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL2UyZXRlc3RzLXJlcy1mOTc4YWRlOS9wcm92aWRlcnMvTWljcm9zb2Z0LlN0b3JhZ2Uvc3RvcmFnZUFjY291bnRzL2UyZXRlc3Rzc3RvZjk3OGFkZTk/YXBpLXZlcnNpb249MjAxNS0wNi0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1f53a235-7673-45a3-b83a-066992ba35cb" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Storage.StorageManagementClient/4.1.0-preview" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Storage/storageAccounts/e2etestsstof978ade9\",\r\n \"location\": \"southeastasia\",\r\n \"name\": \"e2etestsstof978ade9\",\r\n \"properties\": {\r\n \"accountType\": \"Standard_GRS\",\r\n \"creationTime\": \"2017-03-16T23:53:36.5990647Z\",\r\n \"primaryEndpoints\": {\r\n \"blob\": \"https://e2etestsstof978ade9.blob.core.windows.net/\",\r\n \"file\": \"https://e2etestsstof978ade9.file.core.windows.net/\",\r\n \"queue\": \"https://e2etestsstof978ade9.queue.core.windows.net/\",\r\n \"table\": \"https://e2etestsstof978ade9.table.core.windows.net/\"\r\n },\r\n \"primaryLocation\": \"southeastasia\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"secondaryLocation\": \"eastasia\",\r\n \"statusOfPrimary\": \"available\",\r\n \"statusOfSecondary\": \"available\"\r\n },\r\n \"tags\": {},\r\n \"type\": \"Microsoft.Storage/storageAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:54:47 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-Azure-Storage-Resource-Provider/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "108d1403-72e3-42f8-a8b1-cfe14ae3b69b" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14993" + ], + "x-ms-correlation-request-id": [ + "108d1403-72e3-42f8-a8b1-cfe14ae3b69b" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235448Z:108d1403-72e3-42f8-a8b1-cfe14ae3b69b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Compute/locations/SoutheastAsia/publishers/MicrosoftWindowsServer/artifacttypes/vmimage/offers/WindowsServer/skus/2012-R2-Datacenter/versions?$top=1&api-version=2016-04-30-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9sb2NhdGlvbnMvU291dGhlYXN0QXNpYS9wdWJsaXNoZXJzL01pY3Jvc29mdFdpbmRvd3NTZXJ2ZXIvYXJ0aWZhY3R0eXBlcy92bWltYWdlL29mZmVycy9XaW5kb3dzU2VydmVyL3NrdXMvMjAxMi1SMi1EYXRhY2VudGVyL3ZlcnNpb25zPyR0b3A9MSZhcGktdmVyc2lvbj0yMDE2LTA0LTMwLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "08068cc0-24e1-4b4a-a5e5-56ccb0d89df9" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Rest.ClientRuntime.E2E.Tests.TestAssets.MyComputeClient/1.0.0" + ] + }, + "ResponseBody": "[\r\n {\r\n \"location\": \"southeastasia\",\r\n \"name\": \"4.0.20160617\",\r\n \"id\": \"/Subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/Providers/Microsoft.Compute/Locations/southeastasia/Publishers/MicrosoftWindowsServer/ArtifactTypes/VMImage/Offers/WindowsServer/Skus/2012-R2-Datacenter/Versions/4.0.20160617\"\r\n }\r\n]", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:54:51 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-served-by": [ + "9fc414ea-410e-4600-9f7c-71bc36416f3f_131147224964182697" + ], + "x-ms-request-id": [ + "2f06eef1-8fba-4b8a-976d-891a0d46b1a8" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14995" + ], + "x-ms-correlation-request-id": [ + "078bb14e-187f-40fb-b97c-34478a4dbf10" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235451Z:078bb14e-187f-40fb-b97c-34478a4dbf10" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Compute/virtualMachines/e2etests-vm-f978ade9?api-version=2016-04-30-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL2UyZXRlc3RzLXJlcy1mOTc4YWRlOS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvdmlydHVhbE1hY2hpbmVzL2UyZXRlc3RzLXZtLWY5NzhhZGU5P2FwaS12ZXJzaW9uPTIwMTYtMDQtMzAtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "03e64c28-2874-46f3-a3b8-df129cd564c4" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Rest.ClientRuntime.E2E.Tests.TestAssets.MyComputeClient/1.0.0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Compute/virtualMachines/e2etests-vm-f978ade9' under resource group 'e2etests-res-f978ade9' was not found.\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "179" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:54:53 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "df2a3a93-d338-4899-91c2-7bb8e06fe4b7" + ], + "x-ms-correlation-request-id": [ + "df2a3a93-d338-4899-91c2-7bb8e06fe4b7" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235453Z:df2a3a93-d338-4899-91c2-7bb8e06fe4b7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Compute/virtualMachines/e2etests-vm-f978ade9?api-version=2016-04-30-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL2UyZXRlc3RzLXJlcy1mOTc4YWRlOS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvdmlydHVhbE1hY2hpbmVzL2UyZXRlc3RzLXZtLWY5NzhhZGU5P2FwaS12ZXJzaW9uPTIwMTYtMDQtMzAtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Rest.ClientRuntime.E2E.Tests.TestAssets.MyComputeClient/1.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"vmId\": \"9700a314-4905-4f85-b1d2-6a3095bfa18e\",\r\n \"availabilitySet\": {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Compute/availabilitySets/AS5913\"\r\n },\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_A0\"\r\n },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"MicrosoftWindowsServer\",\r\n \"offer\": \"WindowsServer\",\r\n \"sku\": \"2012-R2-Datacenter\",\r\n \"version\": \"4.0.20160617\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": \"Windows\",\r\n \"name\": \"test\",\r\n \"createOption\": \"FromImage\",\r\n \"vhd\": {\r\n \"uri\": \"https://e2etestsstof978ade9.blob.core.windows.net/cont5913/osvhdcont5913.vhd\"\r\n },\r\n \"caching\": \"None\"\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"test\",\r\n \"adminUsername\": \"Foo12\",\r\n \"windowsConfiguration\": {\r\n \"provisionVMAgent\": true,\r\n \"enableAutomaticUpdates\": true\r\n },\r\n \"secrets\": []\r\n },\r\n \"networkProfile\": {\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/networkInterfaces/nic5913\"\r\n }\r\n ]\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {\r\n \"RG\": \"rg\",\r\n \"testTag\": \"1\"\r\n },\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Compute/virtualMachines/e2etests-vm-f978ade9\",\r\n \"name\": \"e2etests-vm-f978ade9\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Mar 2017 00:04:36 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-served-by": [ + "9bcaa9de-92b1-485f-8528-dfb04fe7611e_131330648587132454" + ], + "x-ms-request-id": [ + "4a425c21-7fef-4be3-ae6f-7d7ab868ac98" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14976" + ], + "x-ms-correlation-request-id": [ + "f82c43eb-a0a7-4d1f-8055-0f37e781b64f" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170317T000436Z:f82c43eb-a0a7-4d1f-8055-0f37e781b64f" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Compute/virtualMachines/e2etests-vm-f978ade9?api-version=2016-04-30-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL2UyZXRlc3RzLXJlcy1mOTc4YWRlOS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvdmlydHVhbE1hY2hpbmVzL2UyZXRlc3RzLXZtLWY5NzhhZGU5P2FwaS12ZXJzaW9uPTIwMTYtMDQtMzAtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9e54b3d1-627f-47e4-86c1-45ba3a4a708d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Rest.ClientRuntime.E2E.Tests.TestAssets.MyComputeClient/1.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"vmId\": \"9700a314-4905-4f85-b1d2-6a3095bfa18e\",\r\n \"availabilitySet\": {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Compute/availabilitySets/AS5913\"\r\n },\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_A0\"\r\n },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"MicrosoftWindowsServer\",\r\n \"offer\": \"WindowsServer\",\r\n \"sku\": \"2012-R2-Datacenter\",\r\n \"version\": \"4.0.20160617\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": \"Windows\",\r\n \"name\": \"test\",\r\n \"createOption\": \"FromImage\",\r\n \"vhd\": {\r\n \"uri\": \"https://e2etestsstof978ade9.blob.core.windows.net/cont5913/osvhdcont5913.vhd\"\r\n },\r\n \"caching\": \"None\"\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"test\",\r\n \"adminUsername\": \"Foo12\",\r\n \"windowsConfiguration\": {\r\n \"provisionVMAgent\": true,\r\n \"enableAutomaticUpdates\": true\r\n },\r\n \"secrets\": []\r\n },\r\n \"networkProfile\": {\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/networkInterfaces/nic5913\"\r\n }\r\n ]\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {\r\n \"RG\": \"rg\",\r\n \"testTag\": \"1\"\r\n },\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Compute/virtualMachines/e2etests-vm-f978ade9\",\r\n \"name\": \"e2etests-vm-f978ade9\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Mar 2017 00:04:36 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-served-by": [ + "9bcaa9de-92b1-485f-8528-dfb04fe7611e_131330648587132454" + ], + "x-ms-request-id": [ + "5f3880de-3019-43d1-a3ca-1a37140019cc" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14975" + ], + "x-ms-correlation-request-id": [ + "4b9d50c9-07bd-4bd2-9f73-52e4541632ee" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170317T000436Z:4b9d50c9-07bd-4bd2-9f73-52e4541632ee" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/publicIPAddresses/pip5913?api-version=2016-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL2UyZXRlc3RzLXJlcy1mOTc4YWRlOS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvcHVibGljSVBBZGRyZXNzZXMvcGlwNTkxMz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "dea3f7eb-2521-415c-95ce-159f421fcab2" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Network.NetworkManagementClient/5.0.1-preview" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Network/publicIPAddresses/pip5913' under resource group 'e2etests-res-f978ade9' was not found.\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "168" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:54:56 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "60e7642b-0480-47a1-adac-afd4ff337879" + ], + "x-ms-correlation-request-id": [ + "60e7642b-0480-47a1-adac-afd4ff337879" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235457Z:60e7642b-0480-47a1-adac-afd4ff337879" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/publicIPAddresses/pip5913?api-version=2016-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL2UyZXRlc3RzLXJlcy1mOTc4YWRlOS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvcHVibGljSVBBZGRyZXNzZXMvcGlwNTkxMz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Network.NetworkManagementClient/5.0.1-preview" + ] + }, + "ResponseBody": "{\r\n \"name\": \"pip5913\",\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/publicIPAddresses/pip5913\",\r\n \"etag\": \"W/\\\"89e4f50c-c92d-4753-b36e-498e0b42554d\\\"\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {\r\n \"key\": \"value\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"d5452f06-589b-4bfc-9daa-e5104055d5b1\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"dnsSettings\": {\r\n \"domainNameLabel\": \"dn5913\",\r\n \"fqdn\": \"dn5913.southeastasia.cloudapp.azure.com\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:55:34 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "W/\"89e4f50c-c92d-4753-b36e-498e0b42554d\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "66820dfc-9ab4-4213-a4c4-4aa6b37fcd44" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "eedac66a-5f2a-41ae-962c-b5e42e431938" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235535Z:eedac66a-5f2a-41ae-962c-b5e42e431938" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/publicIPAddresses/pip5913?api-version=2016-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL2UyZXRlc3RzLXJlcy1mOTc4YWRlOS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvcHVibGljSVBBZGRyZXNzZXMvcGlwNTkxMz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "86c8f88b-d06a-4d8a-b59e-80752558c6a7" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Network.NetworkManagementClient/5.0.1-preview" + ] + }, + "ResponseBody": "{\r\n \"name\": \"pip5913\",\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/publicIPAddresses/pip5913\",\r\n \"etag\": \"W/\\\"89e4f50c-c92d-4753-b36e-498e0b42554d\\\"\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {\r\n \"key\": \"value\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"d5452f06-589b-4bfc-9daa-e5104055d5b1\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"dnsSettings\": {\r\n \"domainNameLabel\": \"dn5913\",\r\n \"fqdn\": \"dn5913.southeastasia.cloudapp.azure.com\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:55:35 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "W/\"89e4f50c-c92d-4753-b36e-498e0b42554d\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "3e806a74-6d96-473b-9ef4-49421c79222e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "b4590799-6172-44b4-a682-9cbefefb5c33" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235535Z:b4590799-6172-44b4-a682-9cbefefb5c33" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/publicIPAddresses/pip5913?api-version=2016-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL2UyZXRlc3RzLXJlcy1mOTc4YWRlOS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvcHVibGljSVBBZGRyZXNzZXMvcGlwNTkxMz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"dnsSettings\": {\r\n \"domainNameLabel\": \"dn5913\"\r\n }\r\n },\r\n \"location\": \"SoutheastAsia\",\r\n \"tags\": {\r\n \"key\": \"value\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "207" + ], + "x-ms-client-request-id": [ + "318439a5-c862-477f-9601-44dd02d2e74f" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Network.NetworkManagementClient/5.0.1-preview" + ] + }, + "ResponseBody": "{\r\n \"name\": \"pip5913\",\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/publicIPAddresses/pip5913\",\r\n \"etag\": \"W/\\\"d2c6b4c5-fd84-441e-aa8d-15ab61eda5d0\\\"\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {\r\n \"key\": \"value\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"d5452f06-589b-4bfc-9daa-e5104055d5b1\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"dnsSettings\": {\r\n \"domainNameLabel\": \"dn5913\",\r\n \"fqdn\": \"dn5913.southeastasia.cloudapp.azure.com\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "719" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:55:03 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "3" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "da38224c-7716-40c4-80c7-b5a23e2d3fd2" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Network/locations/southeastasia/operations/da38224c-7716-40c4-80c7-b5a23e2d3fd2?api-version=2016-06-01" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "d9692909-151f-4dda-be3c-e204df50b470" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235503Z:d9692909-151f-4dda-be3c-e204df50b470" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Network/locations/southeastasia/operations/da38224c-7716-40c4-80c7-b5a23e2d3fd2?api-version=2016-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9sb2NhdGlvbnMvc291dGhlYXN0YXNpYS9vcGVyYXRpb25zL2RhMzgyMjRjLTc3MTYtNDBjNC04MGM3LWI1YTIzZTJkM2ZkMj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Network.NetworkManagementClient/5.0.1-preview" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:55:34 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "4183fe67-52d8-47ad-b325-4afdc5deb0ff" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "0599ffd8-956a-44c1-bb2b-551cde917f28" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235534Z:0599ffd8-956a-44c1-bb2b-551cde917f28" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/virtualNetworks/vn5913/subnets/sn5913?api-version=2016-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL2UyZXRlc3RzLXJlcy1mOTc4YWRlOS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvdmlydHVhbE5ldHdvcmtzL3ZuNTkxMy9zdWJuZXRzL3NuNTkxMz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "441b8a63-d832-4eb8-a6fc-7e7e8b5ce2d8" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Network.NetworkManagementClient/5.0.1-preview" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Network/virtualNetworks/vn5913' under resource group 'e2etests-res-f978ade9' was not found.\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "165" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:55:35 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "5f308394-43f0-4923-b78a-a92943a8142b" + ], + "x-ms-correlation-request-id": [ + "5f308394-43f0-4923-b78a-a92943a8142b" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235536Z:5f308394-43f0-4923-b78a-a92943a8142b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/virtualNetworks/vn5913/subnets/sn5913?api-version=2016-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL2UyZXRlc3RzLXJlcy1mOTc4YWRlOS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvdmlydHVhbE5ldHdvcmtzL3ZuNTkxMy9zdWJuZXRzL3NuNTkxMz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f202c414-18be-4825-9e0d-441a980b032a" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Network.NetworkManagementClient/5.0.1-preview" + ] + }, + "ResponseBody": "{\r\n \"name\": \"sn5913\",\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/virtualNetworks/vn5913/subnets/sn5913\",\r\n \"etag\": \"W/\\\"b9b50994-94c0-4fcc-8ccc-a2a57a070e77\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:56:11 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "W/\"b9b50994-94c0-4fcc-8ccc-a2a57a070e77\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "a3e9b517-ca38-4268-95d0-2e1bb0d51bdc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14992" + ], + "x-ms-correlation-request-id": [ + "06145969-71ed-4e0d-bd60-c7e7f0e7888a" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235611Z:06145969-71ed-4e0d-bd60-c7e7f0e7888a" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/virtualNetworks/vn5913?api-version=2016-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL2UyZXRlc3RzLXJlcy1mOTc4YWRlOS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvdmlydHVhbE5ldHdvcmtzL3ZuNTkxMz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": [\r\n \"10.1.1.1\",\r\n \"10.1.2.4\"\r\n ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"properties\": {\r\n \"addressPrefix\": \"10.0.0.0/24\"\r\n },\r\n \"name\": \"sn5913\"\r\n }\r\n ]\r\n },\r\n \"location\": \"SoutheastAsia\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "402" + ], + "x-ms-client-request-id": [ + "0e8a3276-81ee-4e60-8b18-ecb4b48711ad" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Network.NetworkManagementClient/5.0.1-preview" + ] + }, + "ResponseBody": "{\r\n \"name\": \"vn5913\",\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/virtualNetworks/vn5913\",\r\n \"etag\": \"W/\\\"797b4eb5-e707-4ad0-8fc5-1690fa0f05f0\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"southeastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"0d7e3a1c-f1ae-48dd-b7fc-db48e2bf4107\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": [\r\n \"10.1.1.1\",\r\n \"10.1.2.4\"\r\n ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"sn5913\",\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/virtualNetworks/vn5913/subnets/sn5913\",\r\n \"etag\": \"W/\\\"797b4eb5-e707-4ad0-8fc5-1690fa0f05f0\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\"\r\n }\r\n }\r\n ],\r\n \"virtualNetworkPeerings\": []\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "1094" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:55:38 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "3" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "57af5769-82f8-40d6-91ea-5f7d09bacb43" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Network/locations/southeastasia/operations/57af5769-82f8-40d6-91ea-5f7d09bacb43?api-version=2016-06-01" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "be961991-d321-4b14-afba-baddd540d97b" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235539Z:be961991-d321-4b14-afba-baddd540d97b" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Network/locations/southeastasia/operations/57af5769-82f8-40d6-91ea-5f7d09bacb43?api-version=2016-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9sb2NhdGlvbnMvc291dGhlYXN0YXNpYS9vcGVyYXRpb25zLzU3YWY1NzY5LTgyZjgtNDBkNi05MWVhLTVmN2QwOWJhY2I0Mz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Network.NetworkManagementClient/5.0.1-preview" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:56:10 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "2650f11a-c695-491f-b661-be86f2e38377" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14994" + ], + "x-ms-correlation-request-id": [ + "f75812ee-69d5-4d96-a329-db45efe4e0bd" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235610Z:f75812ee-69d5-4d96-a329-db45efe4e0bd" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/virtualNetworks/vn5913?api-version=2016-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL2UyZXRlc3RzLXJlcy1mOTc4YWRlOS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvdmlydHVhbE5ldHdvcmtzL3ZuNTkxMz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Network.NetworkManagementClient/5.0.1-preview" + ] + }, + "ResponseBody": "{\r\n \"name\": \"vn5913\",\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/virtualNetworks/vn5913\",\r\n \"etag\": \"W/\\\"b9b50994-94c0-4fcc-8ccc-a2a57a070e77\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"southeastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"0d7e3a1c-f1ae-48dd-b7fc-db48e2bf4107\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": [\r\n \"10.1.1.1\",\r\n \"10.1.2.4\"\r\n ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"sn5913\",\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/virtualNetworks/vn5913/subnets/sn5913\",\r\n \"etag\": \"W/\\\"b9b50994-94c0-4fcc-8ccc-a2a57a070e77\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\"\r\n }\r\n }\r\n ],\r\n \"virtualNetworkPeerings\": []\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:56:10 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "W/\"b9b50994-94c0-4fcc-8ccc-a2a57a070e77\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "25391c5d-ffc5-4a1d-acc4-2b1aa5ea9297" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14993" + ], + "x-ms-correlation-request-id": [ + "afac5d3f-e60d-47b8-94bf-cfa7166200e3" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235610Z:afac5d3f-e60d-47b8-94bf-cfa7166200e3" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/networkInterfaces/nic5913?api-version=2016-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL2UyZXRlc3RzLXJlcy1mOTc4YWRlOS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvbmV0d29ya0ludGVyZmFjZXMvbmljNTkxMz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "db8ac787-6770-44a3-9f56-528fa32e27b0" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Network.NetworkManagementClient/5.0.1-preview" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Network/networkInterfaces/nic5913' under resource group 'e2etests-res-f978ade9' was not found.\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "168" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:56:11 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "3535f7f3-fb10-4efd-96d5-760388fe5dc1" + ], + "x-ms-correlation-request-id": [ + "3535f7f3-fb10-4efd-96d5-760388fe5dc1" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235611Z:3535f7f3-fb10-4efd-96d5-760388fe5dc1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/networkInterfaces/nic5913?api-version=2016-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL2UyZXRlc3RzLXJlcy1mOTc4YWRlOS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvbmV0d29ya0ludGVyZmFjZXMvbmljNTkxMz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Network.NetworkManagementClient/5.0.1-preview" + ] + }, + "ResponseBody": "{\r\n \"name\": \"nic5913\",\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/networkInterfaces/nic5913\",\r\n \"etag\": \"W/\\\"e28faa1d-b2ef-40f3-a4cd-7359d61e10e9\\\"\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {\r\n \"key\": \"value\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"59eca21d-312d-4325-b491-07bb85259262\",\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"ip5913\",\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/networkInterfaces/nic5913/ipConfigurations/ip5913\",\r\n \"etag\": \"W/\\\"e28faa1d-b2ef-40f3-a4cd-7359d61e10e9\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/virtualNetworks/vn5913/subnets/sn5913\"\r\n },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\": \"dq3h2dno4hourn521neofp0bah.ix.internal.cloudapp.net\"\r\n },\r\n \"enableIPForwarding\": false\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:56:16 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "W/\"e28faa1d-b2ef-40f3-a4cd-7359d61e10e9\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "8c5c927b-323c-42e5-9aeb-c1ac85e335ef" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14990" + ], + "x-ms-correlation-request-id": [ + "e49fb3b7-d2c3-4ea2-b7db-d25dfe7192a1" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235616Z:e49fb3b7-d2c3-4ea2-b7db-d25dfe7192a1" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/networkInterfaces/nic5913?api-version=2016-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL2UyZXRlc3RzLXJlcy1mOTc4YWRlOS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvbmV0d29ya0ludGVyZmFjZXMvbmljNTkxMz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "91aa11dd-0aaa-4cf4-8460-98fa62fce2d8" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Network.NetworkManagementClient/5.0.1-preview" + ] + }, + "ResponseBody": "{\r\n \"name\": \"nic5913\",\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/networkInterfaces/nic5913\",\r\n \"etag\": \"W/\\\"e28faa1d-b2ef-40f3-a4cd-7359d61e10e9\\\"\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {\r\n \"key\": \"value\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"59eca21d-312d-4325-b491-07bb85259262\",\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"ip5913\",\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/networkInterfaces/nic5913/ipConfigurations/ip5913\",\r\n \"etag\": \"W/\\\"e28faa1d-b2ef-40f3-a4cd-7359d61e10e9\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/virtualNetworks/vn5913/subnets/sn5913\"\r\n },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\": \"dq3h2dno4hourn521neofp0bah.ix.internal.cloudapp.net\"\r\n },\r\n \"enableIPForwarding\": false\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:56:16 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "W/\"e28faa1d-b2ef-40f3-a4cd-7359d61e10e9\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "9772c867-54fc-4f03-b1e1-2ef8771f1ad6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14989" + ], + "x-ms-correlation-request-id": [ + "3aeb312b-7d67-4dc6-b5ad-0c21e6ad5130" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235616Z:3aeb312b-7d67-4dc6-b5ad-0c21e6ad5130" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/networkInterfaces/nic5913?api-version=2016-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL2UyZXRlc3RzLXJlcy1mOTc4YWRlOS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvbmV0d29ya0ludGVyZmFjZXMvbmljNTkxMz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"ipConfigurations\": [\r\n {\r\n \"properties\": {\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"subnet\": {\r\n \"properties\": {\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"name\": \"sn5913\",\r\n \"etag\": \"W/\\\"b9b50994-94c0-4fcc-8ccc-a2a57a070e77\\\"\",\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/virtualNetworks/vn5913/subnets/sn5913\"\r\n }\r\n },\r\n \"name\": \"ip5913\"\r\n }\r\n ]\r\n },\r\n \"location\": \"SoutheastAsia\",\r\n \"tags\": {\r\n \"key\": \"value\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "715" + ], + "x-ms-client-request-id": [ + "16877f10-cd9d-4c92-8ad5-ceb65da566aa" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Network.NetworkManagementClient/5.0.1-preview" + ] + }, + "ResponseBody": "{\r\n \"name\": \"nic5913\",\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/networkInterfaces/nic5913\",\r\n \"etag\": \"W/\\\"e28faa1d-b2ef-40f3-a4cd-7359d61e10e9\\\"\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {\r\n \"key\": \"value\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"59eca21d-312d-4325-b491-07bb85259262\",\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"ip5913\",\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/networkInterfaces/nic5913/ipConfigurations/ip5913\",\r\n \"etag\": \"W/\\\"e28faa1d-b2ef-40f3-a4cd-7359d61e10e9\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/virtualNetworks/vn5913/subnets/sn5913\"\r\n },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\": \"dq3h2dno4hourn521neofp0bah.ix.internal.cloudapp.net\"\r\n },\r\n \"enableIPForwarding\": false\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "1481" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:56:15 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "c8861c8e-1f27-4a41-978a-a1994f813194" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Network/locations/southeastasia/operations/c8861c8e-1f27-4a41-978a-a1994f813194?api-version=2016-06-01" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "56deaa4b-7878-49c9-a912-2746c3b8431e" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235615Z:56deaa4b-7878-49c9-a912-2746c3b8431e" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Compute/availabilitySets/as5913?api-version=2016-04-30-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL2UyZXRlc3RzLXJlcy1mOTc4YWRlOS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvYXZhaWxhYmlsaXR5U2V0cy9hczU5MTM/YXBpLXZlcnNpb249MjAxNi0wNC0zMC1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a042af79-4541-4e98-a13b-dba21997a4b7" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Rest.ClientRuntime.E2E.Tests.TestAssets.MyComputeClient/1.0.0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Compute/availabilitySets/as5913' under resource group 'e2etests-res-f978ade9' was not found.\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "166" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:56:18 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "c73d699b-aa31-4980-9d71-26c1dd731458" + ], + "x-ms-correlation-request-id": [ + "c73d699b-aa31-4980-9d71-26c1dd731458" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235618Z:c73d699b-aa31-4980-9d71-26c1dd731458" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Compute/availabilitySets/as5913?api-version=2016-04-30-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL2UyZXRlc3RzLXJlcy1mOTc4YWRlOS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvYXZhaWxhYmlsaXR5U2V0cy9hczU5MTM/YXBpLXZlcnNpb249MjAxNi0wNC0zMC1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"platformUpdateDomainCount\": 5,\r\n \"platformFaultDomainCount\": 3\r\n },\r\n \"location\": \"SoutheastAsia\",\r\n \"tags\": {\r\n \"RG\": \"rg\",\r\n \"testTag\": \"1\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "188" + ], + "x-ms-client-request-id": [ + "db1ebcb8-8029-4a84-a132-41213a63fcdb" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Rest.ClientRuntime.E2E.Tests.TestAssets.MyComputeClient/1.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"platformUpdateDomainCount\": 5,\r\n \"platformFaultDomainCount\": 3\r\n },\r\n \"type\": \"Microsoft.Compute/availabilitySets\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {\r\n \"RG\": \"rg\",\r\n \"testTag\": \"1\"\r\n },\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Compute/availabilitySets/as5913\",\r\n \"name\": \"as5913\",\r\n \"sku\": {\r\n \"name\": \"Classic\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:56:24 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-served-by": [ + "9bcaa9de-92b1-485f-8528-dfb04fe7611e_131330648587132454" + ], + "x-ms-request-id": [ + "724008da-9ad9-413c-a0a8-7623d3c7717c" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "4b7c9883-fa42-4849-8383-4b23fc19198e" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235624Z:4b7c9883-fa42-4849-8383-4b23fc19198e" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Compute/virtualMachines/e2etests-vm-f978ade9?api-version=2016-04-30-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL2UyZXRlc3RzLXJlcy1mOTc4YWRlOS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvdmlydHVhbE1hY2hpbmVzL2UyZXRlc3RzLXZtLWY5NzhhZGU5P2FwaS12ZXJzaW9uPTIwMTYtMDQtMzAtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_A0\"\r\n },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"MicrosoftWindowsServer\",\r\n \"offer\": \"WindowsServer\",\r\n \"sku\": \"2012-R2-Datacenter\",\r\n \"version\": \"4.0.20160617\"\r\n },\r\n \"osDisk\": {\r\n \"name\": \"test\",\r\n \"vhd\": {\r\n \"uri\": \"https://e2etestsstof978ade9.blob.core.windows.net/cont5913/osvhdcont5913.vhd\"\r\n },\r\n \"caching\": \"None\",\r\n \"createOption\": \"fromImage\"\r\n }\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"test\",\r\n \"adminUsername\": \"Foo12\",\r\n \"adminPassword\": \"BaR@123e2etests-res-f978ade9\"\r\n },\r\n \"networkProfile\": {\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/networkInterfaces/nic5913\"\r\n }\r\n ]\r\n },\r\n \"availabilitySet\": {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Compute/availabilitySets/as5913\"\r\n }\r\n },\r\n \"location\": \"SoutheastAsia\",\r\n \"tags\": {\r\n \"RG\": \"rg\",\r\n \"testTag\": \"1\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1244" + ], + "x-ms-client-request-id": [ + "42a0067e-21c2-4ab3-af2d-c4375c584494" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Rest.ClientRuntime.E2E.Tests.TestAssets.MyComputeClient/1.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"vmId\": \"9700a314-4905-4f85-b1d2-6a3095bfa18e\",\r\n \"availabilitySet\": {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Compute/availabilitySets/AS5913\"\r\n },\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_A0\"\r\n },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"MicrosoftWindowsServer\",\r\n \"offer\": \"WindowsServer\",\r\n \"sku\": \"2012-R2-Datacenter\",\r\n \"version\": \"4.0.20160617\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": \"Windows\",\r\n \"name\": \"test\",\r\n \"createOption\": \"FromImage\",\r\n \"vhd\": {\r\n \"uri\": \"https://e2etestsstof978ade9.blob.core.windows.net/cont5913/osvhdcont5913.vhd\"\r\n },\r\n \"caching\": \"None\"\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"test\",\r\n \"adminUsername\": \"Foo12\",\r\n \"windowsConfiguration\": {\r\n \"provisionVMAgent\": true,\r\n \"enableAutomaticUpdates\": true\r\n },\r\n \"secrets\": []\r\n },\r\n \"networkProfile\": {\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/networkInterfaces/nic5913\"\r\n }\r\n ]\r\n },\r\n \"provisioningState\": \"Creating\"\r\n },\r\n \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {\r\n \"RG\": \"rg\",\r\n \"testTag\": \"1\"\r\n },\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Compute/virtualMachines/e2etests-vm-f978ade9\",\r\n \"name\": \"e2etests-vm-f978ade9\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "1666" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:56:28 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Compute/locations/southeastasia/operations/651ef5ea-72ab-4ab9-b3a7-cea66b5065ac?api-version=2016-04-30-preview" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-served-by": [ + "9bcaa9de-92b1-485f-8528-dfb04fe7611e_131330648587132454" + ], + "x-ms-request-id": [ + "651ef5ea-72ab-4ab9-b3a7-cea66b5065ac" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "6a5e98ba-ee17-4b11-9b10-290540138df3" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235628Z:6a5e98ba-ee17-4b11-9b10-290540138df3" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Compute/virtualMachines/e2etests-vm-f978ade9?api-version=2016-04-30-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlR3JvdXBzL2UyZXRlc3RzLXJlcy1mOTc4YWRlOS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvdmlydHVhbE1hY2hpbmVzL2UyZXRlc3RzLXZtLWY5NzhhZGU5P2FwaS12ZXJzaW9uPTIwMTYtMDQtMzAtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_A0\"\r\n },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"MicrosoftWindowsServer\",\r\n \"offer\": \"WindowsServer\",\r\n \"sku\": \"2012-R2-Datacenter\",\r\n \"version\": \"4.0.20160617\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": \"Windows\",\r\n \"name\": \"test\",\r\n \"vhd\": {\r\n \"uri\": \"https://e2etestsstof978ade9.blob.core.windows.net/cont5913/osvhdcont5913.vhd\"\r\n },\r\n \"caching\": \"None\",\r\n \"createOption\": \"fromImage\"\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"test\",\r\n \"adminUsername\": \"Foo12\",\r\n \"windowsConfiguration\": {\r\n \"provisionVMAgent\": true,\r\n \"enableAutomaticUpdates\": true\r\n },\r\n \"secrets\": []\r\n },\r\n \"networkProfile\": {\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/networkInterfaces/nic5913\"\r\n }\r\n ]\r\n },\r\n \"availabilitySet\": {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Compute/availabilitySets/AS5913\"\r\n }\r\n },\r\n \"location\": \"southeastasia\",\r\n \"tags\": {\r\n \"RG\": \"rg\",\r\n \"testTag\": \"1\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1382" + ], + "x-ms-client-request-id": [ + "e3acf847-4ed0-4b3b-9c5b-8c2b9e7842bb" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Rest.ClientRuntime.E2E.Tests.TestAssets.MyComputeClient/1.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"vmId\": \"9700a314-4905-4f85-b1d2-6a3095bfa18e\",\r\n \"availabilitySet\": {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Compute/availabilitySets/AS5913\"\r\n },\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_A0\"\r\n },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"MicrosoftWindowsServer\",\r\n \"offer\": \"WindowsServer\",\r\n \"sku\": \"2012-R2-Datacenter\",\r\n \"version\": \"4.0.20160617\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": \"Windows\",\r\n \"name\": \"test\",\r\n \"createOption\": \"FromImage\",\r\n \"vhd\": {\r\n \"uri\": \"https://e2etestsstof978ade9.blob.core.windows.net/cont5913/osvhdcont5913.vhd\"\r\n },\r\n \"caching\": \"None\"\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"test\",\r\n \"adminUsername\": \"Foo12\",\r\n \"windowsConfiguration\": {\r\n \"provisionVMAgent\": true,\r\n \"enableAutomaticUpdates\": true\r\n },\r\n \"secrets\": []\r\n },\r\n \"networkProfile\": {\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Network/networkInterfaces/nic5913\"\r\n }\r\n ]\r\n },\r\n \"provisioningState\": \"Updating\"\r\n },\r\n \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {\r\n \"RG\": \"rg\",\r\n \"testTag\": \"1\"\r\n },\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourceGroups/e2etests-res-f978ade9/providers/Microsoft.Compute/virtualMachines/e2etests-vm-f978ade9\",\r\n \"name\": \"e2etests-vm-f978ade9\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Mar 2017 00:04:39 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Compute/locations/southeastasia/operations/75dc985a-0851-4b37-9fe9-a737880b26f3?api-version=2016-04-30-preview" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-served-by": [ + "9bcaa9de-92b1-485f-8528-dfb04fe7611e_131330648587132454" + ], + "x-ms-request-id": [ + "75dc985a-0851-4b37-9fe9-a737880b26f3" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "70f30bd7-75ca-4355-ae43-aad2be6b00a5" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170317T000440Z:70f30bd7-75ca-4355-ae43-aad2be6b00a5" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Compute/locations/southeastasia/operations/651ef5ea-72ab-4ab9-b3a7-cea66b5065ac?api-version=2016-04-30-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9sb2NhdGlvbnMvc291dGhlYXN0YXNpYS9vcGVyYXRpb25zLzY1MWVmNWVhLTcyYWItNGFiOS1iM2E3LWNlYTY2YjUwNjVhYz9hcGktdmVyc2lvbj0yMDE2LTA0LTMwLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Rest.ClientRuntime.E2E.Tests.TestAssets.MyComputeClient/1.0.0" + ] + }, + "ResponseBody": "{\r\n \"startTime\": \"2017-03-16T16:56:28.4148814-07:00\",\r\n \"status\": \"InProgress\",\r\n \"name\": \"651ef5ea-72ab-4ab9-b3a7-cea66b5065ac\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:56:59 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-served-by": [ + "9bcaa9de-92b1-485f-8528-dfb04fe7611e_131330648587132454" + ], + "x-ms-request-id": [ + "dd1fe3a7-0680-4ee3-a061-2dea7ad71d79" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14994" + ], + "x-ms-correlation-request-id": [ + "167268f0-e3e4-4cd8-8698-44cd5bd95ae3" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235659Z:167268f0-e3e4-4cd8-8698-44cd5bd95ae3" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Compute/locations/southeastasia/operations/651ef5ea-72ab-4ab9-b3a7-cea66b5065ac?api-version=2016-04-30-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9sb2NhdGlvbnMvc291dGhlYXN0YXNpYS9vcGVyYXRpb25zLzY1MWVmNWVhLTcyYWItNGFiOS1iM2E3LWNlYTY2YjUwNjVhYz9hcGktdmVyc2lvbj0yMDE2LTA0LTMwLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Rest.ClientRuntime.E2E.Tests.TestAssets.MyComputeClient/1.0.0" + ] + }, + "ResponseBody": "{\r\n \"startTime\": \"2017-03-16T16:56:28.4148814-07:00\",\r\n \"status\": \"InProgress\",\r\n \"name\": \"651ef5ea-72ab-4ab9-b3a7-cea66b5065ac\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:57:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-served-by": [ + "9bcaa9de-92b1-485f-8528-dfb04fe7611e_131330648587132454" + ], + "x-ms-request-id": [ + "0ebbfca6-be90-4636-ae33-a1cf2f32c588" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14993" + ], + "x-ms-correlation-request-id": [ + "5c173ed7-b25d-4d9c-a3d0-c38b891edb73" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235730Z:5c173ed7-b25d-4d9c-a3d0-c38b891edb73" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Compute/locations/southeastasia/operations/651ef5ea-72ab-4ab9-b3a7-cea66b5065ac?api-version=2016-04-30-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9sb2NhdGlvbnMvc291dGhlYXN0YXNpYS9vcGVyYXRpb25zLzY1MWVmNWVhLTcyYWItNGFiOS1iM2E3LWNlYTY2YjUwNjVhYz9hcGktdmVyc2lvbj0yMDE2LTA0LTMwLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Rest.ClientRuntime.E2E.Tests.TestAssets.MyComputeClient/1.0.0" + ] + }, + "ResponseBody": "{\r\n \"startTime\": \"2017-03-16T16:56:28.4148814-07:00\",\r\n \"status\": \"InProgress\",\r\n \"name\": \"651ef5ea-72ab-4ab9-b3a7-cea66b5065ac\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:57:59 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-served-by": [ + "9bcaa9de-92b1-485f-8528-dfb04fe7611e_131330648587132454" + ], + "x-ms-request-id": [ + "787611b9-99d6-47d7-af98-d4ed468ef9f6" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14992" + ], + "x-ms-correlation-request-id": [ + "9ba57079-cebb-4860-9926-1e88d2120484" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235800Z:9ba57079-cebb-4860-9926-1e88d2120484" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Compute/locations/southeastasia/operations/651ef5ea-72ab-4ab9-b3a7-cea66b5065ac?api-version=2016-04-30-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9sb2NhdGlvbnMvc291dGhlYXN0YXNpYS9vcGVyYXRpb25zLzY1MWVmNWVhLTcyYWItNGFiOS1iM2E3LWNlYTY2YjUwNjVhYz9hcGktdmVyc2lvbj0yMDE2LTA0LTMwLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Rest.ClientRuntime.E2E.Tests.TestAssets.MyComputeClient/1.0.0" + ] + }, + "ResponseBody": "{\r\n \"startTime\": \"2017-03-16T16:56:28.4148814-07:00\",\r\n \"status\": \"InProgress\",\r\n \"name\": \"651ef5ea-72ab-4ab9-b3a7-cea66b5065ac\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:58:30 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-served-by": [ + "9bcaa9de-92b1-485f-8528-dfb04fe7611e_131330648587132454" + ], + "x-ms-request-id": [ + "2018fbbb-cc6a-47c9-8307-0600b404c124" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14991" + ], + "x-ms-correlation-request-id": [ + "278e8cf1-0a18-43a9-a7da-6b9e9f7f5a66" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235830Z:278e8cf1-0a18-43a9-a7da-6b9e9f7f5a66" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Compute/locations/southeastasia/operations/651ef5ea-72ab-4ab9-b3a7-cea66b5065ac?api-version=2016-04-30-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9sb2NhdGlvbnMvc291dGhlYXN0YXNpYS9vcGVyYXRpb25zLzY1MWVmNWVhLTcyYWItNGFiOS1iM2E3LWNlYTY2YjUwNjVhYz9hcGktdmVyc2lvbj0yMDE2LTA0LTMwLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Rest.ClientRuntime.E2E.Tests.TestAssets.MyComputeClient/1.0.0" + ] + }, + "ResponseBody": "{\r\n \"startTime\": \"2017-03-16T16:56:28.4148814-07:00\",\r\n \"status\": \"InProgress\",\r\n \"name\": \"651ef5ea-72ab-4ab9-b3a7-cea66b5065ac\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:59:01 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-served-by": [ + "9bcaa9de-92b1-485f-8528-dfb04fe7611e_131330648587132454" + ], + "x-ms-request-id": [ + "0efd1abe-9701-432b-bc74-dbc3f208475d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14989" + ], + "x-ms-correlation-request-id": [ + "3f77b9c1-de46-44ba-a210-c428603d1f87" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235901Z:3f77b9c1-de46-44ba-a210-c428603d1f87" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Compute/locations/southeastasia/operations/651ef5ea-72ab-4ab9-b3a7-cea66b5065ac?api-version=2016-04-30-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9sb2NhdGlvbnMvc291dGhlYXN0YXNpYS9vcGVyYXRpb25zLzY1MWVmNWVhLTcyYWItNGFiOS1iM2E3LWNlYTY2YjUwNjVhYz9hcGktdmVyc2lvbj0yMDE2LTA0LTMwLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Rest.ClientRuntime.E2E.Tests.TestAssets.MyComputeClient/1.0.0" + ] + }, + "ResponseBody": "{\r\n \"startTime\": \"2017-03-16T16:56:28.4148814-07:00\",\r\n \"status\": \"InProgress\",\r\n \"name\": \"651ef5ea-72ab-4ab9-b3a7-cea66b5065ac\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 16 Mar 2017 23:59:31 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-served-by": [ + "9bcaa9de-92b1-485f-8528-dfb04fe7611e_131330648587132454" + ], + "x-ms-request-id": [ + "d06a6bc2-869a-4872-922c-7ac4aaba0f42" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14988" + ], + "x-ms-correlation-request-id": [ + "03f0b875-8567-4ce6-9a31-faad809e2431" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170316T235931Z:03f0b875-8567-4ce6-9a31-faad809e2431" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Compute/locations/southeastasia/operations/651ef5ea-72ab-4ab9-b3a7-cea66b5065ac?api-version=2016-04-30-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9sb2NhdGlvbnMvc291dGhlYXN0YXNpYS9vcGVyYXRpb25zLzY1MWVmNWVhLTcyYWItNGFiOS1iM2E3LWNlYTY2YjUwNjVhYz9hcGktdmVyc2lvbj0yMDE2LTA0LTMwLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Rest.ClientRuntime.E2E.Tests.TestAssets.MyComputeClient/1.0.0" + ] + }, + "ResponseBody": "{\r\n \"startTime\": \"2017-03-16T16:56:28.4148814-07:00\",\r\n \"status\": \"InProgress\",\r\n \"name\": \"651ef5ea-72ab-4ab9-b3a7-cea66b5065ac\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Mar 2017 00:00:01 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-served-by": [ + "9bcaa9de-92b1-485f-8528-dfb04fe7611e_131330648587132454" + ], + "x-ms-request-id": [ + "f522f540-e715-44e2-a6a1-488346f5395d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14987" + ], + "x-ms-correlation-request-id": [ + "764c74ac-156e-4892-8c88-abac4178e138" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170317T000002Z:764c74ac-156e-4892-8c88-abac4178e138" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Compute/locations/southeastasia/operations/651ef5ea-72ab-4ab9-b3a7-cea66b5065ac?api-version=2016-04-30-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9sb2NhdGlvbnMvc291dGhlYXN0YXNpYS9vcGVyYXRpb25zLzY1MWVmNWVhLTcyYWItNGFiOS1iM2E3LWNlYTY2YjUwNjVhYz9hcGktdmVyc2lvbj0yMDE2LTA0LTMwLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Rest.ClientRuntime.E2E.Tests.TestAssets.MyComputeClient/1.0.0" + ] + }, + "ResponseBody": "{\r\n \"startTime\": \"2017-03-16T16:56:28.4148814-07:00\",\r\n \"status\": \"InProgress\",\r\n \"name\": \"651ef5ea-72ab-4ab9-b3a7-cea66b5065ac\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Mar 2017 00:00:31 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-served-by": [ + "9bcaa9de-92b1-485f-8528-dfb04fe7611e_131330648587132454" + ], + "x-ms-request-id": [ + "b7b0b40b-b1b2-45ee-a2f3-204c27cb716f" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14986" + ], + "x-ms-correlation-request-id": [ + "95886857-9a2a-499f-bea8-44de725e42b6" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170317T000032Z:95886857-9a2a-499f-bea8-44de725e42b6" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Compute/locations/southeastasia/operations/651ef5ea-72ab-4ab9-b3a7-cea66b5065ac?api-version=2016-04-30-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9sb2NhdGlvbnMvc291dGhlYXN0YXNpYS9vcGVyYXRpb25zLzY1MWVmNWVhLTcyYWItNGFiOS1iM2E3LWNlYTY2YjUwNjVhYz9hcGktdmVyc2lvbj0yMDE2LTA0LTMwLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Rest.ClientRuntime.E2E.Tests.TestAssets.MyComputeClient/1.0.0" + ] + }, + "ResponseBody": "{\r\n \"startTime\": \"2017-03-16T16:56:28.4148814-07:00\",\r\n \"status\": \"InProgress\",\r\n \"name\": \"651ef5ea-72ab-4ab9-b3a7-cea66b5065ac\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Mar 2017 00:01:02 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-served-by": [ + "9bcaa9de-92b1-485f-8528-dfb04fe7611e_131330648587132454" + ], + "x-ms-request-id": [ + "e112ecfe-8124-417e-be84-94934c294210" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14985" + ], + "x-ms-correlation-request-id": [ + "5d2df04a-1b7d-4ecc-9816-ed3285f180c7" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170317T000103Z:5d2df04a-1b7d-4ecc-9816-ed3285f180c7" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Compute/locations/southeastasia/operations/651ef5ea-72ab-4ab9-b3a7-cea66b5065ac?api-version=2016-04-30-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9sb2NhdGlvbnMvc291dGhlYXN0YXNpYS9vcGVyYXRpb25zLzY1MWVmNWVhLTcyYWItNGFiOS1iM2E3LWNlYTY2YjUwNjVhYz9hcGktdmVyc2lvbj0yMDE2LTA0LTMwLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Rest.ClientRuntime.E2E.Tests.TestAssets.MyComputeClient/1.0.0" + ] + }, + "ResponseBody": "{\r\n \"startTime\": \"2017-03-16T16:56:28.4148814-07:00\",\r\n \"status\": \"InProgress\",\r\n \"name\": \"651ef5ea-72ab-4ab9-b3a7-cea66b5065ac\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Mar 2017 00:01:33 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-served-by": [ + "9bcaa9de-92b1-485f-8528-dfb04fe7611e_131330648587132454" + ], + "x-ms-request-id": [ + "1cba5124-38d9-49cf-8973-18f11c702f19" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14984" + ], + "x-ms-correlation-request-id": [ + "fb7bd68e-3848-4bcd-bad2-f8b0b4f68aca" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170317T000133Z:fb7bd68e-3848-4bcd-bad2-f8b0b4f68aca" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Compute/locations/southeastasia/operations/651ef5ea-72ab-4ab9-b3a7-cea66b5065ac?api-version=2016-04-30-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9sb2NhdGlvbnMvc291dGhlYXN0YXNpYS9vcGVyYXRpb25zLzY1MWVmNWVhLTcyYWItNGFiOS1iM2E3LWNlYTY2YjUwNjVhYz9hcGktdmVyc2lvbj0yMDE2LTA0LTMwLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Rest.ClientRuntime.E2E.Tests.TestAssets.MyComputeClient/1.0.0" + ] + }, + "ResponseBody": "{\r\n \"startTime\": \"2017-03-16T16:56:28.4148814-07:00\",\r\n \"status\": \"InProgress\",\r\n \"name\": \"651ef5ea-72ab-4ab9-b3a7-cea66b5065ac\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Mar 2017 00:02:03 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-served-by": [ + "9bcaa9de-92b1-485f-8528-dfb04fe7611e_131330648587132454" + ], + "x-ms-request-id": [ + "6006dfbf-9b4d-4130-a097-ce7f1cca9ebc" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14983" + ], + "x-ms-correlation-request-id": [ + "fcc07487-938f-442a-8321-f4ee187a312d" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170317T000203Z:fcc07487-938f-442a-8321-f4ee187a312d" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Compute/locations/southeastasia/operations/651ef5ea-72ab-4ab9-b3a7-cea66b5065ac?api-version=2016-04-30-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9sb2NhdGlvbnMvc291dGhlYXN0YXNpYS9vcGVyYXRpb25zLzY1MWVmNWVhLTcyYWItNGFiOS1iM2E3LWNlYTY2YjUwNjVhYz9hcGktdmVyc2lvbj0yMDE2LTA0LTMwLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Rest.ClientRuntime.E2E.Tests.TestAssets.MyComputeClient/1.0.0" + ] + }, + "ResponseBody": "{\r\n \"startTime\": \"2017-03-16T16:56:28.4148814-07:00\",\r\n \"status\": \"InProgress\",\r\n \"name\": \"651ef5ea-72ab-4ab9-b3a7-cea66b5065ac\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Mar 2017 00:02:33 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-served-by": [ + "9bcaa9de-92b1-485f-8528-dfb04fe7611e_131330648587132454" + ], + "x-ms-request-id": [ + "d4a5159a-6bad-499f-a90b-437880b45cec" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14981" + ], + "x-ms-correlation-request-id": [ + "bdfb153e-595d-4510-9f60-0b192c80a36d" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170317T000234Z:bdfb153e-595d-4510-9f60-0b192c80a36d" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Compute/locations/southeastasia/operations/651ef5ea-72ab-4ab9-b3a7-cea66b5065ac?api-version=2016-04-30-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9sb2NhdGlvbnMvc291dGhlYXN0YXNpYS9vcGVyYXRpb25zLzY1MWVmNWVhLTcyYWItNGFiOS1iM2E3LWNlYTY2YjUwNjVhYz9hcGktdmVyc2lvbj0yMDE2LTA0LTMwLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Rest.ClientRuntime.E2E.Tests.TestAssets.MyComputeClient/1.0.0" + ] + }, + "ResponseBody": "{\r\n \"startTime\": \"2017-03-16T16:56:28.4148814-07:00\",\r\n \"status\": \"InProgress\",\r\n \"name\": \"651ef5ea-72ab-4ab9-b3a7-cea66b5065ac\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Mar 2017 00:03:03 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-served-by": [ + "9bcaa9de-92b1-485f-8528-dfb04fe7611e_131330648587132454" + ], + "x-ms-request-id": [ + "4bb6fdc9-26b0-46e4-94cf-da639b072114" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14980" + ], + "x-ms-correlation-request-id": [ + "e2c04aaf-dd63-4ccb-9900-8a9b8f0024aa" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170317T000304Z:e2c04aaf-dd63-4ccb-9900-8a9b8f0024aa" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Compute/locations/southeastasia/operations/651ef5ea-72ab-4ab9-b3a7-cea66b5065ac?api-version=2016-04-30-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9sb2NhdGlvbnMvc291dGhlYXN0YXNpYS9vcGVyYXRpb25zLzY1MWVmNWVhLTcyYWItNGFiOS1iM2E3LWNlYTY2YjUwNjVhYz9hcGktdmVyc2lvbj0yMDE2LTA0LTMwLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Rest.ClientRuntime.E2E.Tests.TestAssets.MyComputeClient/1.0.0" + ] + }, + "ResponseBody": "{\r\n \"startTime\": \"2017-03-16T16:56:28.4148814-07:00\",\r\n \"status\": \"InProgress\",\r\n \"name\": \"651ef5ea-72ab-4ab9-b3a7-cea66b5065ac\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Mar 2017 00:03:34 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-served-by": [ + "9bcaa9de-92b1-485f-8528-dfb04fe7611e_131330648587132454" + ], + "x-ms-request-id": [ + "90b58d86-3461-4c09-bcda-db190c4db4fb" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14979" + ], + "x-ms-correlation-request-id": [ + "3cf79597-925c-4a47-9a8c-058a2a7b1ec2" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170317T000335Z:3cf79597-925c-4a47-9a8c-058a2a7b1ec2" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Compute/locations/southeastasia/operations/651ef5ea-72ab-4ab9-b3a7-cea66b5065ac?api-version=2016-04-30-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9sb2NhdGlvbnMvc291dGhlYXN0YXNpYS9vcGVyYXRpb25zLzY1MWVmNWVhLTcyYWItNGFiOS1iM2E3LWNlYTY2YjUwNjVhYz9hcGktdmVyc2lvbj0yMDE2LTA0LTMwLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Rest.ClientRuntime.E2E.Tests.TestAssets.MyComputeClient/1.0.0" + ] + }, + "ResponseBody": "{\r\n \"startTime\": \"2017-03-16T16:56:28.4148814-07:00\",\r\n \"status\": \"InProgress\",\r\n \"name\": \"651ef5ea-72ab-4ab9-b3a7-cea66b5065ac\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Mar 2017 00:04:05 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-served-by": [ + "9bcaa9de-92b1-485f-8528-dfb04fe7611e_131330648587132454" + ], + "x-ms-request-id": [ + "48c20867-e392-473d-ba42-d625f9142763" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14978" + ], + "x-ms-correlation-request-id": [ + "f20425b3-6ed0-4a54-b2b7-b9e8ac7c6da1" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170317T000405Z:f20425b3-6ed0-4a54-b2b7-b9e8ac7c6da1" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Compute/locations/southeastasia/operations/651ef5ea-72ab-4ab9-b3a7-cea66b5065ac?api-version=2016-04-30-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9sb2NhdGlvbnMvc291dGhlYXN0YXNpYS9vcGVyYXRpb25zLzY1MWVmNWVhLTcyYWItNGFiOS1iM2E3LWNlYTY2YjUwNjVhYz9hcGktdmVyc2lvbj0yMDE2LTA0LTMwLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Rest.ClientRuntime.E2E.Tests.TestAssets.MyComputeClient/1.0.0" + ] + }, + "ResponseBody": "{\r\n \"startTime\": \"2017-03-16T16:56:28.4148814-07:00\",\r\n \"endTime\": \"2017-03-16T17:04:22.555515-07:00\",\r\n \"status\": \"Succeeded\",\r\n \"name\": \"651ef5ea-72ab-4ab9-b3a7-cea66b5065ac\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Mar 2017 00:04:35 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-served-by": [ + "9bcaa9de-92b1-485f-8528-dfb04fe7611e_131330648587132454" + ], + "x-ms-request-id": [ + "5946f9f6-ec7f-4f65-9d9f-fd56989ddcfb" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14977" + ], + "x-ms-correlation-request-id": [ + "49830dd2-a95d-4a7d-9f85-1496a0e42411" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170317T000435Z:49830dd2-a95d-4a7d-9f85-1496a0e42411" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/e2etests-res-f978ade9?api-version=2015-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Jlc291cmNlZ3JvdXBzL2UyZXRlc3RzLXJlcy1mOTc4YWRlOT9hcGktdmVyc2lvbj0yMDE1LTExLTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ce8c3070-212e-4b7d-839b-ea0921f4388b" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0-preview" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Mar 2017 00:04:44 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1FMkVURVNUUzoyRFJFUzoyREY5NzhBREU5LVNPVVRIRUFTVEFTSUEiLCJqb2JMb2NhdGlvbiI6InNvdXRoZWFzdGFzaWEifQ?api-version=2015-11-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "8da806c4-d31b-4908-aa26-b99e42bb3fbb" + ], + "x-ms-correlation-request-id": [ + "8da806c4-d31b-4908-aa26-b99e42bb3fbb" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170317T000445Z:8da806c4-d31b-4908-aa26-b99e42bb3fbb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1FMkVURVNUUzoyRFJFUzoyREY5NzhBREU5LVNPVVRIRUFTVEFTSUEiLCJqb2JMb2NhdGlvbiI6InNvdXRoZWFzdGFzaWEifQ?api-version=2015-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFGTWtWVVJWTlVVem95UkZKRlV6b3lSRVk1TnpoQlJFVTVMVk5QVlZSSVJVRlRWRUZUU1VFaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5OdmRYUm9aV0Z6ZEdGemFXRWlmUT9hcGktdmVyc2lvbj0yMDE1LTExLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0-preview" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Mar 2017 00:05:15 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1FMkVURVNUUzoyRFJFUzoyREY5NzhBREU5LVNPVVRIRUFTVEFTSUEiLCJqb2JMb2NhdGlvbiI6InNvdXRoZWFzdGFzaWEifQ?api-version=2015-11-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-request-id": [ + "4847ea88-f6f6-4206-8004-4dc715ace10d" + ], + "x-ms-correlation-request-id": [ + "4847ea88-f6f6-4206-8004-4dc715ace10d" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170317T000515Z:4847ea88-f6f6-4206-8004-4dc715ace10d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1FMkVURVNUUzoyRFJFUzoyREY5NzhBREU5LVNPVVRIRUFTVEFTSUEiLCJqb2JMb2NhdGlvbiI6InNvdXRoZWFzdGFzaWEifQ?api-version=2015-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFGTWtWVVJWTlVVem95UkZKRlV6b3lSRVk1TnpoQlJFVTVMVk5QVlZSSVJVRlRWRUZUU1VFaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5OdmRYUm9aV0Z6ZEdGemFXRWlmUT9hcGktdmVyc2lvbj0yMDE1LTExLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0-preview" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Mar 2017 00:05:45 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1FMkVURVNUUzoyRFJFUzoyREY5NzhBREU5LVNPVVRIRUFTVEFTSUEiLCJqb2JMb2NhdGlvbiI6InNvdXRoZWFzdGFzaWEifQ?api-version=2015-11-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-request-id": [ + "015b24d3-8371-4102-98de-0cad22d6a9a0" + ], + "x-ms-correlation-request-id": [ + "015b24d3-8371-4102-98de-0cad22d6a9a0" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170317T000546Z:015b24d3-8371-4102-98de-0cad22d6a9a0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1FMkVURVNUUzoyRFJFUzoyREY5NzhBREU5LVNPVVRIRUFTVEFTSUEiLCJqb2JMb2NhdGlvbiI6InNvdXRoZWFzdGFzaWEifQ?api-version=2015-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFGTWtWVVJWTlVVem95UkZKRlV6b3lSRVk1TnpoQlJFVTVMVk5QVlZSSVJVRlRWRUZUU1VFaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5OdmRYUm9aV0Z6ZEdGemFXRWlmUT9hcGktdmVyc2lvbj0yMDE1LTExLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0-preview" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Mar 2017 00:06:16 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1FMkVURVNUUzoyRFJFUzoyREY5NzhBREU5LVNPVVRIRUFTVEFTSUEiLCJqb2JMb2NhdGlvbiI6InNvdXRoZWFzdGFzaWEifQ?api-version=2015-11-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-request-id": [ + "3e93bfda-79e1-4a26-bc05-327ea68bf42e" + ], + "x-ms-correlation-request-id": [ + "3e93bfda-79e1-4a26-bc05-327ea68bf42e" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170317T000617Z:3e93bfda-79e1-4a26-bc05-327ea68bf42e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1FMkVURVNUUzoyRFJFUzoyREY5NzhBREU5LVNPVVRIRUFTVEFTSUEiLCJqb2JMb2NhdGlvbiI6InNvdXRoZWFzdGFzaWEifQ?api-version=2015-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFGTWtWVVJWTlVVem95UkZKRlV6b3lSRVk1TnpoQlJFVTVMVk5QVlZSSVJVRlRWRUZUU1VFaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5OdmRYUm9aV0Z6ZEdGemFXRWlmUT9hcGktdmVyc2lvbj0yMDE1LTExLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0-preview" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Mar 2017 00:06:47 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1FMkVURVNUUzoyRFJFUzoyREY5NzhBREU5LVNPVVRIRUFTVEFTSUEiLCJqb2JMb2NhdGlvbiI6InNvdXRoZWFzdGFzaWEifQ?api-version=2015-11-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14994" + ], + "x-ms-request-id": [ + "5cd1162f-9fff-4a4e-83e8-267974c73542" + ], + "x-ms-correlation-request-id": [ + "5cd1162f-9fff-4a4e-83e8-267974c73542" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170317T000647Z:5cd1162f-9fff-4a4e-83e8-267974c73542" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1FMkVURVNUUzoyRFJFUzoyREY5NzhBREU5LVNPVVRIRUFTVEFTSUEiLCJqb2JMb2NhdGlvbiI6InNvdXRoZWFzdGFzaWEifQ?api-version=2015-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFGTWtWVVJWTlVVem95UkZKRlV6b3lSRVk1TnpoQlJFVTVMVk5QVlZSSVJVRlRWRUZUU1VFaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5OdmRYUm9aV0Z6ZEdGemFXRWlmUT9hcGktdmVyc2lvbj0yMDE1LTExLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0-preview" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Mar 2017 00:07:17 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1FMkVURVNUUzoyRFJFUzoyREY5NzhBREU5LVNPVVRIRUFTVEFTSUEiLCJqb2JMb2NhdGlvbiI6InNvdXRoZWFzdGFzaWEifQ?api-version=2015-11-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14993" + ], + "x-ms-request-id": [ + "086a9d52-cdf1-408c-96b6-a105615e041c" + ], + "x-ms-correlation-request-id": [ + "086a9d52-cdf1-408c-96b6-a105615e041c" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170317T000718Z:086a9d52-cdf1-408c-96b6-a105615e041c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1FMkVURVNUUzoyRFJFUzoyREY5NzhBREU5LVNPVVRIRUFTVEFTSUEiLCJqb2JMb2NhdGlvbiI6InNvdXRoZWFzdGFzaWEifQ?api-version=2015-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFGTWtWVVJWTlVVem95UkZKRlV6b3lSRVk1TnpoQlJFVTVMVk5QVlZSSVJVRlRWRUZUU1VFaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5OdmRYUm9aV0Z6ZEdGemFXRWlmUT9hcGktdmVyc2lvbj0yMDE1LTExLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0-preview" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Mar 2017 00:07:47 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1FMkVURVNUUzoyRFJFUzoyREY5NzhBREU5LVNPVVRIRUFTVEFTSUEiLCJqb2JMb2NhdGlvbiI6InNvdXRoZWFzdGFzaWEifQ?api-version=2015-11-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14992" + ], + "x-ms-request-id": [ + "79346707-4bbd-41dc-bdf9-940ad45fe95c" + ], + "x-ms-correlation-request-id": [ + "79346707-4bbd-41dc-bdf9-940ad45fe95c" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170317T000748Z:79346707-4bbd-41dc-bdf9-940ad45fe95c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1FMkVURVNUUzoyRFJFUzoyREY5NzhBREU5LVNPVVRIRUFTVEFTSUEiLCJqb2JMb2NhdGlvbiI6InNvdXRoZWFzdGFzaWEifQ?api-version=2015-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFGTWtWVVJWTlVVem95UkZKRlV6b3lSRVk1TnpoQlJFVTVMVk5QVlZSSVJVRlRWRUZUU1VFaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5OdmRYUm9aV0Z6ZEdGemFXRWlmUT9hcGktdmVyc2lvbj0yMDE1LTExLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0-preview" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Mar 2017 00:08:19 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1FMkVURVNUUzoyRFJFUzoyREY5NzhBREU5LVNPVVRIRUFTVEFTSUEiLCJqb2JMb2NhdGlvbiI6InNvdXRoZWFzdGFzaWEifQ?api-version=2015-11-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14991" + ], + "x-ms-request-id": [ + "1ff39c4f-3348-4087-84e3-ac3adc584194" + ], + "x-ms-correlation-request-id": [ + "1ff39c4f-3348-4087-84e3-ac3adc584194" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170317T000819Z:1ff39c4f-3348-4087-84e3-ac3adc584194" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1FMkVURVNUUzoyRFJFUzoyREY5NzhBREU5LVNPVVRIRUFTVEFTSUEiLCJqb2JMb2NhdGlvbiI6InNvdXRoZWFzdGFzaWEifQ?api-version=2015-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFGTWtWVVJWTlVVem95UkZKRlV6b3lSRVk1TnpoQlJFVTVMVk5QVlZSSVJVRlRWRUZUU1VFaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5OdmRYUm9aV0Z6ZEdGemFXRWlmUT9hcGktdmVyc2lvbj0yMDE1LTExLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0-preview" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Mar 2017 00:08:49 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1FMkVURVNUUzoyRFJFUzoyREY5NzhBREU5LVNPVVRIRUFTVEFTSUEiLCJqb2JMb2NhdGlvbiI6InNvdXRoZWFzdGFzaWEifQ?api-version=2015-11-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14990" + ], + "x-ms-request-id": [ + "4c5d4717-627c-44e1-8450-f9d53bd0541a" + ], + "x-ms-correlation-request-id": [ + "4c5d4717-627c-44e1-8450-f9d53bd0541a" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170317T000850Z:4c5d4717-627c-44e1-8450-f9d53bd0541a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1FMkVURVNUUzoyRFJFUzoyREY5NzhBREU5LVNPVVRIRUFTVEFTSUEiLCJqb2JMb2NhdGlvbiI6InNvdXRoZWFzdGFzaWEifQ?api-version=2015-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFGTWtWVVJWTlVVem95UkZKRlV6b3lSRVk1TnpoQlJFVTVMVk5QVlZSSVJVRlRWRUZUU1VFaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5OdmRYUm9aV0Z6ZEdGemFXRWlmUT9hcGktdmVyc2lvbj0yMDE1LTExLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0-preview" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Mar 2017 00:09:20 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1FMkVURVNUUzoyRFJFUzoyREY5NzhBREU5LVNPVVRIRUFTVEFTSUEiLCJqb2JMb2NhdGlvbiI6InNvdXRoZWFzdGFzaWEifQ?api-version=2015-11-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14989" + ], + "x-ms-request-id": [ + "1cbeb2c6-f5b4-48ef-bdd6-fcf7117da560" + ], + "x-ms-correlation-request-id": [ + "1cbeb2c6-f5b4-48ef-bdd6-fcf7117da560" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170317T000920Z:1cbeb2c6-f5b4-48ef-bdd6-fcf7117da560" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1FMkVURVNUUzoyRFJFUzoyREY5NzhBREU5LVNPVVRIRUFTVEFTSUEiLCJqb2JMb2NhdGlvbiI6InNvdXRoZWFzdGFzaWEifQ?api-version=2015-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFGTWtWVVJWTlVVem95UkZKRlV6b3lSRVk1TnpoQlJFVTVMVk5QVlZSSVJVRlRWRUZUU1VFaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5OdmRYUm9aV0Z6ZEdGemFXRWlmUT9hcGktdmVyc2lvbj0yMDE1LTExLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0-preview" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Mar 2017 00:09:50 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1FMkVURVNUUzoyRFJFUzoyREY5NzhBREU5LVNPVVRIRUFTVEFTSUEiLCJqb2JMb2NhdGlvbiI6InNvdXRoZWFzdGFzaWEifQ?api-version=2015-11-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14988" + ], + "x-ms-request-id": [ + "c3c4265e-b0e0-43de-83bf-c19017d17cc0" + ], + "x-ms-correlation-request-id": [ + "c3c4265e-b0e0-43de-83bf-c19017d17cc0" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170317T000951Z:c3c4265e-b0e0-43de-83bf-c19017d17cc0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1FMkVURVNUUzoyRFJFUzoyREY5NzhBREU5LVNPVVRIRUFTVEFTSUEiLCJqb2JMb2NhdGlvbiI6InNvdXRoZWFzdGFzaWEifQ?api-version=2015-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFGTWtWVVJWTlVVem95UkZKRlV6b3lSRVk1TnpoQlJFVTVMVk5QVlZSSVJVRlRWRUZUU1VFaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5OdmRYUm9aV0Z6ZEdGemFXRWlmUT9hcGktdmVyc2lvbj0yMDE1LTExLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0-preview" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Mar 2017 00:10:20 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1FMkVURVNUUzoyRFJFUzoyREY5NzhBREU5LVNPVVRIRUFTVEFTSUEiLCJqb2JMb2NhdGlvbiI6InNvdXRoZWFzdGFzaWEifQ?api-version=2015-11-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14986" + ], + "x-ms-request-id": [ + "ada18e46-d478-460b-b7ab-e5d66eb2ae0f" + ], + "x-ms-correlation-request-id": [ + "ada18e46-d478-460b-b7ab-e5d66eb2ae0f" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170317T001021Z:ada18e46-d478-460b-b7ab-e5d66eb2ae0f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1FMkVURVNUUzoyRFJFUzoyREY5NzhBREU5LVNPVVRIRUFTVEFTSUEiLCJqb2JMb2NhdGlvbiI6InNvdXRoZWFzdGFzaWEifQ?api-version=2015-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFGTWtWVVJWTlVVem95UkZKRlV6b3lSRVk1TnpoQlJFVTVMVk5QVlZSSVJVRlRWRUZUU1VFaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5OdmRYUm9aV0Z6ZEdGemFXRWlmUT9hcGktdmVyc2lvbj0yMDE1LTExLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0-preview" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Mar 2017 00:10:52 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1FMkVURVNUUzoyRFJFUzoyREY5NzhBREU5LVNPVVRIRUFTVEFTSUEiLCJqb2JMb2NhdGlvbiI6InNvdXRoZWFzdGFzaWEifQ?api-version=2015-11-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14985" + ], + "x-ms-request-id": [ + "d9a6211d-bb7f-49be-b893-a66712b92e62" + ], + "x-ms-correlation-request-id": [ + "d9a6211d-bb7f-49be-b893-a66712b92e62" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170317T001052Z:d9a6211d-bb7f-49be-b893-a66712b92e62" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1FMkVURVNUUzoyRFJFUzoyREY5NzhBREU5LVNPVVRIRUFTVEFTSUEiLCJqb2JMb2NhdGlvbiI6InNvdXRoZWFzdGFzaWEifQ?api-version=2015-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFGTWtWVVJWTlVVem95UkZKRlV6b3lSRVk1TnpoQlJFVTVMVk5QVlZSSVJVRlRWRUZUU1VFaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5OdmRYUm9aV0Z6ZEdGemFXRWlmUT9hcGktdmVyc2lvbj0yMDE1LTExLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.24214.01", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0-preview" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 17 Mar 2017 00:11:22 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14984" + ], + "x-ms-request-id": [ + "f8e8146d-2f3a-427f-99f7-ce6d5326c04e" + ], + "x-ms-correlation-request-id": [ + "f8e8146d-2f3a-427f-99f7-ce6d5326c04e" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20170317T001122Z:f8e8146d-2f3a-427f-99f7-ce6d5326c04e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "CreateDefaultVMInput": [ + "Microsoft.Compute/virtualMachines9370" + ] + }, + "Variables": { + "SubscriptionId": "2c224e7e-3ef5-431d-a57b-e71f4662e3a6" + } +} \ No newline at end of file diff --git a/src/ClientRuntime/Microsoft.Rest.ClientRuntime.E2E.Tests/TestAssets/ExtendingTypes.cs b/src/ClientRuntime/Microsoft.Rest.ClientRuntime.E2E.Tests/TestAssets/ExtendingTypes.cs new file mode 100644 index 000000000000..1a57dbb86cd6 --- /dev/null +++ b/src/ClientRuntime/Microsoft.Rest.ClientRuntime.E2E.Tests/TestAssets/ExtendingTypes.cs @@ -0,0 +1,69 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. + +namespace Microsoft.Rest.ClientRuntime.E2E.Tests.TestAssets +{ + using Microsoft.Azure.Management.Compute; + using Microsoft.Azure.Management.Compute.Models; + + /// + /// Class to extend VM class + /// This class is specifically meant to assign/reinitialize/set protected members + /// + public class MyVm : Microsoft.Azure.Management.Compute.Models.VirtualMachine + { + /// + /// Constructor for creating MyVm + /// + /// + public MyVm(VirtualMachine vm) + : base(vm.Location, vm.Id, vm.Name, vm.Type, vm.Tags, vm.Plan, vm.HardwareProfile, vm.StorageProfile, vm.OsProfile, + vm.NetworkProfile, vm.DiagnosticsProfile, vm.AvailabilitySet, vm.ProvisioningState, vm.InstanceView, + vm.LicenseType, vm.VmId, vm.Resources) + { + + } + + /// + /// Method to update protected properties + /// + /// + public void UpdateVm(string newVmId) + { + VmId = newVmId; + } + } + + + /// + /// Extending Compute Client + /// This client is used to capture Request content sent over wire using user defined delegates + /// + public class MyComputeClient : ComputeManagementClient + { + public MyComputeClient(System.Uri baseUri, + System.Net.Http.HttpClientHandler rootHandler, + params System.Net.Http.DelegatingHandler[] handlers) : base(baseUri, rootHandler, handlers) + { + + } + + public MyComputeClient(System.Uri baseUri, + ServiceClientCredentials credentials, + params System.Net.Http.DelegatingHandler[] handlers) : base(baseUri, credentials, handlers) + { + + } + + /// + /// Gets Request contet for the request that was sent by the client + /// + /// + public string GetRequestContent() + { + RecordedDelegatingHandler handle = this.FirstMessageHandler as RecordedDelegatingHandler; + string cont = handle.RequestContent; + return cont; + } + } +} diff --git a/src/ClientRuntime/Microsoft.Rest.ClientRuntime.E2E.Tests/TestAssets/RecordedDelegatingHandler.cs b/src/ClientRuntime/Microsoft.Rest.ClientRuntime.E2E.Tests/TestAssets/RecordedDelegatingHandler.cs new file mode 100644 index 000000000000..98c7f6648b70 --- /dev/null +++ b/src/ClientRuntime/Microsoft.Rest.ClientRuntime.E2E.Tests/TestAssets/RecordedDelegatingHandler.cs @@ -0,0 +1,82 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. + +namespace Microsoft.Rest.ClientRuntime.E2E.Tests.TestAssets +{ + using System; + using System.Net; + using System.Net.Http; + using System.Net.Http.Headers; + using System.Threading.Tasks; + + /// + /// Delegating handler for test purpose + /// + public class RecordedDelegatingHandler : DelegatingHandler + { + private readonly HttpResponseMessage _response; + + public RecordedDelegatingHandler() + { + StatusCodeToReturn = HttpStatusCode.Created; + } + + public RecordedDelegatingHandler(HttpResponseMessage response) + { + StatusCodeToReturn = HttpStatusCode.Created; + _response = response; + } + + public HttpContentHeaders ContentHeaders { get; private set; } + + public bool IsPassThrough { get; set; } + + public HttpMethod Method { get; private set; } + + public string RequestContent { get; private set; } + + public HttpRequestHeaders RequestHeaders { get; private set; } + + public HttpStatusCode StatusCodeToReturn { get; set; } + + public Uri Uri { get; private set; } + + protected override async Task SendAsync(HttpRequestMessage request, + System.Threading.CancellationToken cancellationToken) + { + // Save request + if (request.Content == null) + { + RequestContent = string.Empty; + } + else + { + RequestContent = await request.Content.ReadAsStringAsync(); + } + RequestHeaders = request.Headers; + if (request.Content != null) + { + ContentHeaders = request.Content.Headers; + } + Method = request.Method; + Uri = request.RequestUri; + + // Prepare response + if (IsPassThrough) + { + return await base.SendAsync(request, cancellationToken); + } + + if (_response != null) + { + return _response; + } + else + { + var response = new HttpResponseMessage(StatusCodeToReturn); + response.Content = new StringContent(""); + return response; + } + } + } +} diff --git a/src/ClientRuntime/Microsoft.Rest.ClientRuntime.E2E.Tests/project.json b/src/ClientRuntime/Microsoft.Rest.ClientRuntime.E2E.Tests/project.json new file mode 100644 index 000000000000..c6593b477443 --- /dev/null +++ b/src/ClientRuntime/Microsoft.Rest.ClientRuntime.E2E.Tests/project.json @@ -0,0 +1,56 @@ +{ + "version": "1.0.0-*", + "description": "Microsoft Rest ClientRuntime End to End Tests", + "authors": [ "Microsoft Corporation" ], + + "packOptions": { + "summary": "TestFramework.Tests Class Library", + "tags": [ "" ], + "projectUrl": "", + "licenseUrl": "" + }, + + "buildOptions": { + "delaySign": true, + "publicSign": false, + "keyFile": "../../../tools/MSSharedLibKey.snk", + "compile": "../../../tools/DisableTestRunParallel.cs" + }, + + "testRunner": "xunit", + "frameworks": { + "netcoreapp1.0": { + "imports": [ "dnxcore50", "portable-net45+win8" ], + "dependencies": { + } + } + }, + "dependencies": { + "Microsoft.NETCore.App": { + "type": "platform", + "version": "1.0.0" + }, + "Microsoft.Azure.Test.HttpRecorder": { + "target": "project", + "type": "build" + }, + "Microsoft.Rest.ClientRuntime.Azure.TestFramework": { + "target": "project", + "type": "build" + }, + "Microsoft.Rest.ClientRuntime": { + "target": "project", + "type": "build" + }, + "Microsoft.Rest.ClientRuntime.Azure": { + "target": "project", + "type": "build" + }, + "xunit": "2.2.0-beta4-build3444", + "dotnet-test-xunit": "2.2.0-preview2-build1029", + "Microsoft.Azure.ResourceManager": "1.0.0-preview", + "Microsoft.Azure.Management.Storage": "4.1.0-preview", + "Microsoft.Azure.Management.Compute": "14.1.0-prerelease", + "Microsoft.Azure.Management.Network": "[5.0.1-preview,7.0)" + } +} diff --git a/src/ClientRuntime/global.json b/src/ClientRuntime/global.json index 25fb11a0a6d5..cd6189215a08 100644 --- a/src/ClientRuntime/global.json +++ b/src/ClientRuntime/global.json @@ -1,5 +1,3 @@ { - "projects": [ "Microsoft.Rest.ClientRuntime", "Microsoft.Rest.ClientRuntime.Azure.Authentication", "Microsoft.Rest.ClientRuntime.Etw", - "Microsoft.Rest.ClientRuntime.Tests", "Microsoft.Rest.ClientRuntime.Azure", "Microsoft.Rest.ClientRuntime.Azure.Tests", - "Microsoft.Rest.ClientRuntime.Log4Net", "Microsoft.Rest.ClientRuntime.Tracing.Tests" ] + "projects": [ "../TestFramework" ] } \ No newline at end of file